Fix strtod ("NAN(I)") in Turkish locales (bug 19266).
[glibc.git] / ChangeLog
blob78ba1f9c191a77c18e6b9223c6aacb39f24c2eb7
1 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #19266]
4         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5         upper case and lower case letters inside NAN(), not using TOLOWER.
6         * stdlib/tst-strtod-nan-locale-main.c: New file.
7         * stdlib/tst-strtod-nan-locale.c: Likewise.
8         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10         Depend on $(gen-locales).
11         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15         Depend on $(gen-locales).
16         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
22         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24         __finitel, __isinfl, and __isnanl.
25         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26         Likewise.
27         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
29         __finitel.
30         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31         Likewise.
32         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
34 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
36         * malloc/memusage.c (me): Remove redundant getenv call.
38 2015-10-24  Florian Weimer  <fweimer@redhat.com>
40         [BZ #19143]
41         [BZ #19164]
42         * nptl/check-cpuset.h: Remove.
43         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
44         Remove CPU set size check.
45         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
46         Likewise.
47         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
48         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
49         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
50         (__pthread_setaffinity_new): Remove CPU set size check.
51         * sysdeps/unix/sysv/linux/sched_setaffinity.c
52         (__kernel_cpumask_size): Remove.
53         (__sched_setaffinity_new): Remove CPU set size check.
54         * manual/threads.texi (Default Thread Attributes): Remove stale
55         reference to check_cpuset_attr, determine_cpumask_size in comment.
56         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
57         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
58         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
59         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
60         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
61         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
62         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
63         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
64         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
65         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
66         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
67         skeleton test file.
68         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
69         tst-affinity-pid.
71 2015-11-24  Florian Weimer  <fweimer@redhat.com>
73         * scripts/update-abilist.sh: New file.
74         * Makefile (+subdir_targets): Add subdir_update-all-abi.
75         * Makerules (update-all-abi-%, update-all-abi)
76         (subdir_update-all-abi): New targets.
77         * elf/Makefile (update-all-abi): New target.
79 2015-11-24  Florian Weimer  <fweimer@redhat.com>
81         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
82         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
83         (__libc_lock_define_initialized): Use it.
84         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
85         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
86         * malloc/malloc.c (main_arena): Likewise.
87         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
88         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
90 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
92         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
93         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
94         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
95         (PTRACE_O_MASK): Update value.
96         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
97         New value in enum __ptrace_setoptions.
98         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
99         (PTRACE_O_MASK): Update value.
100         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
101         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
102         (PTRACE_O_MASK): Update value.
103         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
104         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
105         (PTRACE_O_MASK): Update value.
106         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
107         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
108         (PTRACE_O_MASK): Update value.
109         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
110         New value in enum __ptrace_setoptions.
111         (PTRACE_O_MASK): Update value.
112         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
113         New value in enum __ptrace_setoptions.
114         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
115         (PTRACE_O_MASK): Update value.
117         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
118         New macro.
119         (PACKET_AUXDATA): Likewise.
120         (PACKET_ORIGDEV): Likewise.
121         (PACKET_VERSION): Likewise.
122         (PACKET_HDRLEN): Likewise.
123         (PACKET_RESERVE): Likewise.
124         (PACKET_TX_RING): Likewise.
125         (PACKET_LOSS): Likewise.
126         (PACKET_VNET_HDR): Likewise.
127         (PACKET_TX_TIMESTAMP): Likewise.
128         (PACKET_TIMESTAMP): Likewise.
129         (PACKET_FANOUT): Likewise.
130         (PACKET_TX_HAS_OFF): Likewise.
131         (PACKET_QDISC_BYPASS): Likewise.
132         (PACKET_ROLLOVER_STATS): Likewise.
133         (PACKET_FANOUT_DATA): Likewise.
134         (PACKET_MR_UNICAST): Likewise.
136         [BZ #19242]
137         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
138         (TOUPPER): Likewise.
139         * stdlib/tst-strtol-locale-main.c: New file.
140         * stdlib/tst-strtol-locale.c: Likewise.
141         * stdlib/Makefile (tests): Add tst-strtol-locale.
142         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
143         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
144         Depend on $(gen-locales).
145         * wcsmbs/tst-wcstol-locale.c: New file.
146         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
147         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
148         tr_TR.ISO-8859-9.
149         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
150         Depend on $(gen-locales).
152 2015-11-20  Roland McGrath  <roland@hack.frob.com>
154         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
155         __glibc_likely instead of __builtin_expect.  After falling back to
156         dyncode_create in a non-ET_DYN case, use the allocate_code_data
157         system interface to register the code pages as occupied.
159 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
161         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
162         [!ARM_MATH_PRIVATE_H].
163         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
164         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
165         [!HPPA_MATH_PRIVATE_H].
166         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
167         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
168         to [!I386_MATH_PRIVATE_H].
169         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
170         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
171         Change guard to [!M68K_MATH_PRIVATE_H].
172         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
173         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
174         guard to [!MICROBLAZE_MATH_PRIVATE_H].
175         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
176         macro.
177         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
178         [!MIPS_MATH_PRIVATE_H].
179         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
180         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
181         [!NIO2_MATH_PRIVATE_H].
182         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
183         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
184         [!TILE_MATH_PRIVATE_H].
185         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
187         [BZ #15421]
188         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
189         initialize with 0 and define as weak alias of __signgam.
190         * include/math.h [!_ISOMAC] (__signgam): Declare.
191         * math/Makefile (libm-calls): Add w_lgamma_compat.
192         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
193         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
194         test-signgam-ullong-init.
195         (tests-static): Add test-signgam-uchar-static,
196         test-signgam-uchar-init-static, test-signgam-uint-static,
197         test-signgam-uint-init-static, test-signgam-ullong-static and
198         test-signgam-ullong-init-static.
199         (CFLAGS-test-signgam-uchar.c): New variable.
200         (CFLAGS-test-signgam-uchar-init.c): Likewise.
201         (CFLAGS-test-signgam-uchar-static.c): Likewise.
202         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
203         (CFLAGS-test-signgam-uint.c): Likewise.
204         (CFLAGS-test-signgam-uint-init.c): Likewise.
205         (CFLAGS-test-signgam-uint-static.c): Likewise.
206         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
207         (CFLAGS-test-signgam-ullong.c): Likewise.
208         (CFLAGS-test-signgam-ullong-init.c): Likewise.
209         (CFLAGS-test-signgam-ullong-static.c): Likewise.
210         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
211         * math/Versions (libm): Add GLIBC_2.23.
212         * math/lgamma-compat.h: New file.
213         * math/test-signgam-main.c: Likewise.
214         * math/test-signgam-uchar-init-static.c: Likewise.
215         * math/test-signgam-uchar-init.c: Likewise.
216         * math/test-signgam-uchar-static.c: Likewise.
217         * math/test-signgam-uchar.c: Likewise.
218         * math/test-signgam-uint-init-static.c: Likewise.
219         * math/test-signgam-uint-init.c: Likewise.
220         * math/test-signgam-uint-static.c: Likewise.
221         * math/test-signgam-uint.c: Likewise.
222         * math/test-signgam-ullong-init-static.c: Likewise.
223         * math/test-signgam-ullong-init.c: Likewise.
224         * math/test-signgam-ullong-static.c: Likewise.
225         * math/test-signgam-ullong.c: Likewise.
226         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
227         wrapper of w_lgamma_main.c.
228         * math/w_lgamma_compat.c: New file.
229         * math/w_lgamma_compatf.c: Likewise.
230         * math/w_lgamma_compatl.c: Likewise.
231         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
232         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
233         defining compatibility symbols.
234         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
235         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
236         wrapper of w_lgammaf_main.c.
237         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
238         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
239         defining compatibility symbols.
240         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
241         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
242         wrapper of w_lgammal_main.c.
243         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
244         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
245         defining compatibility symbols.
246         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
247         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
248         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
249         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
250         <lgamma-compat.h>.
251         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
252         (__ieee754_gamma): Define as alias.
253         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
254         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
255         <lgamma-compat.h>.
256         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
257         (__ieee754_gammaf): Define as alias.
258         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
259         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
260         <lgamma-compat.h>.
261         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
262         (__ieee754_gammal): Define as alias.
263         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
264         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
265         <math/w_lgamma_compat.c>.
266         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
267         Define as alias of __lgamma_compat and use in defining lgammal.
268         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
269         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
270         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
271         (USE_AS_COMPAT): New macro.
272         (LGAMMA_OLD_VER): Undefine and redefine.
273         (lgammal): Do not define here.
274         (gammal): Only define here if [GAMMA_ALIAS].
275         * conform/linknamespace.pl (@whitelist): Remove signgam.
276         * sysdeps/nacl/libm.abilist: Update.
277         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
278         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
279         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
280         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
281         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
282         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
283         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
284         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
285         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
286         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
287         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
288         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
290         Likewise.
291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
292         Likewise.
293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
294         Likewise.
295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
296         Likewise.
297         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
298         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
299         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
300         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
301         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
303         Likewise.
304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
305         Likewise.
306         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
307         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
308         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
310 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
312         [BZ #16364]
313         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
314         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
316 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
318         * sysdeps/s390/fpu/bits/mathinline.h:
319         Use __asm__ [__volatile__] instead of asm [volatile].
320         * sysdeps/s390/abort-instr.h: Likewise.
321         * sysdeps/s390/atomic-machine.h: Likewise.
322         * sysdeps/s390/bits/string.h: Likewise.
323         * sysdeps/s390/dl-tls.h: Likewise.
324         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
325         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
326         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
327         * sysdeps/s390/fpu/fesetround.c: Likewise.
328         * sysdeps/s390/fpu/fpu_control.h: Likewise.
329         * sysdeps/s390/fpu/s_fma.c: Likewise.
330         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
331         * sysdeps/s390/memusage.h: Likewise.
332         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
333         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
334         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
335         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
336         * sysdeps/s390/nptl/tls.h: Likewise.
337         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
338         * sysdeps/s390/s390-32/backtrace.c: Likewise.
339         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
340         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
341         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
342         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
343         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
344         * sysdeps/s390/s390-64/backtrace.c: Likewise.
345         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
346         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
347         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
348         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
349         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
350         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
351         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
352         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
353         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
354         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
355         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
356         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
357         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
358         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
359         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
361 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
362             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
364         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
365         Add lwarx hint, and use macro for acquire instruction.
366         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
367         Likewise.
368         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
369         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
370         update to use new atomic macros.
372 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
374         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
375         (__lll_trylock_elision): Fix setting of adapt_count.
376         * sysdeps/unix/sysv/linux/powerpc/htm.h
377         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
378         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
379         (_ABORT_SYSCALL): Renumber, and clarify definition.
380         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
382 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
384         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
385         after system headers to prevent MIN/MAX redefinition.  Define
386         HAVE_ALLOCA to preserve builtin alloca usage.
388 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
390         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
391         static and don't set or restore rounding.
392         (__cos)[IN_SINCOS]: Likewise.
393         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
394         (__sincos): Set and restore rounding mode.  Remove check for infinite
395         or NaN input.
397         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
399         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
400         as used.
402 2015-11-16  Florian Weimer  <fweimer@redhat.com>
404         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
406 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
408         * config.make.in (have-glob-dat-reloc): New.
409         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
410         target supports GLOB_DAT relocaton. AC_SUBST.
411         * configure: Regenerated.
412         * elf/Makefile (tests): Add tst-prelink.
413         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
414         (tst-prelink-ENV): New.
415         ($(objpfx)tst-prelink-conflict.out): Likewise.
416         ($(objpfx)tst-prelink-cmp.out): Likewise.
417         * sysdeps/x86/tst-prelink.c: Moved to ...
418         * elf/tst-prelink.c: Here.
419         * sysdeps/x86/tst-prelink.exp: Moved to ...
420         * elf/tst-prelink.exp: Here.
421         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
422         (tst-prelink-ENV): Removed.
423         ($(objpfx)tst-prelink-conflict.out): Likewise.
424         ($(objpfx)tst-prelink-cmp.out): Likewise.
425         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
427 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
429         [BZ #14551]
430         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
431         (__mpn_construct_long_double): If high part overflows to infinity,
432         set errno and recompute overflowed result of the correct sign.
433         * sysdeps/ieee754/ldbl-128ibm/Makefile
434         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
435         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
436         $(libm).
437         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
439 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
441         [BZ #15479]
442         [BZ #19238]
443         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
444         floating-point state after first operation on input.  Restore full
445         state rather than just rounding mode.
446         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
447         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
448         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
450         [BZ #19235]
451         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
452         add 0.5 to integer arguments.
453         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
454         Likewise.
455         (.LC2): New object.
457 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
459         * scripts/pylintrc (reports): Set to no.
461 2015-11-10  Roland McGrath  <roland@hack.frob.com>
463         * elf/dl-load.c (open_verify): Take new argument FD.
464         Skip __open call if passed FD is not -1.
465         (_dl_map_object, open_path): Update callers.
466         * elf/dl-sysdep-open.h: New file.
467         * elf/dl-load.c: Include it.
468         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
469         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
470         * sysdeps/nacl/dl-sysdep-open.h: New file.
471         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
472         from libc to rtld.
474 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
476         [BZ #19228]
477         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
478         and restore full floating-point state.
479         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
480         Likewise.
481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
482         Likewise.
483         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
484         Likewise.
485         * math/test-nearbyint-except-2.c: New file.
486         * math/Makefile (tests): Add test-nearbyint-except-2.
488 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
490         [BZ #19178]
491         * sysdeps/x86/Makefile (tests): Add tst-prelink.
492         (tst-prelink-ENV): New.
493         ($(objpfx)tst-prelink-conflict.out): Likewise.
494         ($(objpfx)tst-prelink-cmp.out): Likewise.
495         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
496         * sysdeps/x86/tst-prelink.c: New file.
497         * sysdeps/x86/tst-prelink.exp: Likewise.
499 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
501         * math/auto-libm-test-in: Add another test of pow.
502         * math/auto-libm-test-out: Regenerated.
503         * math/libm-test.inc (pow_test_data): Add another test.
505 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
507         [BZ #19219]
508         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
509         weak_alias to nearbyintl.
511 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
513         * sysdeps/aarch64/bits/string.h: New file.
514         (_STRING_ARCH_unaligned): Define.
516 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
518         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
519         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
520         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
521         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
524 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
526         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
527         for original name of the DSO.  Add it to the name list of the DSO
528         if it is actually given.
529         (_dl_map_object): Keep track of whether an audit module rewrote
530         the file name.  If yes, pass the original name to
531         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
532         debugging is enabled, log the change of the file name.
533         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
534         _dl_map_object_from_fd.
535         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
536         * elf/tst-audit11.c: New file
537         * elf/tst-auditmod11.c: New file.
538         * elf/tst-audit11mod1.c: New file.
539         * elf/tst-audit11mod2.c: New file.
540         * elf/tst-audit11mod2.map: New file.
541         * elf/tst-audit12.c: New file
542         * elf/tst-auditmod12.c: New file.
543         * elf/tst-audit12mod1.c: New file.
544         * elf/tst-audit12mod2.c: New file.
545         * elf/tst-audit12mod2.map: New file.
546         * elf/tst-audit12mod3.c: New file.
548 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
550         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
551         Don't create weak aliases,
552         because versioned symbols are created later.
553         * sysdeps/s390/s390-32/setjmp.S
554         (setjmp, _setjmp): Remove weak and rename to an unique name
555         in SHARED case due to existing versioned symbols.
556         * sysdeps/s390/s390-64/setjmp.S: Likewise.
557         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
558         (getcontext): Create weak alias only in non SHARED case.
559         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
561 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
563         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
564         (__ASSUME_*_SYSCALL) Define new macros.
565         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
566         Remove socketcall syscalls.
567         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
568         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
569         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
570         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
571         * sysdeps/unix/sysv/linux/send.c (__libc_send):
572         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
574 2015-11-09  Florian Weimer  <fweimer@redhat.com>
576         [BZ #12926]
577         Terminate process on invalid netlink response.
578         * sysdeps/unix/sysv/linux/netlinkaccess.h
579         (__netlink_assert_response): Declare.
580         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
581         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
582         (sysdep_routines): Add netlink_assert_response.
583         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
584         __netlink_assert_response.
585         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
586         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
587         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
588         __netlink_assert_response.
590 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
592         [BZ #19178]
593         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
594         (RTYPE_CLASS_PLT): Likewise.
595         (RTYPE_CLASS_COPY): Likewise.
596         (RTYPE_CLASS_TLS): Likewise.
597         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
598         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
599         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
600         DL_DEBUG_PRELINK.
602 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
604         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
605         calls with argument -0.5.
606         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
608         * configure.ac (libc_cv_z_nodelete): Remove configure test.
609         (libc_cv_z_nodlopen): Likewise.
610         (libc_cv_z_initfirst): Likewise.
611         * configure: Regenerated.
613 2015-11-06  Florian Weimer  <fweimer@redhat.com>
615         Simplify abilist format to be line-based.
616         * scripts/abilist.awk: Collect descriptors in the descs variable.
617         (emit): Write descs variable and sort it
618         externally, with sort.
619         * sysdeps/**/*.abilist: Convert to new format.
621 2015-11-06  Mark Wielaard  <mjw@redhat.com>
623         [BZ #11460]
624         * io/Makefile (routines): Add fts64.
625         (tests): Add tst-fts and tst-fts-lfs.
626         (CFLAGS-fts64.c): New.
627         * io/Versions (GLIBC_2.23): New.
628         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
629         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
630         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
631         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
632         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
633         (FTSENT64): Likewise.
634         (fts64_children): Likewise.
635         (fts64_close): Likewise.
636         (fts64_open): Likewise.
637         (fts64_read): Likewise.
638         (fts64_set): Likewise.
639         * io/fts64.c: New file.
640         * io/tst-fts.c: New test.
641         * io/tst-fts-lfs.c: Likewise.
642         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
643         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
644         fts64_set.
645         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
646         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
647         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
648         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
649         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
650         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
651         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
652         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
653         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
654         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
656         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
657         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
659         Likewise.
660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
661         Likewise.
662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
664         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
665         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
666         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
667         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
668         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
671         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
672         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
673         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
674         * sysdeps/wordsize-64/fts.c: New file.
675         * sysdeps/wordsize-64/fts64.c: Likewise.
676         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
677         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
678         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
679         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
681 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
683         * math/libm-test.inc (NON_FINITE): New macro.
684         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
685         * math/gen-libm-test.pl (show_exceptions): Add argument
686         $non_finite.
687         (parse_args): Update call to show_exceptions.
688         * math/test-math-finite.h: New file.
689         * math/test-math-no-finite.h: Likewise.
690         * math/test-double-finite.c: Likewise.
691         * math/test-float-finite.c: Likewise.
692         * math/test-ldouble-finite.c: Likewise.
693         * math/test-double.c: Include "test-math-no-finite.h".
694         * math/test-float.c: Include "test-math-no-finite.h".
695         * math/test-ldouble.c: Include "test-math-no-finite.h".
696         * math/test-math-inline.h (TEST_FINITE): New macro.
697         * math/test-math-vector.h (TEST_FINITE): Likewise.
698         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
699         (libm-tests): Add test-float-finite and test-double-finite.
700         ($(objpfx)test-float-finite.o): New dependency on
701         $(objpfx)libm-test.stmp.
702         ($(objpfx)test-double-finite.o): Likewise.
703         ($(objpfx)test-ldouble-finite.o): Likewise.
704         (libm-test-no-inline-cflags): New variable.
705         (libm-test-finite-cflags): Likewise.
706         (CFLAGS-test-float-finite.c): Likewise.
707         (CFLAGS-test-double-finite.c): Likewise.
708         (CFLAGS-test-ldouble-finite.c): Likewise.
709         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
710         (CFLAGS-test-double.c): Likewise.
711         (CFLAGS-test-ldouble.c): Likewise.
713 2015-11-05  Roland McGrath  <roland@hack.frob.com>
715         * io/fcntl.c (__fcntl): Add ... to prototype.
716         * misc/ioctl.c (__ioctl): Likewise.
717         * misc/syscall.c (syscall): Likewise.
719 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
721         * scripts/list-fixed-bugs.py: New file.
723         [BZ #19213]
724         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
725         returned for argument 1.
726         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
727         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
728         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
729         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
730         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
731         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
733         [BZ #19211]
734         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
735         __USE_XOPEN], not if [!__USE_ISOC99].
736         (lgammaf): Likewise.
737         (lgammal): Likewise.
738         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
739         (gammaf): Likewise.
740         (gammal): Likewise.
741         * math/test-signgam-finite-c11.c: New file.
742         * math/test-signgam-finite-c99.c: Likewise.
743         * math/test-signgam-finite.c: Likewise.
744         * math/Makefile (tests): Add test-signgam-finite,
745         test-signgam-finite-c99 and test-signgam-finite-c11.
746         (CFLAGS-test-signgam-finite.c): New variable.
747         (CFLAGS-test-signgam-finite-c99.c): Likewise.
748         (CFLAGS-test-signgam-finite-c11.c): Likewise.
750         [BZ #19212]
751         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
752         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
753         500].
754         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
755         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
756         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
757         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
758         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
759         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
760         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
761         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
762         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
763         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
765         [BZ #19209]
766         * math/bits/math-finite.h (ldexp): Remove declaration.
767         (ldexpf): Likewise.
768         (ldexpl): Likewise.
770         [BZ #19205]
771         * math/bits/math-finite.h (acosf): Condition declaration on
772         [__USE_ISOC99].
773         (acosl): Likewise.
774         (acoshf): Likewise.
775         (acoshl): Likewise.
776         (asinf): Likewise.
777         (asinl): Likewise.
778         (atan2f): Likewise.
779         (atan2l): Likewise.
780         (atanhf): Likewise.
781         (atanhl): Likewise.
782         (coshf): Likewise.
783         (coshl): Likewise.
784         (expf): Likewise.
785         (expl): Likewise.
786         (fmodf): Likewise.
787         (fmodl): Likewise.
788         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
789         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
790         (j0l): Likewise.
791         (y0f): Likewise.
792         (y0l): Likewise.
793         (j1f): Likewise.
794         (j1l): Likewise.
795         (y1f): Likewise.
796         (y1l): Likewise.
797         (jnf): Likewise.
798         (jnl): Likewise.
799         (ynf): Likewise.
800         (ynl): Likewise.
801         (lgammaf_r): Condition declaration on [__USE_ISOC99].
802         (lgammal_r): Likewise.
803         (__lgamma_r_finite): New declaration.
804         (__lgammaf_r_finite): Likewise.
805         (__lgammal_r_finite): Likewise.
806         (lgamma): Use __lgamma_r_finite.
807         (lgammaf): Condition definition on [__USE_ISOC99].  Use
808         __lgammaf_r_finite.
809         (lgammal): Condition definition on [__USE_ISOC99].  Use
810         __lgammal_r_finite.
811         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
812         __lgamma_r_finite.
813         (gammaf): Condition definition on [__USE_ISOC99].  Use
814         __lgammaf_r_finite.
815         (gammal): Condition definition on [__USE_ISOC99].  Use
816         __lgammal_r_finite.
817         (logf): Condition declaration on [__USE_ISOC99].
818         (logl): Likewise.
819         (log10f): Likewise.
820         (log10l): Likewise.
821         (ldexpf): Likewise.
822         (ldexpl): Likewise.
823         (powf): Likewise.
824         (powl): Likewise.
825         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
826         __USE_ISOC99].
827         (remainderf): Condition declaration on [__USE_ISOC99].
828         (remainderl): Likewise.
829         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
830         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
831         (scalbl): Likewise.
832         (sinhf): Condition declaration on [__USE_ISOC99].
833         (sinhl): Likewise.
834         (sqrtf): Likewise.
835         (sqrtl): Likewise.
837 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
839         * sysdeps/arm/atomic-machine.h
840         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
841         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
842         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
843         Remove conditional code.
844         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
845         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
846         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
847         Change conditional to [__ASSEMBLER__].
848         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
849         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
850         [!__ASSEMBLER__].
851         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
852         code.
853         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
854         conditional macro definitions.
855         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
856         (__arch_compare_and_exchange_val_16_acq): Likewise.
857         (__arch_compare_and_exchange_val_32_acq): Likewise.
858         (atomic_exchange_and_add): Likewise.
859         (atomic_add): Likewise.
860         (atomic_add_negative): Likewise.
861         (atomic_add_zero): Likewise.
862         (atomic_bit_set): Likewise.
863         (atomic_bit_test_set): Likewise.
864         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
865         code unconditional.
866         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
868         * math/test-math-errno.h: New file.
869         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
870         empty.
871         (TEST_ERRNO): New macro.
872         (TEST_EXCEPTIONS): Likewise.
873         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
874         (TEST_EXCEPTIONS): Likewise.
875         * math/test-math-vector.h (TEST_ERRNO): Likewise.
876         * math/test-double.c: Include "test-math-errno.h".
877         * math/test-float.c: Likewise.
878         * math/test-ldouble.c: Likewise.
879         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
880         code unconditional.
881         (test_exceptions): Only run code if TEST_EXCEPTIONS.
882         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
883         unconditional.
884         (test_errno): Only run code if TEST_ERRNO.
885         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
887 2015-11-04  Florian Weimer  <fweimer@redhat.com>
889         * nptl/tst-once5.cc: Remove attribution.
891 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
893         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
894         sqrt, tan, tanh, y0, y1 and yn.
895         * math/auto-libm-test-out: Regenerated.
896         * math/libm-test.inc (scalb_test_data): Add more tests.
897         (scalbn_test_data): Likewise.
898         (scalbln_test_data): Likewise.
899         (signbit_test_data): Likewise.
900         (sin_test_data): Likewise.
901         (sincos_test_data): Likewise.
902         (sinh_test_data): Likewise.
903         (sqrt_test_data): Likewise.
904         (tan_test_data): Likewise.
905         (tanh_test_data): Likewise.
906         (tgamma_test_data): Likewise.
907         (y0_test_data): Likewise.
908         (y1_test_data): Likewise.
909         (yn_test_data): Likewise.
910         (significand_test_data): Likewise.
911         * sysdeps/i386/fpu/libm-test-ulps: Update.
913 2015-11-03  David Kastrup  <dak@gnu.org>
915         [BZ #18604]
916         * assert/assert.h (assert): Don't macro-expand failed assertion
917         expression in error message.
918         * malloc/malloc.c (assert): Likewise.
920 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
922         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
923         test.
924         * configure: Regenerated.
926 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
928         * math/libm-test.inc (modf_test_data): Add more tests.
929         (nearbyint_test_data): Likewise.
930         (nextafter_test_data): Likewise.
931         (nexttoward_test_data): Likewise.
932         (pow_test_data): Likewise.
933         (remainder_test_data): Likewise.
934         (remquo_test_data): Likewise.
935         (rint_test_data): Likewise.
937         [BZ #19201]
938         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
939         Check for zero remainder in case of large exponents and ensure
940         correct sign of result in that case.
941         * math/libm-test.inc (remainder_test_data): Add more tests.
943         [BZ #6799]
944         * math/s_nextafter.c: Include <errno.h>.
945         (__nextafter): Set errno on overflow and underflow.
946         * math/s_nexttowardf.c: Include <errno.h>.
947         (__nexttowardf): Set errno on overflow and underflow.
948         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
949         (__nextafterl): Set errno on overflow and underflow.
950         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
951         (__nexttoward): Set errno on overflow and underflow.
952         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
953         (__nexttowardf): Set errno on overflow and underflow.
954         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
955         (__nextafterf): Set errno on overflow and underflow.
956         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
957         (__nextafterl): Set errno on overflow and underflow.
958         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
959         (__nexttoward): Set errno on overflow and underflow.
960         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
961         (__nexttowardf): Set errno on overflow and underflow.
962         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
963         (__nextafterl): Set errno on overflow and underflow.
964         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
965         (__nexttoward): Set errno on overflow and underflow.
966         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
967         (__nexttowardf): Set errno on overflow and underflow.
968         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
969         (__nexttoward): Set errno on overflow and underflow.
970         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
971         (__nexttowardf): Set errno on overflow and underflow.
972         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
973         (__nldbl_nexttowardf): Set errno on overflow and underflow.
974         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
975         (__nextafterl): Set errno on overflow and underflow.
976         * math/libm-test.inc (nextafter_test_data): Do not allow errno
977         setting to be missing on overflow.  Add more tests.
978         (nexttoward_test_data): Likewise.
980         * configure.ac (libc_cv_initfini_array): Remove configure test.
981         * configure: Regenerated.
983 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
985         [BZ #19189]
986         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
987         non-finite argument handle arguments with negative sign.
989         * math/libm-test.inc (j0_test_data): Do not test sign of zero
990         result from infinite argument.
991         (j1_test_data): Likewise.
992         (jn_test_data): Likewise.
993         (y0_test_data): Likewise.
994         (y1_test_data): Likewise.
995         (yn_test_data): Likewise.
997         [BZ #16171]
998         * math/w_remainder.c (drem): Define as weak alias of __remainder.
999         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1000         * math/w_remainderf.c (dremf): Define as weak alias of
1001         __remainderf.
1002         * math/w_remainderl.c (dreml): Define as weak alias of
1003         __remainderl.
1004         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1005         __remainder.
1006         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1007         __remainderf.
1008         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1009         __remainderl.
1010         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1011         weak alias of remainderl.
1012         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1013         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1014         alias of __remainder.
1015         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1016         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1017         strong alias of __remainderl.
1018         (dreml): Use long_double_symbol.
1019         * math/Makefile (libm-calls): Remove w_drem.
1020         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1021         (CFLAGS-nldbl-drem.c): Remove variable.
1022         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1023         * math/w_drem.c: Remove file.
1024         * math/w_dremf.c: Likewise.
1025         * math/w_dreml.c: Likewise.
1026         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1027         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1028         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1030         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1031         * sysdeps/i386/configure: Regenerated.
1032         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1033         * sysdeps/x86_64/configure: Regenerated.
1035         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1036         test.
1037         (libc_cv_visibility_attribute): Likewise.
1038         (libc_cv_protected_data): Test unconditionally.
1039         (libc_cv_broken_visibility_attribute): Remove configure test.
1040         (libc_cv_have_sdata_section): Test unconditionally.
1041         * configure: Regenerated.
1043         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1044         * include/scratch_buffer.h: Include <stddef.h> instead of
1045         <libc-internal.h>.
1046         (struct scratch_buffer): Use max_align_t instead of
1047         libc_max_align_t.
1049 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1051         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1052         instead of extend_alloca.  Change control flow to avoid a goto.
1053         Remove assert which is trivially always true.
1055 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1057         [BZ #16068]
1058         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1059         (FE_ALL_EXCEPT_X86): New macro.
1060         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1061         FE_ALL_EXCEPT.  Ensure precision control is included in
1062         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1063         handle "denormal operand exception" and clear FZ and DAZ bits.
1064         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1065         (FE_ALL_EXCEPT_X86): New macro.
1066         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1067         FE_ALL_EXCEPT.  Ensure precision control is included in
1068         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1069         handle "denormal operand exception" and clear FZ and DAZ bits.
1070         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1071         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1072         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1073         test-fenv-x87 and test-fenv-sse-2.
1074         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1076         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1077         * math/test-double.h (BUILD_COMPLEX): New macro.
1078         * math/test-float.h (BUILD_COMPLEX): Likewise.
1079         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1081         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1082         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1083         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1084         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1085         instead of DBL_DENORM_MIN in comment.
1086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1087         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1088         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1089         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1090         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1091         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1093 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1095         [BZ# 19048]
1096         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1097         attached_threads member.
1098         (main_arena): Initialize attached_threads.
1099         * malloc/arena.c (list_lock): Update comment.
1100         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1101         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1102         (deattach_arena): New function.
1103         (_int_new_arena): Initialize arena reference count and deattach
1104         replaced arena.
1105         (get_free_list, reused_arena): Update reference count and deattach
1106         replaced arena.
1107         (arena_thread_freeres): Update arena reference count and only put
1108         unreferenced arenas on the free list.
1110 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1112         [BZ #19181]
1113         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1114         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1115         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1116         * math/test-fenv-clear-main.c: New file.
1117         * math/test-fenv-clear.c: Likewise.
1118         * math/Makefile (tests): Add test-fenv-clear.
1119         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1120         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1121         test-fenv-clear-sse.
1122         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1124         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1125         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1126         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1128 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1130         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1131         static libc.
1133 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1135         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1136         test.
1137         * sysdeps/i386/configure: Regenerated.
1138         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1139         test.
1140         * sysdeps/x86_64/configure: Regenerated.
1141         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1143         memset-avx2 unconditionally instead of conditionally on
1144         [$(config-cflags-avx2) = yes].
1145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1146         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1147         unconditional.
1148         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1149         * sysdeps/x86_64/multiarch/memset_chk.S
1150         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1151         to [IS_IN (libc) && SHARED].
1153 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1155         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1156         configure test.
1157         * sysdeps/arm/configure: Regenerated.
1158         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1159         Define variable if not already defined.
1161         [BZ #17404]
1162         * sysdeps/mips/atomic-machine.h
1163         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1164         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1165         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1167         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1168         unconditional.
1169         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1170         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1171         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1172         unconditional.
1173         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1174         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1175         unconditional.
1176         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1177         * stdlib/setenv.c
1178         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1179         code unconditional.
1180         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1181         Remove conditional code.
1182         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1183         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1184         unconditional.
1185         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1186         code.
1187         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1188         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1189         unconditional.
1190         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1191         code.
1192         * sysdeps/ieee754/ldbl-128/k_tanl.c
1193         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1194         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1195         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1196         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1197         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1198         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1199         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1200         unconditional.
1201         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1202         code.
1203         * sysdeps/ieee754/ldbl-96/k_tanl.c
1204         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1205         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1207         * nptl/tst-initializers1-c11.c: New file.
1208         * nptl/tst-initializers1-gnu11.c: Likewise.
1209         * nptl/Makefile (tests): Add these new tests.
1210         (CFLAGS-tst-initializers1-c11.c): New variable.
1211         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1213         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1214         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1215         instead of -std=gnu99.
1216         * configure.ac (systemtap): Test with -std=gnu11 instead of
1217         -std=gnu99.
1218         * configure: Regenerated.
1219         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1220         in compilation command in comment.
1222         * sysdeps/nptl/configure.ac: Remove file.
1223         * sysdeps/nptl/configure: Remove generated file.
1224         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1225         * configure: Regenerated.
1226         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1227         * config.make.in (have-forced-unwind): Remove variable.
1228         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1229         unconditional.
1230         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1231         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1232         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1233         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1234         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1235         unconditional.
1237 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1239         [BZ #19174]
1240         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1241         .skip_lock_out_of_tbegin_retries.
1242         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1243         (__lll_lock_elision): Likewise, and respect a value of
1244         try_tbegin <= 0.
1246 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1248         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1249         statement.
1251 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1253         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1254         variable.
1255         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1256         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1258         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1259         of -std=c1x -D_ISOC11_SOURCE.
1261         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1262         * configure: Regenerated.
1263         * manual/install.texi (Tools for Compilation): Document
1264         requirement for GCC 4.7 or later.
1265         * INSTALL: Regenerated.
1267 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1269         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1270         on CNT to a conditional jump to 'puntdata'.
1272 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1274         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1275         (libc_cv_gcc_tls_model_attr): Likewise.
1276         * configure: Regenerated.
1278         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1279         * configure: Regenerated.
1280         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1282 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1284         * configure.ac (old_glibc_headers): Remove configure test.
1285         * configure: Regenerated.
1286         * config.make.in (old-glibc-headers): Remove variable.
1287         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1288         (install): Remove dependency on remove-old-headers.
1289         (headers2_0): Remove variable.
1290         (remove-old-headers): Remove rule.
1292         * configure.ac (libc_cv_dot_text): Remove configure test.
1293         (libc_cv_asm_set_directive): Use .text instead of
1294         ${libc_cv_dot_text} in configure test.
1295         * configure: Regenerated.
1297 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1299         [BZ #19168]
1300         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1302 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1304         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1305         not support static linking.
1306         * configure: Regenerate.
1308 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1310         * math/libm-test.inc (check_float_internal): Do not special-case
1311         errors up to 0.5 ulp.
1313         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1314         log2.
1315         * math/auto-libm-test-out: Regenerated.
1316         * math/libm-test.inc (MAX_EXP): New macro.
1317         (ilogb_test_data): Add more tests.
1318         (isfinite_test_data): Likewise.
1319         (isgreater_test_data): Likewise.
1320         (isgreaterequal_test_data): Likewise.
1321         (isinf_test_data): Likewise.
1322         (isless_test_data): Likewise.
1323         (islessequal_test_data): Likewise.
1324         (islessgreater_test_data): Likewise.
1325         (isnan_test_data): Likewise.
1326         (isnormal_test_data): Likewise.
1327         (issignaling_test_data): Likewise.
1328         (isunordered_test_data): Likewise.
1329         (j0_test_data): Likewise.
1330         (j1_test_data): Likewise.
1331         (jn_test_data): Likewise.
1332         (lgamma_test_data): Likewise.
1333         (log_test_data): Likewise.
1334         (log10_test_data): Likewise.
1335         (log1p_test_data): Likewise.
1336         (log2_test_data): Likewise.
1337         (logb_test_data): Likewise.
1338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1340         [BZ #18611]
1341         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1342         avoid excess range and precision on underflow.
1343         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1344         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1345         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1346         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1347         underflow.
1348         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1349         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1350         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1351         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1352         * math/auto-libm-test-in: Do not allow missing errno setting for
1353         tests of j1 and jn.
1354         * math/auto-libm-test-out: Regenerated.
1356 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1358         [BZ #15491]
1359         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1360         floating-point environment instead of clearing all exceptions.
1361         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1362         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1363         merging in "invalid" exceptions from frndint.
1364         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1365         * math/test-nearbyint-except.c: New file.
1366         * math/Makefile (tests): Add test-nearbyint-except.
1368 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1370         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1372         * sysdeps/tile/libm-test-ulps: Regenerated.
1374 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1377         (__NR_sync_file_range2): Assume it is always defined.
1378         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1379         (__NR_sync_file_range): Assume it is always defined.
1381 2015-10-22  Andreas Schwab  <schwab@suse.de>
1383         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1384         INTERNAL_SYSCALL_ERRNO.
1385         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1386         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1387         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1388         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1389         Likewise.
1390         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1392 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1394         * io/tst-fcntl.c (fd): New static variable.
1395         (do_prepare): Open temporary file here....
1396         (do_test): ...not here.
1398         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1400 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1402         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1403         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1404         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1405         Moved before "#ifdef __ASSEMBLER__".
1407 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1409         [BZ #19156]
1410         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1411         arguments very close to 0.
1413 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1415         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1416         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1418 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1420         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1421         New.  Defined for GCC 5 and above when not compiling for
1422         profiling.
1423         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1425         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1426         Renamed to ...
1427         (CFLAGS-epoll_pwait.o): This.
1428         (CFLAGS-mmap.c): Renamed to ...
1429         (CFLAGS-mmap.o): This.
1430         (CFLAGS-mmap64.c): Renamed to ...
1431         (CFLAGS-mmap64.o): This.
1432         (CFLAGS-epoll_pwait.os): New.
1433         (CFLAGS-mmap.os): Likewise.
1434         (CFLAGS-mmap64.os): Likewise.
1435         (CFLAGS-semtimedop.os): Likewise.
1436         (CFLAGS-semtimedop.c): Renamed to ...
1437         (CFLAGS-semtimedop.o): This.
1439 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1441         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1442         warning message.
1444 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1446         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1447         * Makefile ($(objpfx)c++-types-check.out): Filter out
1448         $(+gccwarn-c) instead of -Wstrict-prototypes.
1450         * io/fts.c (fts_open): Convert to prototype-style function
1451         definition.
1452         * malloc/mcheck.c (mcheck): Likewise.
1453         (mcheck_pedantic): Likewise.
1454         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1455         internal_function.
1456         (re_search_internal): Likewise.
1457         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1458         prototype-style function definition.
1459         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1460         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1461         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1462         (xdr_utmpptr): Likewise.
1463         (xdr_utmparr): Likewise.
1464         (xdr_utmpidle): Likewise.
1465         (xdr_utmpidleptr): Likewise.
1466         (xdr_utmpidlearr): Likewise.
1468         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1469         log, log10 and log2.
1470         * math/auto-libm-test-out: Regenerated.
1471         * math/libm-test.inc (fmod_test_data): Add more tests.
1472         (fpclassify_test_data): Likewise.
1473         (frexp_test_data): Likewise.
1474         (hypot_test_data): Likewise.
1475         (ilogb_test_data): Likewise.
1477 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1479         * debug/fortify_fail.c (__fortify_fail): Convert to
1480         prototype-style function definition.  Use internal_function.
1481         * libio/genops.c (save_for_backup): Convert to prototype-style
1482         function definition.
1483         * libio/wgenops.c (save_for_wbackup): Likewise.
1484         * login/grantpt.c (grantpt): Likewise.
1485         * login/ptsname.c (ptsname): Likewise.
1486         (__ptsname_r): Likewise.
1487         * login/unlockpt.c (unlockpt): Likewise.
1488         * mach/msgserver.c (__mach_msg_server): Likewise.
1489         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1490         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1491         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1492         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1493         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1494         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1495         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1496         Likewise.
1497         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1498         internal_function.
1499         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1500         prototype-style function definition.
1501         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1502         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1503         (__pthread_create_2_0): Likewise.
1504         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1505         * nptl/register-atfork.c (__register_atfork): Likewise.
1506         * posix/glob.c (glob): Likewise.
1507         * posix/regcomp.c (re_comp): Likewise.
1508         * posix/regexec.c (re_exec): Likewise.
1509         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1510         [!__STDC__]: Remove conditional code.
1511         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1512         [!__STDC__]: Remove conditional code.
1513         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1514         [!__STDC__]: Remove conditional code.
1515         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1516         [!__STDC__]: Remove conditional code.
1517         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1518         [!__STDC__]: Remove conditional code.
1519         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1520         [!__STDC__]: Remove conditional code.
1521         * stdlib/mul.c [__STDC__]: Make code unconditional.
1522         [!__STDC__]: Remove conditional code.
1523         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1524         [!__STDC__]: Remove conditional code.
1525         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1526         [!__STDC__]: Remove conditional code.
1527         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1528         function definition.
1529         (STRTOF): Likewise.
1530         * stdlib/strtod_l.c (__STRTOF): Likewise.
1531         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1532         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1533         (__strtol_l): Likewise.
1534         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1535         [!__STDC__]: Remove conditional code.
1536         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1537         definition.
1538         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1539         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1540         type.
1541         (__strcasecmp): Convert to prototype-style function definition.
1542         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1543         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1544         type.
1545         (__strncasecmp): Convert to prototype-style function definition.
1546         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1547         * sunrpc/xdr.c (xdr_union): Likewise.
1548         * sunrpc/xdr_array.c (xdr_array): Likewise.
1549         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1550         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1551         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1552         Likewise.
1553         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1554         Likewise.
1555         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1556         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1557         Likewise.
1558         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1559         (LOCALE_PARAM_PROTO): Likewise.
1560         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1561         argument type.
1562         (ut_argument_spec): Remove macro.
1563         (ut_argument_spec_iso): Rename to ut_argument_spec.
1564         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1565         prototype-style function definition.
1566         (memcpy_uppcase): Likewise.
1567         (__strftime_internal): Likewise.
1568         (my_strftime): Likewise.
1569         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1570         (LOCALE_PARAM_DECL): Likewise.
1571         [_LIBC] (LOCALE_PARAM): Include argument type.
1572         (__strptime_internal): Convert to prototype-style function
1573         definition.
1574         (strptime): Likewise.
1575         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1576         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1577         type.
1578         (__wcscasecmp): Convert to prototype-style function definition.
1579         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1580         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1581         type.
1582         (__wcsncasecmp): Convert to prototype-style function definition.
1584         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1585         function definition.
1586         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1587         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1588         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1589         * elf/dl-minimal.c (_itoa): Likewise.
1590         * hurd/hurdmalloc.c (malloc): Likewise.
1591         (free): Likewise.
1592         (realloc): Likewise.
1593         * inet/inet6_option.c (inet6_option_space): Likewise.
1594         (inet6_option_init): Likewise.
1595         (inet6_option_append): Likewise.
1596         (inet6_option_alloc): Likewise.
1597         (inet6_option_next): Likewise.
1598         (inet6_option_find): Likewise.
1599         * io/ftw.c (FTW_NAME): Likewise.
1600         (NFTW_NAME): Likewise.
1601         (NFTW_NEW_NAME): Likewise.
1602         (NFTW_OLD_NAME): Likewise.
1603         * libio/iofwide.c (_IO_fwide): Likewise.
1604         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1605         (_IO_str_init_static): Likewise.
1606         (_IO_str_init_readonly): Likewise.
1607         (_IO_str_overflow): Likewise.
1608         (_IO_str_underflow): Likewise.
1609         (_IO_str_count): Likewise.
1610         (_IO_str_seekoff): Likewise.
1611         (_IO_str_pbackfail): Likewise.
1612         (_IO_str_finish): Likewise.
1613         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1614         (_IO_wstr_overflow): Likewise.
1615         (_IO_wstr_underflow): Likewise.
1616         (_IO_wstr_count): Likewise.
1617         (_IO_wstr_seekoff): Likewise.
1618         (_IO_wstr_pbackfail): Likewise.
1619         (_IO_wstr_finish): Likewise.
1620         * locale/programs/localedef.c (normalize_codeset): Likewise.
1621         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1622         (add_locales_to_archive): Likewise.
1623         (delete_locales_from_archive): Likewise.
1624         * malloc/malloc.c (__libc_mallinfo): Likewise.
1625         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1626         * misc/tsearch.c (__tfind): Likewise.
1627         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1628         * nptl/pthread_attr_getdetachstate.c
1629         (__pthread_attr_getdetachstate): Likewise.
1630         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1631         Likewise.
1632         * nptl/pthread_attr_getinheritsched.c
1633         (__pthread_attr_getinheritsched): Likewise.
1634         * nptl/pthread_attr_getschedparam.c
1635         (__pthread_attr_getschedparam): Likewise.
1636         * nptl/pthread_attr_getschedpolicy.c
1637         (__pthread_attr_getschedpolicy): Likewise.
1638         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1639         Likewise.
1640         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1641         Likewise.
1642         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1643         Likewise.
1644         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1645         Likewise.
1646         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1647         (__pthread_attr_init_2_0): Likewise.
1648         * nptl/pthread_attr_setdetachstate.c
1649         (__pthread_attr_setdetachstate): Likewise.
1650         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1651         Likewise.
1652         * nptl/pthread_attr_setinheritsched.c
1653         (__pthread_attr_setinheritsched): Likewise.
1654         * nptl/pthread_attr_setschedparam.c
1655         (__pthread_attr_setschedparam): Likewise.
1656         * nptl/pthread_attr_setschedpolicy.c
1657         (__pthread_attr_setschedpolicy): Likewise.
1658         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1659         Likewise.
1660         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1661         Likewise.
1662         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1663         Likewise.
1664         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1665         Likewise.
1666         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1667         Likewise.
1668         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1669         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1670         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1671         use internal_function.
1672         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1673         prototype-style function definition.
1674         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1675         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1676         internal_function.
1677         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1678         Convert to prototype-style function definition.
1679         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1680         Likewise.
1681         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1682         Likewise.
1683         (__pthread_mutex_unlock): Likewise.
1684         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1685         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1686         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1687         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1688         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1689         * nss/makedb.c (process_input): Likewise.
1690         * posix/fnmatch.c (__strchrnul): Likewise.
1691         (__wcschrnul): Likewise.
1692         (fnmatch): Likewise.
1693         * posix/fnmatch_loop.c (FCT): Likewise.
1694         * posix/glob.c (globfree): Likewise.
1695         (__glob_pattern_type): Likewise.
1696         (__glob_pattern_p): Likewise.
1697         * posix/regcomp.c (re_compile_pattern): Likewise.
1698         (re_set_syntax): Likewise.
1699         (re_compile_fastmap): Likewise.
1700         (regcomp): Likewise.
1701         (regerror): Likewise.
1702         (regfree): Likewise.
1703         * posix/regexec.c (regexec): Likewise.
1704         (re_match): Likewise.
1705         (re_search): Likewise.
1706         (re_match_2): Likewise.
1707         (re_search_2): Likewise.
1708         (re_search_stub): Likewise.  Use internal_function
1709         (re_copy_regs): Likewise.
1710         (re_set_registers): Convert to prototype-style function
1711         definition.
1712         (prune_impossible_nodes): Likewise.  Use internal_function.
1713         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1714         prototype-style function definition.
1715         (inet_net_pton_ipv4): Likewise.
1716         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1717         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1718         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1719         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1720         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1721         Make variadic.
1722         * time/strptime_l.c (localtime_r): Convert to prototype-style
1723         function definition.
1724         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1725         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1726         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1727         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1729         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1730         definition.
1731         (_ufc_doit_r): Likewise.
1732         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1733         (_ufc_output_conversion_r): Likewise.
1734         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1735         * inet/rcmd.c (rcmd_af): Likewise.
1736         (rcmd): Likewise.
1737         (ruserok_af): Likewise.
1738         (ruserok): Likewise.
1739         (ruserok2_sa): Likewise.
1740         (ruserok_sa): Likewise.
1741         (iruserok_af): Likewise.
1742         (iruserok): Likewise.
1743         (__ivaliduser): Likewise.
1744         (__validuser2_sa): Likewise.
1745         * inet/rexec.c (rexec_af): Likewise.
1746         (rexec): Likewise.
1747         * inet/ruserpass.c (ruserpass): Likewise.
1748         * locale/programs/xmalloc.c (xcalloc): Likewise.
1749         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1750         * math/w_drem.c (__drem): Likewise.
1751         * math/w_dremf.c (__dremf): Likewise.
1752         * math/w_dreml.c (__dreml): Likewise.
1753         * misc/daemon.c (daemon): Likewise.
1754         * resolv/res_debug.c (p_fqnname): Likewise.
1755         * stdlib/div.c (div): Likewise.
1756         * string/memcmp.c (memcmp_bytes): Likewise.
1757         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1758         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1760         * crypt/cert.c (main): Convert to prototype-style function
1761         definition.
1762         * io/pipe.c (__pipe): Likewise.
1763         * io/pipe2.c (__pipe2): Likewise.
1764         * misc/futimesat.c (futimesat): Likewise.
1765         * misc/utimes.c (__utimes): Likewise.
1766         * posix/execve.c (__execve): Likewise.
1767         * posix/execvp.c (execvp): Likewise.
1768         * posix/execvpe.c (__execvpe): Likewise.
1769         * posix/fexecve.c (fexecve): Likewise.
1770         * socket/socketpair.c (socketpair): Likewise.
1771         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1772         * stdlib/erand48.c (erand48): Likewise.
1773         * stdlib/erand48_r.c (__erand48_r): Likewise.
1774         * stdlib/jrand48.c (jrand48): Likewise.
1775         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1776         * stdlib/lcong48.c (lcong48): Likewise.
1777         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1778         * stdlib/nrand48.c (nrand48): Likewise.
1779         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1780         * stdlib/seed48.c (seed48): Likewise.
1781         * stdlib/seed48_r.c (__seed48_r): Likewise.
1782         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1783         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1784         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1786 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1788         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1789         * configure: Regenerated.
1790         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1791         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1792         unconditional.
1793         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1794         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1795         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1796         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1797         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1798         unconditional.
1799         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1801         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1802         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1804         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1805         function definition.
1806         * crypt/crypt_util.c (__encrypt_r): Likewise.
1807         * libio/genops.c (_IO_no_init): Likewise.
1808         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1809         (_IO_old_fopencookie): Likewise.
1810         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1811         * libio/iogetline.c (_IO_getline): Likewise.
1812         (_IO_getline_info): Likewise.
1813         * libio/iogetwline.c (_IO_getwline): Likewise.
1814         (_IO_getwline_info): Likewise.
1815         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1816         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1817         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1818         (find_entry): Likewise.
1819         (iterate_table): Likewise.
1820         (lookup): Likewise.
1821         * login/forkpty.c (forkpty): Likewise.
1822         * misc/hsearch_r.c (__hsearch_r): Likewise.
1823         * misc/select.c (__select): Likewise.
1824         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1825         Likewise.
1826         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1827         Likewise.
1828         * nptl/old_pthread_cond_timedwait.c
1829         (__pthread_cond_timedwait_2_0): Likewise.
1830         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1831         * nptl/pthread_barrierattr_getpshared.c
1832         (pthread_barrierattr_getpshared): Likewise.
1833         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1834         Likewise.
1835         * nptl/pthread_mutex_setprioceiling.c
1836         (pthread_mutex_setprioceiling): Likewise.
1837         * nptl/pthread_mutexattr_getprioceiling.c
1838         (pthread_mutexattr_getprioceiling): Likewise.
1839         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1840         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1841         Likewise.
1842         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1843         Likewise.
1844         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1845         Likewise.
1846         * socket/recvfrom.c (__recvfrom): Likewise.
1847         * socket/sendto.c (__sendto): Likewise.
1848         * socket/setsockopt.c (__setsockopt): Likewise.
1849         * stdio-common/_itoa.c (_itoa): Likewise.
1850         * stdio-common/_itowa.c (_itowa): Likewise.
1851         * stdio-common/reg-printf.c (__register_printf_specifier):
1852         Likewise.
1853         (__register_printf_function): Likewise.
1854         * stdio-common/tempname.c (__path_search): Likewise.
1855         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1856         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1857         * stdlib/random_r.c (__initstate_r): Likewise.
1858         * stdlib/setenv.c (__add_to_environ): Likewise.
1859         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1860         * streams/getpmsg.c (getpmsg): Likewise.
1861         * streams/putmsg.c (putmsg): Likewise.
1862         * streams/putpmsg.c (putpmsg): Likewise.
1863         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1864         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1865         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1866         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1867         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1868         * sunrpc/svc_udp.c (cache_get): Likewise.
1869         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1870         * sysdeps/mach/hurd/getcwd.c
1871         (__canonicalize_directory_name_internal): Likewise.
1872         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1873         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1874         * sysdeps/mach/hurd/select.c (__select): Likewise.
1875         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1876         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1877         * sysdeps/sparc/nptl/pthread_barrier_init.c
1878         (__pthread_barrier_init): Likewise.
1879         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
1880         (__pthread_cond_timedwait): Likewise.
1881         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
1882         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
1883         Likewise.
1884         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
1885         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
1886         Likewise.
1887         * sysvipc/semtimedop.c (semtimedop): Likewise.
1888         * time/setitimer.c (__setitimer): Likewise.
1889         * time/strftime_l.c (emacs_strftime): Likewise.
1891 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1893         * config.make.in (have-ssp): Delete.
1894         (stack-protector): New variable.
1895         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
1896         cache test for -fstack-protector-strong.  Export stack_protector to
1897         the best ssp flag.
1898         * configure: Regenerated.
1899         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
1900         * nscd/Makefile (CFLAGS-nscd): Likewise.
1901         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1903 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
1905         [BZ #19122]
1906         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
1907         attribute_hidden.
1909 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1911         [BZ #18743]
1912         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
1913         code to...
1914         (ELIDE_LOCK): ...here.
1915         (__get_new_count): New function with part of the code from
1916         __elide_lock that updates the value of adapt_count after a
1917         transaction abort.
1918         (__elided_trylock): Moved this code to...
1919         (ELIDE_TRYLOCK): ...here.
1921 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1923         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
1924         * configure: Regenerate.
1925         * INSTALL: Regenerate.
1926         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
1927         and tweak grammar.
1929 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
1931         * login/programs/pt_chown.c: Include signal.h
1932         (main): Clear any signal mask from the parent process.
1934 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1936         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
1937         * configure: Regenerated.
1938         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
1939         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
1940         $(gnu89-inline-CFLAGS).
1942         * configure.ac (libc_cv_asm_weak_directive): Remove configure
1943         test.
1944         (libc_cv_asm_weakext_directive): Likewise.
1945         * configure: Regenerated.
1946         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
1947         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
1948         * include/libc-symbols.h
1949         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
1950         #error.
1951         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
1952         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
1954         * sysdeps/arm/backtrace.c (__backtrace): Convert to
1955         prototype-style function definition.
1956         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1957         * sysdeps/i386/ffs.c (__ffs): Likewise.
1958         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1959         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
1960         Likewise.
1961         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1962         Likewise.
1963         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1964         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1965         Likewise.
1966         * sysdeps/m68k/ffs.c (__ffs): Likewise.
1967         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
1968         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
1969         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
1970         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
1971         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
1972         * sysdeps/mach/hurd/access.c (__access): Likewise.
1973         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1974         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
1975         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1976         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
1977         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
1978         (cthread_getspecific): Likewise.
1979         (cthread_setspecific): Likewise.
1980         (__libc_getspecific): Likewise.
1981         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
1982         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
1983         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
1984         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
1985         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
1986         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
1987         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
1988         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
1989         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
1990         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
1991         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
1992         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
1993         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
1994         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
1995         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
1996         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
1997         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
1998         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
1999         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2000         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2001         * sysdeps/mach/hurd/link.c (__link): Likewise.
2002         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2003         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2004         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2005         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2006         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2007         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2008         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2009         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2010         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2011         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2012         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2013         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2014         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2015         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2016         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2017         * sysdeps/mach/hurd/send.c (__send): Likewise.
2018         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2019         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2020         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2021         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2022         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2023         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2024         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2025         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2026         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2027         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2028         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2029         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2030         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2031         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2032         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2033         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2034         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2035         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2036         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2037         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2038         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2039         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2040         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2041         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2042         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2043         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2044         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2045         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2046         * sysdeps/posix/alarm.c (alarm): Likewise.
2047         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2048         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2049         * sysdeps/posix/dup.c (__dup): Likewise.
2050         * sysdeps/posix/dup2.c (__dup2): Likewise.
2051         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2052         (main): Likewise.
2053         * sysdeps/posix/flock.c (__flock): Likewise.
2054         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2055         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2056         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2057         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2058         * sysdeps/posix/isatty.c (__isatty): Likewise.
2059         * sysdeps/posix/killpg.c (killpg): Likewise.
2060         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2061         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2062         * sysdeps/posix/raise.c (raise): Likewise.
2063         * sysdeps/posix/remove.c (remove): Likewise.
2064         * sysdeps/posix/rename.c (rename): Likewise.
2065         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2066         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2067         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2068         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2069         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2070         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2071         * sysdeps/posix/sigset.c (sigset): Likewise.
2072         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2073         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2074         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2075         * sysdeps/posix/time.c (time): Likewise.
2076         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2077         (ttyname): Likewise.
2078         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2079         * sysdeps/posix/utime.c (utime): Likewise.
2080         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2081         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2082         Likewise.
2083         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2084         (pthread_spin_trylock): Likewise.
2085         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2086         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2087         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2088         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2089         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2090         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2091         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2092         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2093         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2094         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2095         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2096         * sysdeps/s390/ffs.c (__ffs): Likewise.
2097         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2098         Likewise.
2099         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2100         Likewise.
2101         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2102         Likewise.
2103         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2104         (pthread_barrier_destroy): Likewise.
2105         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2106         (__pthread_barrier_wait): Likewise.
2107         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2108         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2109         (__pthread_barrier_wait): Likewise.
2110         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2111         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2112         (memcmp_not_common_alignment): Likewise.
2113         (MEMCMP): Likewise.
2114         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2115         (_wordcopy_fwd_dest_aligned): Likewise.
2116         (_wordcopy_bwd_aligned): Likewise.
2117         (_wordcopy_bwd_dest_aligned): Likewise.
2118         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2119         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2120         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2121         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2122         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2123         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2124         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2125         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2126         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2127         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2128         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2129         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2130         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2131         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2132         * sysdeps/unix/stime.c (stime): Likewise.
2133         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2134         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2135         Likewise.  Use internal_function.
2136         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2137         Convert to prototype-style function definition.
2138         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2139         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2140         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2141         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2142         Likewise.  Use internal_function.
2143         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2144         prototype-style function definition
2145         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2146         Likewise.
2147         (__getlogin_r): Likewise.
2148         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2149         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2150         (__pthread_cond_broadcast): Likewise.
2151         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2152         (__pthread_cond_destroy): Likewise.
2153         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2154         (__pthread_cond_init): Likewise.
2155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2156         (__pthread_cond_signal): Likewise.
2157         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2158         (__pthread_cond_wait): Likewise.
2159         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2160         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2161         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2162         Likewise.
2163         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2164         Likewise.
2165         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2166         Likewise.
2167         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2168         Likewise.
2169         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2171         (__ftruncate64): Likewise.
2172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2173         (truncate64): Likewise.
2174         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2175         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2176         (pthread_getcpuclockid): Likewise.
2177         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2178         Likewise.
2179         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2180         Likewise.
2181         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2182         Likewise.
2183         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2184         Likewise.
2185         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2186         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2187         (__libc_sigaction): Likewise.
2188         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2189         Likewise.
2190         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2191         (__sigprocmask): Likewise.
2192         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2193         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2194         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2195         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2196         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2197         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2198         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2199         Likewise.
2200         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2201         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2202         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2203         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2204         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2205         Likewise.
2206         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2207         (__sigprocmask): Likewise.
2208         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2209         (cfgetispeed): Likewise.
2210         (cfsetospeed): Likewise.
2211         (cfsetispeed): Likewise.
2212         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2213         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2214         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2215         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2216         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2217         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2218         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2219         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2220         Likewise.
2221         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2222         Likewise.
2223         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2224         Likewise.
2225         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2226         Likewise.
2227         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2229 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2231         sunrpc: Rewrite with explicit TLS access using __thread.
2232         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2233         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2234         directly.
2235         (__rpc_thread_variables): Access thread_rpc_vars directly.
2236         Eliminate redundant assignment of the tvp variable.
2238 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2240         malloc: Rewrite with explicit TLS access using __thread.
2241         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2242         (tsd_setspecific, tsd_getspecific): Remove.
2243         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2244         (tsd_setspecific, tsd_getspecific): Likewise.
2245         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2246         (tsd_setspecific, tsd_getspecific): Likewise.
2247         * malloc/arena.c (thread_arena): New TLS variable.
2248         (arena_key): Remove variable.
2249         (arena_get): Use thread_arena.
2250         (arena_lookup): Remove macro.
2251         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2252         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2253         (_int_new_arena, get_free_list, reused_arena)
2254         (arena_thread_freeres): Use thread_arena.
2255         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2256         tsd_getspecific, tsd_setspecific from safety annotations.
2257         (Allocating Cleared Space): Remove arena_lookup from safety
2258         annotations.
2260 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2262         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2263         struct scratch_buffer instead of extend_alloca.
2265 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2267         * sysdeps/unix/sysv/linux/kernel-features.h
2268         (__ASSUME_SOCK_CLOEXEC): Remove.
2269         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2270         (__have_paccept): Remove unused macro.
2271         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2272         * misc/syslog.c (openlog_internal): Remove fallback code for
2273         !__ASSUME_SOCK_CLOEXEC.
2274         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2275         missing SOCK_CLOEXEC.
2276         * nscd/connections.c (have_sock_cloexec): Remove definition.
2277         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2278         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2279         !__ASSUME_SOCK_CLOEXEC.
2280         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2281         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2282         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2283         definition.
2284         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2285         code for !__ASSUME_SOCK_CLOEXEC.
2287 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2289         [BZ #18982]
2290         * manual/stdio.texi (Variable Arguments Output): Add portability
2291         note, explaining that vfprintf clobbers the va_list pointer.
2293 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2295         * math/libm-test.inc (fabs_test_data): Add more tests.
2296         (fdim_test_data): Likewise.
2297         (fma_test_data): Likewise.
2298         (fmax_test_data): Likewise.
2299         (fmin_test_data): Likewise.
2300         (fmod_test_data): Likewise.
2302 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2304         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2305         data.
2307 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2309         * math/libm-test.inc (ceil_test_data): Add more tests and more
2310         expectations for "inexact".
2311         (floor_test_data): Add more tests.
2312         (round_test_data): Likewise.
2313         (trunc_test_data): Likewise.
2315         * crypt/cert.c (good_bye): Convert to prototype-style function
2316         definition.
2317         (get8): Likewise.
2318         (put8): Likewise.
2319         * crypt/crypt-entry.c (crypt): Likewise.
2320         (__fcrypt): Likewise.
2321         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2322         (_ufc_set_bits): Likewise.
2323         (_ufc_clearmem): Likewise.
2324         (__init_des_r): Likewise.
2325         (shuffle_sb): Likewise.
2326         (shuffle_sb): Likewise.
2327         (_ufc_setup_salt_r): Likewise.
2328         (_ufc_mk_keytab_r): Likewise.
2329         (_ufc_dofinalperm_r): Likewise.
2330         (encrypt): Likewise.
2331         (__setkey_r): Likewise.
2332         (setkey): Likewise.
2333         * crypt/md5.c (md5_init_ctx): Likewise.
2334         (md5_read_ctx): Likewise.
2335         (md5_finish_ctx): Likewise.
2336         (md5_stream): Likewise.
2337         (md5_buffer): Likewise.
2338         (md5_process_bytes): Likewise.
2339         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2340         (__sha256_finish_ctx): Likewise.
2341         (__sha256_process_bytes): Likewise.
2342         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2343         (__sha512_finish_ctx): Likewise.
2344         (__sha512_process_bytes): Likewise.
2345         * ctype/isctype.c (__isctype): Likewise.
2346         * debug/backtrace.c (__backtrace): Likewise.
2347         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2348         * debug/fgets_chk.c (__fgets_chk): Likewise.
2349         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2350         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2351         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2352         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2353         * debug/memset_chk.c (__memset_chk): Likewise.
2354         * debug/strcat_chk.c (__strcat_chk): Likewise.
2355         * debug/strncat_chk.c (__strncat_chk): Likewise.
2356         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2357         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2358         * dirent/dirfd.c (dirfd): Likewise.
2359         * dirent/getdents.c (__getdirentries): Likewise.
2360         * dirent/getdents64.c (getdirentries64): Likewise.
2361         * dirent/rewinddir.c (__rewinddir): Likewise.
2362         * dirent/seekdir.c (seekdir): Likewise.
2363         * dirent/telldir.c (telldir): Likewise.
2364         * elf/sln.c (makesymlinks): Likewise.
2365         (makesymlink): Likewise.
2366         * gmon/gmon.c (__moncontrol): Likewise.
2367         (__monstartup): Likewise.
2368         (write_hist): Likewise.
2369         (write_call_graph): Likewise.
2370         (write_bb_counts): Likewise.
2371         * grp/setgroups.c (setgroups): Likewise.
2372         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2373         * inet/inet_net.c (inet_network): Likewise.
2374         * inet/inet_netof.c (inet_netof): Likewise.
2375         * inet/rcmd.c (rresvport_af): Likewise.
2376         (rresvport): Likewise.
2377         * io/access.c (__access): Likewise.
2378         * io/chdir.c (__chdir): Likewise.
2379         * io/chmod.c (__chmod): Likewise.
2380         * io/chown.c (__chown): Likewise.
2381         * io/close.c (__close): Likewise.
2382         * io/creat.c (creat): Likewise.
2383         * io/creat64.c (creat64): Likewise.
2384         * io/dup.c (__dup): Likewise.
2385         * io/dup2.c (__dup2): Likewise.
2386         * io/dup3.c (__dup3): Likewise.
2387         * io/euidaccess.c (__euidaccess): Likewise.
2388         * io/faccessat.c (faccessat): Likewise.
2389         * io/fchmod.c (__fchmod): Likewise.
2390         * io/fchmodat.c (fchmodat): Likewise.
2391         * io/fchown.c (__fchown): Likewise.
2392         * io/fchownat.c (fchownat): Likewise.
2393         * io/fcntl.c (__fcntl): Likewise.
2394         * io/flock.c (__flock): Likewise.
2395         * io/fts.c (fts_load): Likewise.
2396         (fts_close): Likewise.
2397         (fts_read): Likewise.
2398         (fts_set): Likewise.
2399         (fts_children): Likewise.
2400         (fts_build): Likewise.
2401         (fts_stat): Likewise.
2402         (fts_sort): Likewise.
2403         (fts_alloc): Likewise.
2404         (fts_lfree): Likewise.
2405         (fts_palloc): Likewise.
2406         (fts_padjust): Likewise.
2407         (fts_maxarglen): Likewise.
2408         (fts_safe_changedir): Likewise.
2409         * io/getwd.c (getwd): Likewise.
2410         * io/isatty.c (__isatty): Likewise.
2411         * io/lchown.c (__lchown): Likewise.
2412         * io/link.c (__link): Likewise.
2413         * io/linkat.c (linkat): Likewise.
2414         * io/lseek.c (__libc_lseek): Likewise.
2415         * io/mkdir.c (__mkdir): Likewise.
2416         * io/mkdirat.c (mkdirat): Likewise.
2417         * io/mkfifo.c (mkfifo): Likewise.
2418         * io/mkfifoat.c (mkfifoat): Likewise.
2419         * io/open.c (__libc_open): Likewise.
2420         * io/open64.c (__libc_open64): Likewise.
2421         * io/readlink.c (__readlink): Likewise.
2422         * io/readlinkat.c (readlinkat): Likewise.
2423         * io/rmdir.c (__rmdir): Likewise.
2424         * io/symlink.c (__symlink): Likewise.
2425         * io/symlinkat.c (symlinkat): Likewise.
2426         * io/ttyname.c (ttyname): Likewise.
2427         * io/ttyname_r.c (__ttyname_r): Likewise.
2428         * io/umask.c (__umask): Likewise.
2429         * io/unlink.c (__unlink): Likewise.
2430         * io/unlinkat.c (unlinkat): Likewise.
2431         * io/utime.c (utime): Likewise.
2432         * libio/clearerr.c (clearerr): Likewise.
2433         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2434         * libio/feof.c (_IO_feof): Likewise.
2435         * libio/feof_u.c (feof_unlocked): Likewise.
2436         * libio/ferror.c (_IO_ferror): Likewise.
2437         * libio/ferror_u.c (ferror_unlocked): Likewise.
2438         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2439         * libio/fileno.c (__fileno): Likewise.
2440         * libio/fputc.c (fputc): Likewise.
2441         * libio/fputc_u.c (fputc_unlocked): Likewise.
2442         * libio/fputwc.c (fputwc): Likewise.
2443         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2444         * libio/freopen.c (freopen): Likewise.
2445         * libio/freopen64.c (freopen64): Likewise.
2446         * libio/fseek.c (fseek): Likewise.
2447         * libio/fseeko.c (fseeko): Likewise.
2448         * libio/fseeko64.c (fseeko64): Likewise.
2449         * libio/ftello.c (__ftello): Likewise.
2450         * libio/ftello64.c (ftello64): Likewise.
2451         * libio/fwide.c (fwide): Likewise.
2452         * libio/genops.c (_IO_un_link): Likewise.
2453         (_IO_link_in): Likewise.
2454         (_IO_least_marker): Likewise.
2455         (_IO_switch_to_main_get_area): Likewise.
2456         (_IO_switch_to_backup_area): Likewise.
2457         (_IO_switch_to_get_mode): Likewise.
2458         (_IO_free_backup_area): Likewise.
2459         (_IO_switch_to_put_mode): Likewise.
2460         (__overflow): Likewise.
2461         (__underflow): Likewise.
2462         (__uflow): Likewise.
2463         (_IO_setb): Likewise.
2464         (_IO_doallocbuf): Likewise.
2465         (_IO_default_underflow): Likewise.
2466         (_IO_default_uflow): Likewise.
2467         (_IO_default_xsputn): Likewise.
2468         (_IO_sgetn): Likewise.
2469         (_IO_default_xsgetn): Likewise.
2470         (_IO_sync): Likewise.
2471         (_IO_default_setbuf): Likewise.
2472         (_IO_default_seekpos): Likewise.
2473         (_IO_default_doallocate): Likewise.
2474         (_IO_init): Likewise.
2475         (_IO_old_init): Likewise.
2476         (_IO_default_sync): Likewise.
2477         (_IO_default_finish): Likewise.
2478         (_IO_default_seekoff): Likewise.
2479         (_IO_sputbackc): Likewise.
2480         (_IO_sungetc): Likewise.
2481         (_IO_set_column): Likewise.
2482         (_IO_set_column): Likewise.
2483         (_IO_adjust_column): Likewise.
2484         (_IO_get_column): Likewise.
2485         (_IO_init_marker): Likewise.
2486         (_IO_remove_marker): Likewise.
2487         (_IO_marker_difference): Likewise.
2488         (_IO_marker_delta): Likewise.
2489         (_IO_seekmark): Likewise.
2490         (_IO_unsave_markers): Likewise.
2491         (_IO_nobackup_pbackfail): Likewise.
2492         (_IO_default_pbackfail): Likewise.
2493         (_IO_default_seek): Likewise.
2494         (_IO_default_stat): Likewise.
2495         (_IO_default_read): Likewise.
2496         (_IO_default_write): Likewise.
2497         (_IO_default_showmanyc): Likewise.
2498         (_IO_default_imbue): Likewise.
2499         (_IO_iter_next): Likewise.
2500         (_IO_iter_file): Likewise.
2501         * libio/getc.c (_IO_getc): Likewise.
2502         * libio/getwc.c (_IO_getwc): Likewise.
2503         * libio/iofclose.c (_IO_new_fclose): Likewise.
2504         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2505         * libio/iofflush.c (_IO_fflush): Likewise.
2506         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2507         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2508         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2509         * libio/iofgets.c (_IO_fgets): Likewise.
2510         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2511         * libio/iofgetws.c (fgetws): Likewise.
2512         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2513         * libio/iofopen64.c (_IO_fopen64): Likewise.
2514         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2515         (_IO_cookie_write): Likewise.
2516         (_IO_cookie_seek): Likewise.
2517         (_IO_cookie_close): Likewise.
2518         (_IO_cookie_seekoff): Likewise.
2519         (_IO_old_cookie_seek): Likewise.
2520         * libio/iofputs.c (_IO_fputs): Likewise.
2521         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2522         * libio/iofputws.c (fputws): Likewise.
2523         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2524         * libio/iofread.c (_IO_fread): Likewise.
2525         * libio/iofread_u.c (__fread_unlocked): Likewise.
2526         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2527         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2528         * libio/ioftell.c (_IO_ftell): Likewise.
2529         * libio/iofwrite.c (_IO_fwrite): Likewise.
2530         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2531         * libio/iogets.c (_IO_gets): Likewise.
2532         * libio/iopadn.c (_IO_padn): Likewise.
2533         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2534         (_IO_new_popen): Likewise.
2535         (_IO_new_proc_close): Likewise.
2536         * libio/ioputs.c (_IO_puts): Likewise.
2537         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2538         (_IO_seekoff): Likewise.
2539         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2540         (_IO_seekpos): Likewise.
2541         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2542         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2543         * libio/ioungetc.c (_IO_ungetc): Likewise.
2544         * libio/ioungetwc.c (ungetwc): Likewise.
2545         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2546         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2547         * libio/iowpadn.c (_IO_wpadn): Likewise.
2548         * libio/libc_fatal.c (__libc_fatal): Likewise.
2549         * libio/memstream.c (__open_memstream): Likewise.
2550         (_IO_mem_sync): Likewise.
2551         (_IO_mem_finish): Likewise.
2552         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2553         (_IO_old_file_close_it): Likewise.
2554         (_IO_old_file_finish): Likewise.
2555         (_IO_old_file_fopen): Likewise.
2556         (_IO_old_file_attach): Likewise.
2557         (_IO_old_file_setbuf): Likewise.
2558         (_IO_old_do_write): Likewise.
2559         (old_do_write): Likewise.
2560         (_IO_old_file_underflow): Likewise.
2561         (_IO_old_file_overflow): Likewise.
2562         (_IO_old_file_sync): Likewise.
2563         (_IO_old_file_seekoff): Likewise.
2564         (_IO_old_file_write): Likewise.
2565         (_IO_old_file_xsputn): Likewise.
2566         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2567         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2568         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2569         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2570         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2571         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2572         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2573         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2574         (_IO_old_popen): Likewise.
2575         (_IO_old_proc_close): Likewise.
2576         * libio/oldpclose.c (__old_pclose): Likewise.
2577         * libio/pclose.c (__new_pclose): Likewise.
2578         * libio/peekc.c (_IO_peekc_locked): Likewise.
2579         * libio/putc.c (_IO_putc): Likewise.
2580         * libio/putc_u.c (putc_unlocked): Likewise.
2581         * libio/putchar.c (putchar): Likewise.
2582         * libio/putchar_u.c (putchar_unlocked): Likewise.
2583         * libio/putwc.c (putwc): Likewise.
2584         * libio/putwc_u.c (putwc_unlocked): Likewise.
2585         * libio/putwchar.c (putwchar): Likewise.
2586         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2587         * libio/rewind.c (rewind): Likewise.
2588         * libio/setbuf.c (setbuf): Likewise.
2589         * libio/setlinebuf.c (setlinebuf): Likewise.
2590         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2591         * libio/vscanf.c (_IO_vscanf): Likewise.
2592         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2593         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2594         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2595         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2596         (_IO_switch_to_main_wget_area): Likewise.
2597         (_IO_switch_to_wbackup_area): Likewise.
2598         (_IO_wsetb): Likewise.
2599         (_IO_wdefault_pbackfail): Likewise.
2600         (_IO_wdefault_finish): Likewise.
2601         (_IO_wdefault_uflow): Likewise.
2602         (__woverflow): Likewise.
2603         (__wuflow): Likewise.
2604         (__wunderflow): Likewise.
2605         (_IO_wdefault_xsputn): Likewise.
2606         (_IO_wdefault_xsgetn): Likewise.
2607         (_IO_wdoallocbuf): Likewise.
2608         (_IO_wdefault_doallocate): Likewise.
2609         (_IO_switch_to_wget_mode): Likewise.
2610         (_IO_free_wbackup_area): Likewise.
2611         (_IO_switch_to_wput_mode): Likewise.
2612         (_IO_sputbackwc): Likewise.
2613         (_IO_sungetwc): Likewise.
2614         (_IO_adjust_wcolumn): Likewise.
2615         (_IO_init_wmarker): Likewise.
2616         (_IO_wmarker_delta): Likewise.
2617         (_IO_seekwmark): Likewise.
2618         (_IO_unsave_wmarkers): Likewise.
2619         * libio/wmemstream.c (open_wmemstream): Likewise.
2620         (_IO_wmem_sync): Likewise.
2621         (_IO_wmem_finish): Likewise.
2622         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2623         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2624         * locale/programs/simple-hash.c (init_hash): Likewise.
2625         (delete_hash): Likewise.
2626         (insert_entry): Likewise.
2627         (set_entry): Likewise.
2628         (next_prime): Likewise.
2629         (is_prime): Likewise.
2630         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2631         (xmalloc): Likewise.
2632         (xrealloc): Likewise.
2633         * locale/programs/xstrdup.c (xstrdup): Likewise.
2634         * localedata/collate-test.c (xstrcoll): Likewise.
2635         * localedata/xfrm-test.c (xstrcmp): Likewise.
2636         * login/getlogin_r.c (__getlogin_r): Likewise.
2637         * login/getpt.c (__posix_openpt): Likewise.
2638         * login/login_tty.c (login_tty): Likewise.
2639         * login/setlogin.c (setlogin): Likewise.
2640         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2641         (mach_msg_destroy_port): Likewise.
2642         (mach_msg_destroy_memory): Likewise.
2643         * malloc/mcheck.c (flood): Likewise.
2644         * misc/acct.c (acct): Likewise.
2645         * misc/brk.c (__brk): Likewise.
2646         * misc/chflags.c (chflags): Likewise.
2647         * misc/chroot.c (chroot): Likewise.
2648         * misc/fchflags.c (fchflags): Likewise.
2649         * misc/fstab.c (getfsspec): Likewise.
2650         (getfsfile): Likewise.
2651         * misc/fsync.c (fsync): Likewise.
2652         * misc/ftruncate.c (__ftruncate): Likewise.
2653         * misc/ftruncate64.c (__ftruncate64): Likewise.
2654         * misc/getdomain.c (getdomainname): Likewise.
2655         (getdomainname): Likewise.
2656         * misc/gethostname.c (__gethostname): Likewise.
2657         * misc/getpass.c (getpass): Likewise.
2658         * misc/getttyent.c (skip): Likewise.
2659         (value): Likewise.
2660         * misc/gtty.c (gtty): Likewise.
2661         * misc/hsearch.c (hsearch): Likewise.
2662         (hcreate): Likewise.
2663         * misc/hsearch_r.c (__hcreate_r): Likewise.
2664         (__hdestroy_r): Likewise.
2665         * misc/ioctl.c (__ioctl): Likewise.
2666         * misc/mkdtemp.c (mkdtemp): Likewise.
2667         * misc/mkostemp.c (mkostemp): Likewise.
2668         * misc/mkostemp64.c (mkostemp64): Likewise.
2669         * misc/mkostemps.c (mkostemps): Likewise.
2670         * misc/mkostemps64.c (mkostemps64): Likewise.
2671         * misc/mkstemp.c (mkstemp): Likewise.
2672         * misc/mkstemp64.c (mkstemp64): Likewise.
2673         * misc/mkstemps.c (mkstemps): Likewise.
2674         * misc/mkstemps64.c (mkstemps64): Likewise.
2675         * misc/mktemp.c (__mktemp): Likewise.
2676         * misc/preadv.c (preadv): Likewise.
2677         * misc/preadv64.c (preadv64): Likewise.
2678         * misc/pwritev.c (pwritev): Likewise.
2679         * misc/pwritev64.c (pwritev64): Likewise.
2680         * misc/readv.c (__readv): Likewise.
2681         * misc/revoke.c (revoke): Likewise.
2682         * misc/setdomain.c (setdomainname): Likewise.
2683         * misc/setegid.c (setegid): Likewise.
2684         * misc/seteuid.c (seteuid): Likewise.
2685         * misc/sethostid.c (sethostid): Likewise.
2686         * misc/sethostname.c (sethostname): Likewise.
2687         * misc/setregid.c (__setregid): Likewise.
2688         * misc/setreuid.c (__setreuid): Likewise.
2689         * misc/sstk.c (sstk): Likewise.
2690         * misc/stty.c (stty): Likewise.
2691         * misc/syscall.c (syscall): Likewise.
2692         * misc/syslog.c (setlogmask): Likewise.
2693         * misc/truncate.c (__truncate): Likewise.
2694         * misc/truncate64.c (truncate64): Likewise.
2695         * misc/ualarm.c (ualarm): Likewise.
2696         * misc/usleep.c (usleep): Likewise.
2697         * misc/ustat.c (ustat): Likewise.
2698         * misc/writev.c (__writev): Likewise.
2699         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2700         * nptl/old_pthread_cond_broadcast.c
2701         (__pthread_cond_broadcast_2_0): Likewise.
2702         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2703         Likewise.
2704         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2705         Likewise.
2706         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2707         Likewise.
2708         * nptl/pt-raise.c (raise): Likewise.
2709         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2710         Likewise.
2711         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2712         * nptl/pthread_barrierattr_destroy.c
2713         (pthread_barrierattr_destroy): Likewise.
2714         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2715         Likewise.
2716         * nptl/pthread_barrierattr_setpshared.c
2717         (pthread_barrierattr_setpshared): Likewise.
2718         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2719         Likewise.
2720         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2721         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2722         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2723         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2724         Likewise.
2725         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2726         Likewise.
2727         * nptl/pthread_condattr_getpshared.c
2728         (pthread_condattr_getpshared): Likewise.
2729         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2730         Likewise.
2731         * nptl/pthread_condattr_setpshared.c
2732         (pthread_condattr_setpshared): Likewise.
2733         * nptl/pthread_detach.c (pthread_detach): Likewise.
2734         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2735         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2736         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2737         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2738         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2739         Likewise.
2740         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2741         Likewise.
2742         * nptl/pthread_mutex_getprioceiling.c
2743         (pthread_mutex_getprioceiling): Likewise.
2744         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2745         Likewise.
2746         * nptl/pthread_mutexattr_getprotocol.c
2747         (pthread_mutexattr_getprotocol): Likewise.
2748         * nptl/pthread_mutexattr_getpshared.c
2749         (pthread_mutexattr_getpshared): Likewise.
2750         * nptl/pthread_mutexattr_getrobust.c
2751         (pthread_mutexattr_getrobust): Likewise.
2752         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2753         Likewise.
2754         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2755         Likewise.
2756         * nptl/pthread_mutexattr_setprioceiling.c
2757         (pthread_mutexattr_setprioceiling): Likewise.
2758         * nptl/pthread_mutexattr_setprotocol.c
2759         (pthread_mutexattr_setprotocol): Likewise.
2760         * nptl/pthread_mutexattr_setpshared.c
2761         (pthread_mutexattr_setpshared): Likewise.
2762         * nptl/pthread_mutexattr_setrobust.c
2763         (pthread_mutexattr_setrobust): Likewise.
2764         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2765         Likewise.
2766         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2767         Likewise.
2768         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2769         Likewise.
2770         * nptl/pthread_rwlockattr_getkind_np.c
2771         (pthread_rwlockattr_getkind_np): Likewise.
2772         * nptl/pthread_rwlockattr_getpshared.c
2773         (pthread_rwlockattr_getpshared): Likewise.
2774         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2775         Likewise.
2776         * nptl/pthread_rwlockattr_setkind_np.c
2777         (pthread_rwlockattr_setkind_np): Likewise.
2778         * nptl/pthread_rwlockattr_setpshared.c
2779         (pthread_rwlockattr_setpshared): Likewise.
2780         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2781         Likewise.
2782         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2783         Likewise.
2784         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2785         Likewise.
2786         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2787         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2788         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2789         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2790         * nptl/sem_close.c (sem_close): Likewise.
2791         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2792         * nptl/sem_init.c (__old_sem_init): Likewise.
2793         * nptl/sigaction.c (__sigaction): Likewise.
2794         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2795         * posix/_exit.c (_exit): Likewise.
2796         * posix/alarm.c (alarm): Likewise.
2797         * posix/confstr.c (confstr): Likewise.
2798         * posix/fpathconf.c (__fpathconf): Likewise.
2799         * posix/getgroups.c (__getgroups): Likewise.
2800         * posix/getpgid.c (__getpgid): Likewise.
2801         * posix/group_member.c (__group_member): Likewise.
2802         * posix/pathconf.c (__pathconf): Likewise.
2803         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2804         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2805         * posix/setgid.c (__setgid): Likewise.
2806         * posix/setpgid.c (__setpgid): Likewise.
2807         * posix/setuid.c (__setuid): Likewise.
2808         * posix/sleep.c (__sleep): Likewise.
2809         * posix/sysconf.c (__sysconf): Likewise.
2810         * posix/times.c (__times): Likewise.
2811         * posix/uname.c (__uname): Likewise.
2812         * posix/waitid.c (__waitid): Likewise.
2813         * pwd/getpw.c (__getpw): Likewise.
2814         * resolv/base64.c (b64_pton): Likewise.
2815         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2816         * resolv/gethnamaddr.c (Dprintf): Likewise.
2817         (gethostbyname): Likewise.
2818         (gethostbyname2): Likewise.
2819         (gethostbyaddr): Likewise.
2820         (_sethtent): Likewise.
2821         (_gethtbyname): Likewise.
2822         (_gethtbyname2): Likewise.
2823         (_gethtbyaddr): Likewise.
2824         (map_v4v6_address): Likewise.
2825         (map_v4v6_hostent): Likewise.
2826         (addrsort): Likewise.
2827         (ht_sethostent): Likewise.
2828         (ht_gethostbyname): Likewise.
2829         (ht_gethostbyaddr): Likewise.
2830         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2831         (inet_net_ntop_ipv4): Likewise.
2832         * resolv/inet_neta.c (inet_neta): Likewise.
2833         * resolv/inet_ntop.c (inet_ntop): Likewise.
2834         (inet_ntop4): Likewise.
2835         (inet_ntop6): Likewise.
2836         * resolv/inet_pton.c (__inet_pton): Likewise.
2837         (inet_pton4): Likewise.
2838         (inet_pton6): Likewise.
2839         * resolv/res_debug.c (loc_aton): Likewise.
2840         (loc_ntoa): Likewise.
2841         * resource/getpriority.c (__getpriority): Likewise.
2842         * resource/getrusage.c (__getrusage): Likewise.
2843         * resource/nice.c (nice): Likewise.
2844         * resource/setpriority.c (__setpriority): Likewise.
2845         * resource/setrlimit64.c (setrlimit64): Likewise.
2846         * resource/vlimit.c (vlimit): Likewise.
2847         * resource/vtimes.c (vtimes): Likewise.
2848         * rt/aio_error.c (aio_error): Likewise.
2849         * rt/aio_return.c (aio_return): Likewise.
2850         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2851         * signal/kill.c (__kill): Likewise.
2852         * signal/killpg.c (killpg): Likewise.
2853         * signal/raise.c (raise): Likewise.
2854         * signal/sigaction.c (__sigaction): Likewise.
2855         * signal/sigaddset.c (sigaddset): Likewise.
2856         * signal/sigaltstack.c (sigaltstack): Likewise.
2857         * signal/sigandset.c (sigandset): Likewise.
2858         * signal/sigblock.c (__sigblock): Likewise.
2859         * signal/sigdelset.c (sigdelset): Likewise.
2860         * signal/sigempty.c (sigemptyset): Likewise.
2861         * signal/sigfillset.c (sigfillset): Likewise.
2862         * signal/sighold.c (sighold): Likewise.
2863         * signal/sigignore.c (sigignore): Likewise.
2864         * signal/sigintr.c (siginterrupt): Likewise.
2865         * signal/sigisempty.c (sigisemptyset): Likewise.
2866         * signal/sigismem.c (sigismember): Likewise.
2867         * signal/signal.c (signal): Likewise.
2868         * signal/sigorset.c (sigorset): Likewise.
2869         * signal/sigpause.c (__sigpause): Likewise.
2870         * signal/sigpending.c (sigpending): Likewise.
2871         * signal/sigprocmask.c (__sigprocmask): Likewise.
2872         * signal/sigrelse.c (sigrelse): Likewise.
2873         * signal/sigreturn.c (__sigreturn): Likewise.
2874         * signal/sigset.c (sigset): Likewise.
2875         * signal/sigsetmask.c (__sigsetmask): Likewise.
2876         * signal/sigstack.c (sigstack): Likewise.
2877         * signal/sigsuspend.c (__sigsuspend): Likewise.
2878         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
2879         * signal/sysv_signal.c (__sysv_signal): Likewise.
2880         * socket/accept.c (accept): Likewise.
2881         * socket/accept4.c (__libc_accept4): Likewise.
2882         * socket/bind.c (__bind): Likewise.
2883         * socket/connect.c (__connect): Likewise.
2884         * socket/getpeername.c (getpeername): Likewise.
2885         * socket/getsockname.c (__getsockname): Likewise.
2886         * socket/getsockopt.c (getsockopt): Likewise.
2887         * socket/listen.c (__listen): Likewise.
2888         * socket/recv.c (__recv): Likewise.
2889         * socket/recvmsg.c (__recvmsg): Likewise.
2890         * socket/send.c (__send): Likewise.
2891         * socket/sendmsg.c (__sendmsg): Likewise.
2892         * socket/shutdown.c (shutdown): Likewise.
2893         * socket/sockatmark.c (sockatmark): Likewise.
2894         * socket/socket.c (__socket): Likewise.
2895         * stdio-common/ctermid.c (ctermid): Likewise.
2896         * stdio-common/cuserid.c (cuserid): Likewise.
2897         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
2898         * stdio-common/remove.c (remove): Likewise.
2899         * stdio-common/rename.c (rename): Likewise.
2900         * stdio-common/renameat.c (renameat): Likewise.
2901         * stdio-common/tempname.c (__gen_tempname): Likewise.
2902         * stdio-common/xbug.c (InitBuffer): Likewise.
2903         (AppendToBuffer): Likewise.
2904         (ReadFile): Likewise.
2905         * stdlib/a64l.c (a64l): Likewise.
2906         * stdlib/drand48_r.c (drand48_r): Likewise.
2907         * stdlib/getcontext.c (getcontext): Likewise.
2908         * stdlib/getenv.c (getenv): Likewise.
2909         * stdlib/l64a.c (l64a): Likewise.
2910         * stdlib/llabs.c (llabs): Likewise.
2911         * stdlib/lldiv.c (lldiv): Likewise.
2912         * stdlib/lrand48_r.c (lrand48_r): Likewise.
2913         * stdlib/mrand48_r.c (mrand48_r): Likewise.
2914         * stdlib/putenv.c (putenv): Likewise.
2915         * stdlib/random.c (__srandom): Likewise.
2916         (__initstate): Likewise.
2917         (__setstate): Likewise.
2918         * stdlib/random_r.c (__srandom_r): Likewise.
2919         (__setstate_r): Likewise.
2920         (__random_r): Likewise.
2921         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
2922         * stdlib/setcontext.c (setcontext): Likewise.
2923         * stdlib/setenv.c (setenv): Likewise.
2924         (unsetenv): Likewise.
2925         * stdlib/srand48.c (srand48): Likewise.
2926         * stdlib/srand48_r.c (__srand48_r): Likewise.
2927         * stdlib/swapcontext.c (swapcontext): Likewise.
2928         * stdlib/system.c (__libc_system): Likewise.
2929         * stdlib/tst-strtod.c (expand): Likewise.
2930         * stdlib/tst-strtol.c (expand): Likewise.
2931         * stdlib/tst-strtoll.c (expand): Likewise.
2932         * streams/fattach.c (fattach): Likewise.
2933         * streams/fdetach.c (fdetach): Likewise.
2934         * streams/getmsg.c (getmsg): Likewise.
2935         * streams/isastream.c (isastream): Likewise.
2936         * string/ffs.c (__ffs): Likewise.
2937         * string/ffsll.c (ffsll): Likewise.
2938         * string/memcmp.c (memcmp_common_alignment): Likewise.
2939         (memcmp_not_common_alignment): Likewise.
2940         (MEMCMP): Likewise.
2941         * string/memcpy.c (memcpy): Likewise.
2942         * string/memmove.c (MEMMOVE): Likewise.
2943         * string/memset.c (memset): Likewise.
2944         * string/rawmemchr.c (RAWMEMCHR): Likewise.
2945         * string/strchrnul.c (STRCHRNUL): Likewise.
2946         * string/strerror.c (strerror): Likewise.
2947         * string/strndup.c (__strndup): Likewise.
2948         * string/strverscmp.c (__strverscmp): Likewise.
2949         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
2950         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
2951         (clnttcp_freeres): Likewise.
2952         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
2953         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
2954         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
2955         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
2956         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
2957         (xdr_callhdr): Likewise.
2958         * sunrpc/rpcinfo.c (udpping): Likewise.
2959         (tcpping): Likewise.
2960         (pstatus): Likewise.
2961         (pmapdump): Likewise.
2962         (brdcst): Likewise.
2963         (deletereg): Likewise.
2964         (getprognum): Likewise.
2965         (getvers): Likewise.
2966         (get_inet_address): Likewise.
2967         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
2968         * sunrpc/svc_udp.c (svcudp_create): Likewise.
2969         (svcudp_stat): Likewise.
2970         (svcudp_recv): Likewise.
2971         (svcudp_reply): Likewise.
2972         (svcudp_getargs): Likewise.
2973         (svcudp_freeargs): Likewise.
2974         (svcudp_destroy): Likewise.
2975         * sunrpc/xdr.c (xdr_bytes): Likewise.
2976         (xdr_netobj): Likewise.
2977         (xdr_string): Likewise.
2978         (xdr_wrapstring): Likewise.
2979         * sunrpc/xdr_float.c (xdr_float): Likewise.
2980         (xdr_double): Likewise.
2981         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
2982         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
2983         * sysvipc/ftok.c (ftok): Likewise.
2984         * sysvipc/msgctl.c (msgctl): Likewise.
2985         * sysvipc/msgget.c (msgget): Likewise.
2986         * sysvipc/msgrcv.c (msgrcv): Likewise.
2987         * sysvipc/msgsnd.c (msgsnd): Likewise.
2988         * sysvipc/semget.c (semget): Likewise.
2989         * sysvipc/semop.c (semop): Likewise.
2990         * sysvipc/shmat.c (shmat): Likewise.
2991         * sysvipc/shmctl.c (shmctl): Likewise.
2992         * sysvipc/shmdt.c (shmdt): Likewise.
2993         * sysvipc/shmget.c (shmget): Likewise.
2994         * termios/cfmakeraw.c (cfmakeraw): Likewise.
2995         * termios/speed.c (cfgetospeed): Likewise.
2996         (cfgetispeed): Likewise.
2997         (cfsetospeed): Likewise.
2998         (cfsetispeed): Likewise.
2999         * termios/tcflow.c (tcflow): Likewise.
3000         * termios/tcflush.c (tcflush): Likewise.
3001         * termios/tcgetattr.c (__tcgetattr): Likewise.
3002         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3003         * termios/tcgetsid.c (tcgetsid): Likewise.
3004         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3005         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3006         * time/adjtime.c (__adjtime): Likewise.
3007         * time/dysize.c (dysize): Likewise.
3008         * time/ftime.c (ftime): Likewise.
3009         * time/getitimer.c (__getitimer): Likewise.
3010         * time/gettimeofday.c (__gettimeofday): Likewise.
3011         * time/gmtime.c (__gmtime_r): Likewise.
3012         (gmtime): Likewise.
3013         * time/localtime.c (__localtime_r): Likewise.
3014         (localtime): Likewise.
3015         * time/offtime.c (__offtime): Likewise.
3016         * time/settimeofday.c (__settimeofday): Likewise.
3017         * time/stime.c (stime): Likewise.
3018         * time/strftime_l.c (tm_diff): Likewise.
3019         (iso_week_days): Likewise.
3020         * time/strptime.c (strptime): Likewise.
3021         * time/time.c (time): Likewise.
3022         * time/timespec_get.c (timespec_get): Likewise.
3023         * time/tzset.c (tzset_internal): Likewise.
3024         (compute_change): Likewise.
3025         (__tz_compute): Likewise.
3026         * wcsmbs/btowc.c (__btowc): Likewise.
3027         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3028         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3029         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3030         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3031         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3032         * wcsmbs/wcscat.c (__wcscat): Likewise.
3033         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3034         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3035         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3036         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3037         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3038         * wcsmbs/wcslen.c (__wcslen): Likewise.
3039         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3040         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3041         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3042         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3043         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3044         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3045         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3046         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3047         * wcsmbs/wcstok.c (wcstok): Likewise.
3048         * wcsmbs/wctob.c (wctob): Likewise.
3049         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3050         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3051         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3052         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3053         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3054         * wcsmbs/wmemset.c (__wmemset): Likewise.
3055         * wctype/wcfuncs.c (__towlower): Likewise.
3056         (__towupper): Likewise.
3058         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3059         (lll_unlock_elision): Add adapt_count parameter.
3061 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3063         * sysdeps/nptl/configure.ac: Do not give errors based on the
3064         results of top-level configure tests.
3065         * sysdeps/nptl/configure: Regenerated.
3067         * configure.ac (libc_cv_Bgroup): Remove configure test.
3068         * configure: Regenerated.
3069         * config.make.in (have-Bgroup): Remove variable.
3071         * configure.ac (sizeof_long_double): Remove configure test.
3072         * configure: Regenerated.
3073         * config.make.in (sizeof-long-double): Remove variable.
3075         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3076         * configure: Regenerated.
3077         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3078         variable.
3079         (exceptions): Likewise.
3080         * sysdeps/arm/configure: Regenerated.
3081         * config.make.in (exceptions): Remove variable.
3082         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3083         $(exceptions).
3084         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3085         (CFLAGS-vdprintf_chk.c): Likewise.
3086         (CFLAGS-printf_chk.c): Likewise.
3087         (CFLAGS-fprintf_chk.c): Likewise.
3088         (CFLAGS-vprintf_chk.c): Likewise.
3089         (CFLAGS-vfprintf_chk.c): Likewise.
3090         (CFLAGS-gets_chk.c): Likewise.
3091         (CFLAGS-fgets_chk.c): Likewise.
3092         (CFLAGS-fgets_u_chk.c): Likewise.
3093         (CFLAGS-fread_chk.c): Likewise.
3094         (CFLAGS-fread_u_chk.c): Likewise.
3095         (CFLAGS-wprintf_chk.c): Likewise.
3096         (CFLAGS-fwprintf_chk.c): Likewise.
3097         (CFLAGS-vwprintf_chk.c): Likewise.
3098         (CFLAGS-vfwprintf_chk.c): Likewise.
3099         (CFLAGS-fgetws_chk.c): Likewise.
3100         (CFLAGS-fgetws_u_chk.c): Likewise.
3101         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3102         (CFLAGS-fputc.c): Likewise.
3103         (CFLAGS-fputwc.c): Likewise.
3104         (CFLAGS-freopen64.c): Likewise.
3105         (CFLAGS-freopen.c): Likewise.
3106         (CFLAGS-fseek.c): Likewise.
3107         (CFLAGS-fseeko64.c): Likewise.
3108         (CFLAGS-fseeko.c): Likewise.
3109         (CFLAGS-ftello64.c): Likewise.
3110         (CFLAGS-ftello.c): Likewise.
3111         (CFLAGS-fwide.c): Likewise.
3112         (CFLAGS-genops.c): Likewise.
3113         (CFLAGS-getc.c): Likewise.
3114         (CFLAGS-getchar.c): Likewise.
3115         (CFLAGS-getwc.c): Likewise.
3116         (CFLAGS-getwchar.c): Likewise.
3117         (CFLAGS-iofclose.c): Likewise.
3118         (CFLAGS-iofflush.c): Likewise.
3119         (CFLAGS-iofgetpos64.c): Likewise.
3120         (CFLAGS-iofgetpos.c): Likewise.
3121         (CFLAGS-iofgets.c): Likewise.
3122         (CFLAGS-iofgetws.c): Likewise.
3123         (CFLAGS-iofputs.c): Likewise.
3124         (CFLAGS-iofputws.c): Likewise.
3125         (CFLAGS-iofread.c): Likewise.
3126         (CFLAGS-iofsetpos64.c): Likewise.
3127         (CFLAGS-iofsetpos.c): Likewise.
3128         (CFLAGS-ioftell.c): Likewise.
3129         (CFLAGS-iofwrite.c): Likewise.
3130         (CFLAGS-iogetdelim.c): Likewise.
3131         (CFLAGS-iogetline.c): Likewise.
3132         (CFLAGS-iogets.c): Likewise.
3133         (CFLAGS-iogetwline.c): Likewise.
3134         (CFLAGS-ioputs.c): Likewise.
3135         (CFLAGS-ioseekoff.c): Likewise.
3136         (CFLAGS-ioseekpos.c): Likewise.
3137         (CFLAGS-iosetbuffer.c): Likewise.
3138         (CFLAGS-iosetvbuf.c): Likewise.
3139         (CFLAGS-ioungetc.c): Likewise.
3140         (CFLAGS-ioungetwc.c): Likewise.
3141         (CFLAGS-oldfileops.c): Likewise.
3142         (CFLAGS-oldiofclose.c): Likewise.
3143         (CFLAGS-oldiofgetpos64.c): Likewise.
3144         (CFLAGS-oldiofgetpos.c): Likewise.
3145         (CFLAGS-oldiofsetpos64.c): Likewise.
3146         (CFLAGS-oldiofsetpos.c): Likewise.
3147         (CFLAGS-peekc.c): Likewise.
3148         (CFLAGS-putc.c): Likewise.
3149         (CFLAGS-putchar.c): Likewise.
3150         (CFLAGS-putwc.c): Likewise.
3151         (CFLAGS-putwchar.c): Likewise.
3152         (CFLAGS-rewind.c): Likewise.
3153         (CFLAGS-wfileops.c): Likewise.
3154         (CFLAGS-wgenops.c): Likewise.
3155         (CFLAGS-oldiofopen.c): Likewise.
3156         (CFLAGS-iofopen.c): Likewise.
3157         (CFLAGS-iofopen64.c): Likewise.
3158         (CFLAGS-oldtmpfile.c): Likewise.
3159         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3160         (CFLAGS-fprintf.c): Likewise.
3161         (CFLAGS-printf.c): Likewise.
3162         (CFLAGS-vfwprintf.c): Likewise.
3163         (CFLAGS-vfscanf.c): Likewise.
3164         (CFLAGS-vfwscanf.c): Likewise.
3165         (CFLAGS-fscanf.c): Likewise.
3166         (CFLAGS-scanf.c): Likewise.
3167         (CFLAGS-isoc99_vfscanf.c): Likewise.
3168         (CFLAGS-isoc99_vscanf.c): Likewise.
3169         (CFLAGS-isoc99_fscanf.c): Likewise.
3170         (CFLAGS-isoc99_scanf.c): Likewise.
3171         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3172         (CFLAGS-isoc99_fwscanf.c): Likewise.
3173         (CFLAGS-isoc99_vwscanf.c): Likewise.
3174         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3176         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3177         after mkstemp64.
3178         * login/tst-utmp.c (do_prepare): Likewise.
3179         * rt/tst-aio.c (do_prepare): Likewise.
3180         * rt/tst-aio64.c (do_prepare): Likewise.
3182 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3184         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3185         (__lll_lock_elision): Remove adapt_count decrement...
3186         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3187         (__lll_trylock_elision): Likewise.
3188         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3189         (__lll_unlock_elision): ... to here. And utilize
3190         new adapt_count parameter.
3191         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3192         (__lll_unlock_elision): Update to include adapt_count
3193         parameter.
3194         (lll_unlock_elision): Pass pointer to adapt_count
3195         variable.
3197 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3199         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3200         Add elision adapt_count parameter to list of arguments.
3201         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3202         (lll_unlock_elision): Update with new parameter list
3203         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3204         (lll_unlock_elision): Likewise
3205         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3206         (lll_unlock_elision): Likewise
3208 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3210         [BZ #19122]
3211         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3212         attribute_hidden.
3214         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3215         attribute_hidden.
3216         [IS_IN (rtld)] (__strdup): Likewise.
3217         [IS_IN (rtld)] (__strerror_r): Likewise.
3218         [IS_IN (rtld)] (__strsep_g): Likewise.
3219         [IS_IN (rtld)] (memchr): Likewise.
3220         [IS_IN (rtld)] (memcmp): Likewise.
3221         [IS_IN (rtld)] (memcpy): Likewise.
3222         [IS_IN (rtld)] (memmove): Likewise.
3223         [IS_IN (rtld)] (memset): Likewise.
3224         [IS_IN (rtld)] (rawmemchr): Likewise.
3225         [IS_IN (rtld)] (stpcpy): Likewise.
3226         [IS_IN (rtld)] (strchr): Likewise.
3227         [IS_IN (rtld)] (strcmp): Likewise.
3228         [IS_IN (rtld)] (strlen): Likewise.
3229         [IS_IN (rtld)] (strnlen): Likewise.
3230         [IS_IN (rtld)] (strsep): Likewise.
3232         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3233         attribute_hidden.
3234         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3236         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3237         attribute_hidden.
3238         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3240         * include/setjmp.h (__longjmp): Add attribute_hidden.
3241         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3243         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3244         Add attribute_hidden.
3246         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3247         [IS_IN (rtld)] (__open): Likewise.
3248         [IS_IN (rtld)] (__fcntl): Likewise.
3250         * include/dirent.h (__opendirat): Add attribute_hidden.
3251         (__getdents): Likewise.
3252         (__getdents64): Likewise.
3253         (__alloc_dir): Likewise.
3254         [IS_IN (rtld)] (__closedir): Likewise.
3255         [IS_IN (rtld)] (__fdopendir): Likewise.
3256         [IS_IN (rtld)] (__readdir): Likewise.
3257         [IS_IN (rtld)] (__readdir64): Likewise.
3258         [IS_IN (rtld)] (__rewinddir): Likewise.
3260         * include/dlfcn.h (_dl_catch_error): Moved to ...
3261         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3262         attribute_hidden.
3264         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3265         (_itoa_word): Likewise.
3267         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3268         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3269         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3270         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3271         (_dl_higher_prime_number): Likewise.
3272         (_dl_debug_printf_c): Likewise.
3273         (_dl_signal_cerror): Likewise.
3274         (_dl_receive_error): Likewise.
3275         (_dl_reloc_bad_type): Likewise.
3276         (_dl_resolve_conflicts): Likewise.
3277         (_dl_check_all_versions): Likewise.
3278         (_dl_check_map_versions): Likewise.
3279         (_dl_sort_fini): Likewise.
3280         (_dl_debug_initialize): Likewise.
3281         (_dl_init_paths): Likewise.
3282         (_dl_show_auxv): Likewise.
3283         (_dl_next_ld_env_entry): Likewise.
3284         (_dl_important_hwcaps): Likewise.
3285         (_dl_load_cache_lookup): Likewise.
3286         (_dl_update_slotinfo): Likewise.
3287         (_dl_show_scope): Likewise.
3289         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3290         attribute_hidden.
3291         (_wordcopy_fwd_dest_aligned): Likewise.
3292         (_wordcopy_bwd_aligned): Likewise.
3293         (_wordcopy_bwd_dest_aligned): Likewise.
3295         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3296         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3297         Likewise.
3298         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3299         Likewise.
3300         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3302 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3304         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3305         GCC 5 requirement.
3307 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3309         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3310         test.
3311         * sysdeps/i386/configure: Regenerated.
3312         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3313         code unconditional.
3315         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3316         test.
3317         (libc_cv_asm_popsection_directive): Likewise.
3318         * configure: Regenerated.
3319         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3320         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3321         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3322         (__make_section_unallocated): Make definition unconditional.
3323         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3324         Remove conditional definition.
3325         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3326         (__make_section_unallocated): Likewise.
3328         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3329         * configure: Regenerated.
3330         * config.make.in (static-libgcc): Remove variable.
3331         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3332         $(static-libgcc).
3333         (build-module-helper): Likewise.
3335         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3336         * configure: Regenerated.
3338 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3340         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3341         (struct char_buffer): New type.
3342         (char_buffer_start, char_buffer_size, char_buffer_error)
3343         (char_buffer_rewind, char_buffer_add): New functions.
3344         (ADDW): Remove macro, replaced by the char_buffer_add function.
3345         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3346         of extend_alloca.  Make control flow more explicit.
3348 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3350         [BZ #19137]
3351         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3352         Add -fomit-frame-pointer.
3353         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3355 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3357         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3358         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3359         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3360         only if !__GNUC_PREREQ (5,0).
3361         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3362         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3363         (INTERNAL_SYSCALL_NCS): Likewise.
3364         (LOADREGS_0): New macro for GCC 5.
3365         (ASMARGS_0): Likewise.
3366         (LOADREGS_1): Likewise.
3367         (ASMARGS_1): Likewise.
3368         (LOADREGS_2): Likewise.
3369         (ASMARGS_2): Likewise.
3370         (LOADREGS_3): Likewise.
3371         (ASMARGS_3): Likewise.
3372         (LOADREGS_4): Likewise.
3373         (ASMARGS_4): Likewise.
3374         (LOADREGS_5): Likewise.
3375         (ASMARGS_5): Likewise.
3376         (LOADREGS_6): Likewise.
3377         (ASMARGS_6): Likewise.
3379 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3381         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3382         -fomit-frame-pointer.
3383         (CFLAGS-mmap64.c): Likewise.
3384         (CFLAGS-semtimedop.c): Likewise.
3385         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3386         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3387         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3388         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3390 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3392         [BZ #18928]
3393         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3394         _dl_pointer_guard member.
3395         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3396         initializer.
3397         (security_init): Always set up pointer guard.
3398         (process_envvars): Do not process LD_POINTER_GUARD.
3400 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3402         [BZ #19134]
3403         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3404         (.LC2): Likewise.
3405         (.LC3): Likewise.
3406         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3408 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3410         [BZ #19129]
3411         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3412         r0 and r1.
3414 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3416         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3418 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3420         * include/stap-probe.h: Fix macro definition formatting.
3422 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3424         [BZ #19074]
3425         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3426         load and store num_ifs.
3428 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3430         [BZ #18822]
3431         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3432         (__sched_getaffinity_new): Add libc_hidden_proto and
3433         libc_hidden_def.
3435 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3437         [BZ #19007]
3438         * scripts/localplt.awk: Also allow GOT references.
3439         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3440         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3441         with "+ REL R_386_GLOB_DAT".
3442         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3443         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3445 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3447         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3448         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3449         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3450         Likewise.
3451         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3452         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3453         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3454         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3455         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3456         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3457         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3458         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3459         Likewise.
3460         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3462 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3464         [BZ #19125]
3465         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3466         <math_private.h> and <stdint.h>.
3467         (__llround): Avoid conversions to and from long long int, and
3468         subtractions, where those might raise spurious exceptions.
3469         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3470         <math_private.h> and <stdint.h>.
3471         (__llroundf): Avoid conversions to and from long long int, and
3472         subtractions, where those might raise spurious exceptions.
3474 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3476         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3477         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3478         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3479         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3480         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3481         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3482         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3483         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3484         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3485         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3486         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3487         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3488         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3489         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3490         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3491         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3492         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3493         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3494         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3495         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3496         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3497         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3498         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3499         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3500         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3501         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3502         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3503         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3504         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3505         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3506         (__xstat64_conv): Likewise.
3507         (__xstat32_conv): Likewise.
3509 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3511         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3512         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3513         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3514         <sysdeps/unix/sysv/linux/sysdep.h>.
3515         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3516         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3517         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3518         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3519         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3520         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3521         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3522         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3523         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3526         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3527         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3528         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3529         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3531         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3532         (sysdep-dl-routines): Add sysdep.
3533         [$(subdir) == nptl] (libpthread-routines): Likewise.
3534         [$(subdir) == rt] (librt-routines): Likewise.
3535         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3536         PIC when branching to SYSCALL_ERROR_LABEL.
3537         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3538         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3539         <sysdeps/unix/sysv/linux/sysdep.h>.
3540         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3541         (SYSCALL_ERROR_ERRNO): Removed.
3542         (SYSCALL_ERROR_HANDLER): Changed to empty.
3543         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3544         (__syscall_error): New prototype.
3545         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3546         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3548 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3550         [BZ #19124]
3551         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3552         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3553         _dl_runtime_resolve_avx.
3554         (_dl_runtime_profile_avx512): Make it a hidden alias of
3555         _dl_runtime_profile_avx.
3557 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3559         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3560         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3561         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3562         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3564         [BZ #16422]
3565         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3566         New configure test.
3567         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3568         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3569         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3570         <math_private.h> and <stdint.h>.
3571         (__llrint): Avoid conversions to long long int where those might
3572         raise spurious exceptions.
3573         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3574         <math_private.h> and <stdint.h>.
3575         (__llrintf): Avoid conversions to long long int where those might
3576         raise spurious exceptions.
3578 2015-10-12  Andreas Schwab  <schwab@suse.de>
3580         [BZ #18969]
3581         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3582         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3583         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3584         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3585         $(gen-locales).
3586         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3587         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3588         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3589         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3590         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3591         $(gen-locales).
3592         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3593         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3594         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3595         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3596         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3597         ($(objpfx)tst-ftell-active-handler.out)
3598         ($(objpfx)tst-ftell-append.out)
3599         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3600         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3601         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3602         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3603         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3604         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3605         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3606         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3607         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3608         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3609         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3610         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3611         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3612         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3613         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3614         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3615         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3616         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3617         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3618         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3619         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3620         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3621         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3622         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3623         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3624         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3625         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3626         $(gen-locales).
3627         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3628         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3629         $(gen-locales).
3630         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3631         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3632         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3633         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3634         $(gen-locales).
3635         * libio/tst_wprintf2.c (main): Use explicit locale.
3636         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3638 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3640         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3641         __msg_sig_post.
3642         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3644 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3646         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3647         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3649         * sysdeps/arm/libm-test-ulps: Regenerated.
3651         [BZ #15470]
3652         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3654         [BZ #16399]
3655         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3656         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3657         and <fix-fp-int-convert-overflow.h>.
3658         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3659         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3660         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3661         and <fix-fp-int-convert-overflow.h>.
3662         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3663         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3664         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3665         <fix-fp-int-convert-overflow.h>.
3666         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3667         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3668         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3669         <fix-fp-int-convert-overflow.h>.
3670         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3671         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3672         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3673         and <fix-fp-int-convert-overflow.h>.
3674         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3675         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3676         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3677         <limits.h> and <fix-fp-int-convert-overflow.h>.
3678         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3679         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3680         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3681         and <fix-fp-int-convert-overflow.h>.
3682         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3683         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3684         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3685         and <fix-fp-int-convert-overflow.h>.
3686         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3687         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3688         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3690 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3692         [BZ #18589]
3693         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3694         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3695         $(gen-locales).
3697 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3698             Phil Blundell <pb@pbcl.net>
3700         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3701         * nptl/tst-cancel26.c: New file.
3702         * nptl/tst-cancel27.c: Likewise.
3704 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3706         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3707         __ILP32__ isn't defined.
3708         (lrint): Likewise.
3709         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3710         (lrintf): Likewise.
3711         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3712         (lrintl): Likewise.
3713         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3714         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3715         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3717 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3719         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3720         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3722         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3723         file.
3724         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3725         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3727 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3729         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3730         configure test.
3731         * sysdeps/i386/configure: Regenerated.
3732         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3733         configure test.
3734         * sysdeps/x86_64/configure: Regenerated.
3735         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3736         Make code unconditional.
3738         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3739         test.
3740         * sysdeps/i386/configure: Regenerated.
3741         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3742         test.
3743         * sysdeps/x86_64/configure: Regenerated.
3744         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3745         Make code unconditional.
3746         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3747         Likewise.
3748         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3749         Likewise.
3750         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3751         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3752         code unconditional.
3753         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3754         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3755         code unconditional.
3756         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3757         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3758         code unconditional.
3759         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3760         code unconditional.
3761         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3762         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3763         code unconditional.
3764         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3765         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3766         code unconditional.
3767         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3768         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3769         code unconditional.
3770         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3771         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3772         code unconditional.
3773         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3774         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3776         [BZ #19095]
3777         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3778         mantissa to long int before shifting left.
3780 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3782         [BZ #19094]
3783         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3784         <limits.h>.
3785         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3786         when result overflows but exception would not result from cast.
3787         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3788         <limits.h>.
3789         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3790         when result overflows but exception would not result from cast.
3791         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3792         <limits.h>.
3793         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3794         when result overflows but exception would not result from cast.
3795         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3796         <limits.h>.
3797         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3798         when result overflows but exception would not result from cast.
3799         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3800         <limits.h>.
3801         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3802         when result overflows but exception would not result from cast.
3803         * math/libm-test.inc (lrint_test_data): Add more tests.
3804         (llrint_test_data): Likewise.
3806 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3808         [BZ #18872]
3809         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3810         Move out from under [$(run-built-tests) = yes] conditional.
3811         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3812         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3814 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3816         [BZ #18589]
3817         * string/Makefile (tests): Add bug-strcoll2.
3818         (LOCALES): Add cs_CZ.UTF-8.
3819         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3821         [BZ #18589]
3822         * string/bug-strcoll2.c: New file.
3823         * locale/categories.def: Revert commit
3824         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3825         * locale/langinfo.h: Likewise.
3826         * locale/localeinfo.h: Likewise.
3827         * locale/C-collate.c: Likewise.
3828         * locale/programs/ld-collate.c (collate_output): Likewise.
3829         * string/strcoll_l.c (STRDIFF): Likewise.
3830         (STRCOLL): Likewise.
3831         * wcsmbs/wcscoll_l.c: Likewise.
3833 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3835         * math/libm-test.inc (lround_test_data): Do not expect the absence
3836         of "inexact" for some tests with non-integer arguments.
3837         (llround_test_data): Likewise.
3839         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3840         test.
3841         (libc_cv_cc_sse2avx): Likewise.
3842         * sysdeps/i386/configure: Regenerated.
3843         * sysdeps/i386/i686/multiarch/Makefile
3844         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3845         [$(subdir) = math].
3846         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3847         code unconditional.
3848         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3849         Likewise.
3850         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3851         Likewise.
3852         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3853         Likewise.
3854         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3855         test.
3856         (libc_cv_cc_sse2avx): Likewise.
3857         * sysdeps/x86_64/configure: Regenerated.
3858         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3859         unconditional.
3860         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3861         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3862         unconditional.
3863         (_dl_runtime_profile)
3864         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3865         conditional code.
3866         * sysdeps/x86_64/fpu/multiarch/Makefile
3867         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3868         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3869         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3870         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3871         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3872         * sysdeps/x86_64/fpu/multiarch/e_log.c
3873         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3874         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3875         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3876         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3877         Likewise.
3878         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3879         Likewise.
3880         * sysdeps/x86_64/fpu/multiarch/s_sin.c
3881         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3882         * sysdeps/x86_64/fpu/multiarch/s_tan.c
3883         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3884         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
3885         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
3886         (HAVE_SSE2AVX_SUPPORT): Likewise.
3888 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
3890         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
3891         instead of #pragma optimize.
3893 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3895         [BZ #17195]
3896         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
3897         as is similarly done in systrim and _int_free already.
3899 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3901         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
3903 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3905         [BZ #19088]
3906         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
3907         <limits.h>.
3908         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3909         overflows but exception would not result from cast.
3910         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
3911         and <limits.h>.
3912         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3913         overflows but exception would not result from cast.
3914         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
3915         <limits.h>.
3916         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3917         overflows but exception would not result from cast.
3918         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
3919         <limits.h>.
3920         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3921         overflows but exception would not result from cast.
3922         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
3923         <limits.h>.
3924         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3925         overflows but exception would not result from cast.
3926         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
3927         <limits.h>.
3928         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3929         overflows but exception would not result from cast.
3930         * math/libm-test.inc (lround_test_data): Add more tests.
3931         (llround_test_data): Likewise.
3933 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
3935         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
3936         (CFLAGS-ialloc.c): Ditto.
3937         (CFLAGS-scheck.c): Ditto.
3939 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3941         [BZ #19086]
3942         * manual/filesys.texi (Storage Allocation): Fix argument order for
3943         posix_fallocate64.
3945 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3947         [BZ #19085]
3948         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
3949         exponent below 48 inside case for non-overflowing exponent.
3950         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
3952 2015-10-07  Florian Weimer  <fweimer@redhat.com>
3954         * iconvdata/cp737.h (from_idx): Add const.
3955         * iconvdata/cp775.h (from_idx): Likewise.
3957 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3959         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
3960         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
3961         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
3963         [BZ #19079]
3964         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
3965         file, conditioned on [!_LP64].
3966         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
3967         [!_LP64] (__lround): Do not define as function or alias.
3968         [!_LP64] (lround): Likewise.
3969         [!_LP64] (__lroundl): Likewise.
3970         [!_LP64] (lroundl): Likewise.
3971         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
3972         macro.
3973         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3974         Likewise.
3976 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3978         * math/libm-test.inc (lrint_test_data): Add more tests.
3979         (llrint_test_data): Likewise.
3980         (lround_test_data): Likewise.
3981         (llround_test_data): Likewise.
3983         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
3984         (llrint_test_data): Add tests used for lrint.
3986         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
3987         test.
3988         * sysdeps/i386/configure: Regenerated.
3989         * sysdeps/i386/i686/multiarch/Makefile
3990         [$(config-cflags-sse4) = yes]: Make code unconditional.
3991         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3992         Likewise.
3993         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
3994         Likewise.
3995         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
3996         test.
3997         * sysdeps/x86_64/configure: Regenerated.
3998         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
3999         Make code unconditional.
4000         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4001         Likewise.
4002         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4003         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4005         * scripts/rpm2dynsym.sh: Remove file.
4007 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4009         * configure.ac (libc_cv_cxx_thread_local): Define.
4010         * configure: Regenerate.
4011         * config.make.in (have-cxx-thread_local): Define.
4012         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4013         (LDLIBS-tst-thread_local1): Define.
4014         (tests): Add tst-thread_local1.
4015         [have-cxx-thread_local != yes] (tests-unsupported): Add
4016         tst-thread_local1.
4017         * nptl/tst-thread_local1.cc: New file.
4019 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4021         [BZ #19078]
4022         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4023         (u_thres): Likewise.
4024         (__expl): Determine whether to call __kernel_standard_l based on
4025         value of result, not argument.
4027         * math/libm-test.inc (scalb_test_data): Add more expectations for
4028         the "inexact" exception.
4030         [BZ #19077]
4031         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4032         0.0L for argument 1.0L.
4034         [BZ #19076]
4035         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4036         constant 0.0L when computing infinite result.
4038 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4040         [BZ #10432]
4041         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4042         malloc_usable_size.
4044 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4046         [BZ #19018]
4047         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4048         Mangle function pointer before storing it.
4049         (__call_tls_dtors): Demangle function pointer before calling it.
4051 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4053         [BZ #19012]
4054         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4055         Clean up on failure.
4057 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4059         [BZ #19071]
4060         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4061         long int variable to store possibly incremented high part of
4062         mantissa.
4063         * math/libm-test.inc (lround_test_data): Add tests used for
4064         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4065         for tests requiring 64-bit long.  Do not condition tests on
4066         [TEST_FLOAT] unnecessarily.
4067         (llround_test_data): Add tests used for lround.  Add another
4068         expectation for the "inexact" exception.  Do not condition tests
4069         on [TEST_FLOAT] unnecessarily.
4071         [BZ #887]
4072         [BZ #19049]
4073         [BZ #19050]
4074         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4075         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4076         <fix-int-fp-convert-zero.h>.
4077         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4078         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4079         <fix-int-fp-convert-zero.h>.
4080         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4081         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4082         <fix-int-fp-convert-zero.h>.
4083         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4084         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4085         <fix-int-fp-convert-zero.h>.
4086         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4087         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4088         <fix-int-fp-convert-zero.h>.
4089         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4090         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4091         <fix-int-fp-convert-zero.h>.
4092         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4093         * sysdeps/ieee754/flt-32/s_erff.c: Include
4094         <fix-int-fp-convert-zero.h>.
4095         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4096         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4097         <fix-int-fp-convert-zero.h>.
4098         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4099         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4100         <fix-int-fp-convert-zero.h>.
4101         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4102         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4103         <fix-int-fp-convert-zero.h>.
4104         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4105         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4106         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4107         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4108         file.
4109         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4111 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4113         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4115 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4117         [BZ #19059]
4118         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4119         overflowing computation.
4120         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4121         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4122         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4123         Likewise.
4124         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4125         Likewise.
4126         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4127         Likewise.
4128         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4129         Likewise.
4130         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4131         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4132         Likewise.
4133         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4134         Likewise.
4135         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4137         * nss/rewrite_field.c (__nss_rewrite_field): Use
4138         internal_function.
4139         * nss/valid_field.c (__nss_valid_field): Likewise.
4140         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4142 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4144         [BZ #18724]
4145         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4146         (__nss_invalid_field_characters, __nss_valid_field)
4147         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4148         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4149         tst-field.c: New file.
4150         * nss/Makefile (routines): Add valid_field, rewrite_field.
4151         (tests-static): Define unconditionally.
4152         (tests): Include tests-static.
4153         [build-static-nss] (tests-static): Use append.
4154         [build-static-nss] (tests): Remove modification.
4155         * nss/getent.c (print_group): Call putgrent.  Report error.
4156         (print_gshadow): Call putsgent.  Report error.
4157         (print_passwd): Call putpwent.  Report error.
4158         (print_shadow): Call putspent.  Report error.
4159         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4160         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4161         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4162         name, password, directory, shell fields for valid syntax.  Rewrite
4163         GECOS field to match syntax.
4164         * pwd/Makefile (tests): Add tst-putpwent.
4165         * pwd/tst-putpwent.c: New file.
4166         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4167         Check grName, grpasswd, gr_mem fields for valid syntax.
4168         Change loop variable i to size_t.
4169         * grp/Makefile (tests): Add tst-putgrent.
4170         * grp/tst-putgrent.c: New file.
4171         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4172         valid syntax.
4173         * shadow/Makefile (tests): Add tst-putspent.
4174         * shadow/tst-putspent.c: New file.
4175         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4176         sg_mem fields for valid syntax.
4177         * gshadow/Makefile (tests): Add tst-putsgent.
4178         * gshadow/tst-putsgent.c: New file.
4180 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4182         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4183         assembly instructions.
4185 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4187         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4188         prefix from operands.
4190 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4192         [BZ #16347]
4193         [BZ #19046]
4194         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4195         <libc-internal.h>.
4196         (MAXLGM): Do not use diagnostic control macros.
4197         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4198         threshold for ldbl-128ibm.
4199         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4200         instead of multiplying by log then subtracting.
4201         * math/auto-libm-test-in: Add more tests of lgamma.
4202         * math/auto-libm-test-out: Regenerated.
4204         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4205         (TYPE_HEX_DIG): Likewise.
4206         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4207         precisions when printing floating-point numbers.
4208         (check_float_internal): Likewise.
4210 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4212         [BZ #16620]
4213         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4214         of log (10) rounded downward to 48 bits.
4215         (log10_low): Use corresponding low part of log (10).
4217         [BZ #19032]
4218         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4219         compute result as (x - x) / (x - x) not as 0 / 0.
4220         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4221         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4223         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4224         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4225         and expm1.
4226         * math/auto-libm-test-out: Regenerated.
4227         * math/libm-test.inc (acos_test_data): Add more tests.
4228         (asin_test_data): Likewise.
4229         (asinh_test_data): Likewise.
4230         (atan_test_data): Likewise.
4231         (atanh_test_data): Likewise.
4232         (atan2_test_data): Likewise.
4233         (cbrt_test_data): Likewise.
4234         (ceil_test_data): Likewise.
4235         (copysign_test_data): Likewise.
4236         (cos_test_data): Likewise.
4237         (cosh_test_data): Likewise.
4238         (erf_test_data): Likewise.
4239         (erfc_test_data): Likewise.
4240         (exp_test_data): Likewise.
4241         (exp10_test_data): Likewise.
4242         (exp2_test_data): Likewise.
4243         (expm1_test_data): Likewise.
4244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4246 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4248         [BZ #19006]
4249         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4250         to ...
4251         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4252         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4253         to ...
4254         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4255         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4256         to ...
4257         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4258         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4259         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4260         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4261         to ...
4262         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4263         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4264         Moved to ...
4265         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4266         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4267         Moved to ...
4268         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4269         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4270         to ...
4271         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4272         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4273         Moved to ...
4274         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4275         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4276         to ...
4277         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4278         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4279         Removed.
4280         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4281         Likewise.
4282         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4283         Likewise.
4284         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4285         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4286         Likewise.
4287         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4288         Likewise.
4289         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4290         Likewise.
4291         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4292         Likewise.
4293         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4294         Likewise.
4295         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4296         Likewise.
4297         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4298         Likewise.
4299         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4300         Likewise.
4301         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4302         Likewise.
4303         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4304         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4305         Likewise.
4306         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4307         Likewise.
4308         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4309         Likewise.
4310         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4311         Likewise.
4312         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4313         Likewise.
4314         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4315         Replace ../i486/pthread_cond_timedwait.S with
4316         ../pthread_cond_timedwait.S.
4318 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4320         * math/libm-test.inc (acos_test_data): Refine expectations for
4321         errno and "inexact" exceptions.
4322         (acosh_test_data): Likewise.
4323         (asin_test_data): Likewise.
4324         (asinh_test_data): Likewise.
4325         (atan_test_data): Likewise.
4326         (atanh_test_data): Likewise.
4327         (atan2_test_data): Likewise.
4328         (cbrt_test_data): Likewise.
4329         (ceil_test_data): Likewise.
4330         (copysign_test_data): Likewise.
4331         (cosh_test_data): Likewise.
4332         (erf_test_data): Likewise.
4333         (erfc_test_data): Likewise.
4334         (exp_test_data): Likewise.
4335         (exp10_test_data): Likewise.
4336         (exp2_test_data): Likewise.
4337         (expm1_test_data): Likewise.
4338         (fabs_test_data): Likewise.
4339         (floor_test_data): Likewise.
4340         (fma_test_data): Likewise.
4341         (fmax_test_data): Likewise.
4342         (fmin_test_data): Likewise.
4343         (fmod_test_data): Likewise.
4344         (fpclassify_test_data): Likewise.
4345         (frexp_test_data): Likewise.
4346         (hypot_test_data): Likewise.
4347         (ilogb_test_data): Likewise.
4348         (isgreater_test_data): Likewise.
4349         (isgreaterequal_test_data): Likewise.
4350         (isinf_test_data): Likewise.
4351         (isless_test_data): Likewise.
4352         (islessequal_test_data): Likewise.
4353         (islessgreater_test_data): Likewise.
4354         (isnan_test_data): Likewise.
4355         (isnormal_test_data): Likewise.
4356         (issignaling_test_data): Likewise.
4357         (isunordered_test_data): Likewise.
4358         (j0_test_data): Likewise.
4359         (j1_test_data): Likewise.
4360         (jn_test_data): Likewise.
4361         (lgamma_test_data): Likewise.
4362         (lrint_test_data): Likewise.
4363         (llrint_test_data): Likewise.
4364         (log_test_data): Likewise.
4365         (log10_test_data): Likewise.
4366         (log1p_test_data): Likewise.
4367         (log2_test_data): Likewise.
4368         (logb_test_data): Likewise.
4369         (lround_test_data): Likewise.
4370         (llround_test_data): Likewise.
4371         (modf_test_data): Likewise.
4372         (nearbyint_test_data): Likewise.
4373         (nextafter_test_data): Likewise.
4374         (nexttoward_test_data): Likewise.
4375         (pow_test_data): Likewise.
4376         (remainder_test_data): Likewise.
4377         (remquo_test_data): Likewise.
4378         (rint_test_data): Likewise.
4379         (round_test_data): Likewise.
4380         (signbit_test_data): Likewise.
4381         (sinh_test_data): Likewise.
4382         (sqrt_test_data): Likewise.
4383         (tanh_test_data): Likewise.
4384         (tgamma_test_data): Likewise.
4385         (trunc_test_data): Likewise.
4386         (y0_test_data): Likewise.
4387         (y1_test_data): Likewise.
4388         (yn_test_data): Likewise.
4389         (significand_test_data): Likewise.
4391 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4393         * manual/filesys.texi (Storage Allocation): Document that
4394         posix_fallocate emulation fails when fd is open with O_WRONLY.
4396 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4398         [BZ #19016]
4399         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4400         allow more cases with X^2 + Y^2 >= 0.5.
4401         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4402         normal element in sum instead of special-casing based on values of
4403         arguments.
4404         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4405         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4406         -1 as normal element in sum instead of special-casing based on
4407         values of arguments.
4408         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4409         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4410         (__x2y2m1): Update comment.
4411         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4412         as normal element in sum instead of special-casing based on values
4413         of arguments.
4414         * math/s_clog.c (__clog): Handle more cases using log1p without
4415         hypot.
4416         * math/s_clog10.c (__clog10): Likewise.
4417         * math/s_clog10f.c (__clog10f): Likewise.
4418         * math/s_clog10l.c (__clog10l): Likewise.
4419         * math/s_clogf.c (__clogf): Likewise.
4420         * math/s_clogl.c (__clogl): Likewise.
4421         * math/auto-libm-test-in: Add more tests of clog and clog10.
4422         * math/auto-libm-test-out: Regenerated.
4423         * sysdeps/i386/fpu/libm-test-ulps: Update.
4424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4426 2015-09-28  Martin Sebor  <msebor@redhat.com>
4428         [BZ #18969]
4429         * string/Makefile (LOCALES): Define.
4430         (gen-locales.mk): Include.
4431         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4432         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4433         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4434         on setlocale failure.
4436 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4438         [BZ #18985]
4439         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4440         (__strftime_internal): Likewise.
4441         * time/tst-strftime.c (do_bz18985): New test.
4442         (do_test): Call it.
4444 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4446         [BZ #18956]
4447         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4448         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4449         extracting high part.
4450         * math/auto-libm-test-in: Add another test of pow.
4451         * math/auto-libm-test-out: Regenerated.
4452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4454 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4456         [BZ #18825]
4457         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4458         New macro.
4459         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4460         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4461         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4462         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4463         DBL_NARROW_EVAL, reloading the PIC register as needed.
4464         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4465         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4466         FLT_NARROW_EVAL.  Use separate return path for case when first
4467         argument is NaN.
4468         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4469         DEFINE_LDBL_MIN.
4470         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4471         PIC register.
4472         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4473         math_check_force_underflow_nonneg.
4474         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4475         underflow for subnormal result.
4476         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4477         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4478         math_check_force_underflow_nonneg.
4479         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4480         math_check_force_underflow.
4481         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4482         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4483         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4484         DEFINE_LDBL_MIN.
4485         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4486         * math/auto-libm-test-in: Add more tests of pow.
4487         * math/auto-libm-test-out: Regenerated.
4489 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4491         * nss/bug17079.c (init_test_items): Add diagnostic for
4492         inconsistent entries.
4493         (test_buffer_size): Skip inconsistent entries.
4495 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4497         [BZ #13304]
4498         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4499         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4500         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4502         [BZ #13304]
4503         * sysdeps/microblaze/s_fma.c: New file.
4504         * sysdeps/microblaze/s_fmaf.c: Likewise.
4505         * sysdeps/microblaze/sfp-machine.h: Likewise.
4507 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4509         [BZ #17250]
4510         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4511         member.
4513 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4515         [BZ #18803]
4516         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4517         (MO): New macro.
4518         (__ieee754_hypot) [PIC]: Load PIC register.
4519         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4520         DBL_NARROW_EVAL.
4521         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4522         math_check_force_underflow_nonneg in case where result might be
4523         tiny.
4524         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4525         Likewise.
4526         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4527         Likewise.
4528         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4529         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4530         * math/auto-libm-test-in: Add more tests of hypot.
4531         * math/auto-libm-test-out: Regenerated.
4533 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4535         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4537 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4539         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4540         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4541         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4542         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4543         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4544         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4545         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4547         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4548         LOAD_PIC_REG.
4550         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4551         (FLT_CHECK_FORCE_UFLOW): Likewise.
4552         (DBL_CHECK_FORCE_UFLOW): Likewise.
4553         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4554         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4555         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4556         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4557         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4558         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4559         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4560         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4561         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4562         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4563         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4564         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4565         (flt_min): Replace with use of DEFINE_FLT_MIN.
4566         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4567         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4568         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4569         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4570         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4571         (flt_min): Replace with use of DEFINE_FLT_MIN.
4572         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4573         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4574         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4575         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4576         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4577         (flt_min): Replace with use of DEFINE_FLT_MIN.
4578         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4579         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4580         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4581         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4582         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4583         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4584         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4585         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4586         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4587         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4588         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4589         (flt_min): Replace with use of DEFINE_FLT_MIN.
4590         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4591         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4592         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4593         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4594         main computation.
4595         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4596         (flt_min): Replace with use of DEFINE_FLT_MIN.
4597         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4598         main computation.
4599         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4600         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4601         (MO): New macro.
4602         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4603         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4604         (flt_min): Replace with use of DEFINE_FLT_MIN.
4605         (MO): New macro.
4606         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4607         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4608         (__log1pl): Use MO.
4610         [BZ #19003]
4611         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4612         $(config-cflags-nofma).
4614 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4616         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4618 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4620         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4621         (TWO127): Likewise.
4623         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4624         (min_of_type): Likewise.
4625         (math_check_force_underflow): Likewise.
4626         (math_check_force_underflow_nonneg): Likewise.
4627         (math_check_force_underflow_complex): Likewise.
4628         * math/e_exp2l.c (__ieee754_exp2l): Use
4629         math_check_force_underflow_nonneg.
4630         * math/k_casinh.c (__kernel_casinh): Likewise.
4631         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4632         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4633         * math/s_catan.c (__catan): Use
4634         math_check_force_underflow_complex.
4635         * math/s_catanf.c (__catanf): Likewise.
4636         * math/s_catanh.c (__catanh): Likewise.
4637         * math/s_catanhf.c (__catanhf): Likewise.
4638         * math/s_catanhl.c (__catanhl): Likewise.
4639         * math/s_catanl.c (__catanl): Likewise.
4640         * math/s_ccosh.c (__ccosh): Likewise.
4641         * math/s_ccoshf.c (__ccoshf): Likewise.
4642         * math/s_ccoshl.c (__ccoshl): Likewise.
4643         * math/s_cexp.c (__cexp): Likewise.
4644         * math/s_cexpf.c (__cexpf): Likewise.
4645         * math/s_cexpl.c (__cexpl): Likewise.
4646         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4647         * math/s_clog10.c (__clog10): Likewise.
4648         * math/s_clog10f.c (__clog10f): Likewise.
4649         * math/s_clog10l.c (__clog10l): Likewise.
4650         * math/s_clogf.c (__clogf): Likewise.
4651         * math/s_clogl.c (__clogl): Likewise.
4652         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4653         * math/s_csinf.c (__csinf): Likewise.
4654         * math/s_csinh.c (__csinh): Likewise.
4655         * math/s_csinhf.c (__csinhf): Likewise.
4656         * math/s_csinhl.c (__csinhl): Likewise.
4657         * math/s_csinl.c (__csinl): Likewise.
4658         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4659         * math/s_csqrtf.c (__csqrtf): Likewise.
4660         * math/s_csqrtl.c (__csqrtl): Likewise.
4661         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4662         * math/s_ctanf.c (__ctanf): Likewise.
4663         * math/s_ctanh.c (__ctanh): Likewise.
4664         * math/s_ctanhf.c (__ctanhf): Likewise.
4665         * math/s_ctanhl.c (__ctanhl): Likewise.
4666         * math/s_ctanl.c (__ctanl): Likewise.
4667         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4668         instead of volatile.
4669         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4670         math_check_force_underflow.
4671         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4672         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4673         volatile when forcing underflow.
4674         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4675         math_check_force_underflow_nonneg.
4676         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4677         Likewise.
4678         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4679         math_check_force_underflow.
4680         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4681         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4682         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4683         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4684         math_check_force_underflow_nonneg.
4685         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4686         math_check_force_underflow.
4687         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4689         instead of volatile.
4690         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4691         math_check_force_underflow.
4692         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4693         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4694         math_check_force_underflow_nonneg.
4695         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4696         math_check_force_underflow.
4697         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4698         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4699         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4700         math_check_force_underflow_nonneg.
4701         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4702         Likewise.
4703         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4704         math_check_force_underflow.
4705         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4706         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4707         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4708         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4709         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4710         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4711         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4712         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4713         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4714         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4715         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4716         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4717         Likewise.
4718         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4719         math_check_force_underflow_nonneg.
4720         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4721         Likewise.
4722         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4723         math_check_force_underflow.
4724         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4725         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4726         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4727         Likewise.
4728         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4729         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4730         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4731         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4732         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4733         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4734         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4735         instead of volatile.
4736         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4737         math_check_force_underflow.
4738         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4739         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4740         math_check_force_underflow.
4741         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4742         Likewise.
4743         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4744         Use math_check_force_underflow_nonneg.
4745         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4746         math_check_force_underflow.
4747         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4748         Likewise.
4749         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4750         Likewise.
4751         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4752         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4753         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4754         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4755         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4756         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4757         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4758         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4759         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4760         math_check_force_underflow_nonneg.
4761         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4762         math_check_force_underflow.
4763         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4764         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4765         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4766         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4767         math_check_force_underflow_nonneg.
4768         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4769         math_check_force_underflow.
4770         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4771         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4772         instead of volatile.
4773         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4774         math_check_force_underflow.
4776         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4777         * stdlib/strtod_l.c: Include <math_private.h>.
4778         (overflow_value): Use math_narrow_eval.
4779         (underflow_value): Likewise.
4780         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4781         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4782         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4783         (__ieee754_gamma_r): Likewise.
4784         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4785         Likewise.
4786         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4787         Likewise.
4788         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4789         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4790         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4791         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4792         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4793         (__ieee754_gammaf_r): Likewise.
4794         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4795         Likewise.
4796         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4797         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4798         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4799         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4800         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4801         volatile.
4802         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4803         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4804         math_narrow_eval.
4805         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4806         Likewise.
4807         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4808         Likewise.
4809         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4810         Likewise.
4811         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4812         volatile.
4813         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4814         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4815         math_narrow_eval.
4816         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4817         Likewise.
4818         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4819         Likewise.
4821 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4823         * nptl/Versions: Remove ignored symbols.
4825 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4827         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4828         * nss/Makefile (tests): Update.
4830 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4832         * nss/bug18287.c: New file.
4833         * nss/Makefile (tests): Add bug18287.
4835 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4837         * mach/Versions (__mach_host_self_): Add symbol.
4839 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4841         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4842         vm_page_size.
4844 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4846         Really fix sysdeps/i386/fpu/s_scalbn.S build
4848         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4849         (libc: GLIBC_2_22): Remove unused version set.
4851 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4853         * config.make.in (enable-timezone-tools): New variable.
4854         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4855         (enable_timezone_tools): Export to generated files.
4856         * configure: Regenerate.
4857         * INSTALL: Regenerate.
4858         * manual/install.texi (--disable-timezone-tools): Document new flag.
4859         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4860         ifeq ($(enable-timezone-tools),yes) check.
4862 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4864         * timezone/Makefile: Revert previous change.
4866         [BZ #18980]
4867         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4868         (DEFINE_DBL_MIN): Likewise.
4869         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4870         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4871         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4872         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4873         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4874         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4875         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4876         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4877         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4878         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4879         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4880         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
4881         (flt_min): Replace with use of DEFINE_FLT_MIN.
4882         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4883         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
4884         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4885         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4886         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
4887         (flt_min): Replace with use of DEFINE_FLT_MIN.
4888         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4889         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
4890         (flt_min): Replace with use of DEFINE_FLT_MIN.
4891         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4892         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
4893         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
4894         (__ieee754_hypot): Use DBL_NARROW_EVAL.
4895         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
4896         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
4897         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
4898         (__ieee754_pow): Use DBL_NARROW_EVAL.
4899         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
4900         (__ieee754_powf): Use FLT_NARROW_EVAL.
4901         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
4902         (__ieee754_expf_sse2): Convert double-precision result to single
4903         precision.
4904         * sysdeps/i386/fpu/libm-test-ulps: Update.
4906 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4908         * timezone/Makefile: Ignore unused variable errors due to private.h
4909         (time_t_min) and (time_t_max).
4910         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
4911         Likewise.
4913 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4915         [BZ #18981]
4916         * sysdeps/i386/fpu/i386-math-asm.h: New file.
4917         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
4918         (__ieee754_scalb): Use DBL_NARROW_EVAL.
4919         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
4920         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
4921         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
4922         (__scalbn): Use DBL_NARROW_EVAL.
4923         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
4924         (__scalbnf): Use FLT_NARROW_EVAL.
4926 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4928         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
4929         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
4930         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
4931         * stdio-common/printf_fp.c (___printf_fp):
4932         Use signbit to get the sign. Use isinf macro to allow inlining.
4933         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
4934         * stdio-common/printf_size.c (__printf_size): Likewise.
4936 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4938         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
4940 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4942         [BZ #18980]
4943         * sysdeps/generic/math_private.h: Include <float.h>.
4944         (math_narrow_eval): New macro.
4945         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
4946         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
4947         math_narrow_eval on overflowing return value.
4948         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
4949         Likewise.
4950         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4951         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
4952         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
4953         Likewise.
4954         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4956 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4958         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
4959         * math/Makefile: Remove isinf_ns.c.
4960         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
4961         * math/multc3.c (__multc3): Likewise.
4962         * math/s_casin.c (__casin): Likewise.
4963         * math/s_casinf.c (__casinf): Likewise.
4964         * math/s_casinl.c (__casinl): Likewise.
4965         * math/s_cproj.c (__cproj): Likewise.
4966         * math/s_cprojf.c (__cprojf): Likewise.
4967         * math/s_cprojl.c (__cprofl): Likewise.
4968         * math/s_ctan.c (__ctan): Likewise.
4969         * math/s_ctanf.c (__ctanf): Likewise.
4970         * math/s_ctanh.c (__ctanh): Likewise.
4971         * math/s_ctanhf.c (__ctanhf): Likewise.
4972         * math/s_ctanhl.c (__ctanhl): Likewise.
4973         * math/s_ctanl.c (__ctanl): Likewise.
4974         * math/w_fmod.c (__fmod): Likewise.
4975         * math/w_fmodf.c (__fmodf): Likewise.
4976         * math/w_fmodl.c (_fmodl): Likewise.
4977         * math/w_remainder.c (__remainder): Likewise.
4978         * math/w_remainderf.c (__remainderf): Likewise.
4979         * math/w_remainderl.c (__remainderl): Likewise.
4980         * math/w_scalb.c (__scalb): Likewise.
4981         * math/w_scalbf.c (__scalbf): Likewise.
4982         * math/w_scalbl.c (__scalbl): Likewise.
4983         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
4984         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
4985         with isinf.
4986         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
4987         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
4988         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
4989         __isinf_nsf with isinf.
4990         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
4991         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
4992         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
4993         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
4994         with isinf.
4995         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
4996         __isinf_nsl with isinf.
4997         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
4998         with isinf.
4999         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5000         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5001         __isinf_nsl with isinf.
5002         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5003         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5004         with isinf.
5006 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5008         * resolv/base64.c (rcsid): Remove unused static.
5009         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5010         static.  (tqpi1): Likewise.
5011         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5012         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5013         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5014         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5015         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5016         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5017         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5018         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5019         Likewise.
5021 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5023         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5024         <nptl/pthreadP.h>.
5025         (_longjmp_unwind): Use __libc_ptf_call.
5026         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5028 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5030         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5031         * sysdeps/arm/__longjmp.S: Likewise
5033 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5035         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5036         Use __builtin_signbit.
5037         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5038         Use __builtin_signbitf.
5039         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5040         Use __builtin_signbitl.
5041         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5042         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5044 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5046         [BZ #15367]
5047         [BZ #17441]
5049         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5050         * math/math.h (fpclassify): Use __builtin_fpclassify when
5051         available.  (signbit): Use __builtin_signbit(f/l).
5052         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5053         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5054         (isinf): Use __builtin_isinf_sign.
5056 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5058         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5059         * benchtests/bench-math-inlines.c: New benchmark.
5060         * benchtests/bench-util.h: New file.
5061         * benchtests/bench-util.c: New file.
5062         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5064 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5066         * elf/tst-dlmopen1.c: Define TEST_SO.
5067         (do_test): Use TEST_SO.
5069         * elf/dl-load.c: Include libc-internal.h.
5070         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5072 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5074         [BZ #17887]
5075         * time/strptime_l.c (__strptime_internal): Make %z accept
5076         [+-]HH:MM time zones.
5078 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5080         [BZ #17886]
5081         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5082         valid time zone.
5084 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5086         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5087         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5088         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5089         (__ASSUME_FDATASYNC): Delete.
5091 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5093         * conform/linknamespace.pl: Require weak undefined symbols to be
5094         in the standard namespace.
5095         (%strong_syms): Rename to %seen_syms.
5096         (%strong_seen): Rename to %seen_where.
5098 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5100         [BZ #18970]
5101         * misc/error.c (error): Replace pthread_setcancelstate with
5102         __pthread_setcancelstate.
5103         (error_at_line): Likewise.
5104         * posix/wordexp.c (parse_comm): Likewise.
5105         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5106         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5107         (__pthread_setcancelstate): This.
5108         (pthread_setcancelstate): Add an alias.
5109         * nptl/nptl-init.c (pthread_functions): Replace
5110         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5111         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5112         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5113         hidden_proto.
5114         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5115         it with hidden_def.
5116         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5117         (pthread_setcancelstate): Renamed to ...
5118         (__pthread_setcancelstate): This.
5119         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5120         __libc_ptf_call with __pthread_setcancelstate.
5122 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5123             Andreas Schwab  <schwab@suse.de>
5125         [BZ #17118]
5126         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5127         result when imaginary part of argument is infinite using sine and
5128         cosine.
5129         * math/s_ctanf.c (__ctanf): Likewise.
5130         * math/s_ctanl.c (__ctanl): Likewise.
5131         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5132         of result when real part of argument is infinite using sine and
5133         cosine.
5134         * math/s_ctanhf.c (__ctanhf): Likewise.
5135         * math/s_ctanhl.c (__ctanhl): Likewise.
5136         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5137         (ctanh_test_data): Add more tests of ctanh.
5139 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5141         [BZ #15384]
5142         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5143         bit-mask as in subtraction.
5144         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5145         Likewise.
5146         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5147         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5148         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5150         [BZ #18951]
5151         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5152         underflow exception for small results.
5153         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5154         Likewise.
5155         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5156         Likewise.
5157         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5158         Likewise.
5159         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5160         Likewise.
5161         * math/auto-libm-test-in: Add more tests of tgamma.
5162         * math/auto-libm-test-out: Regenerated.
5164 2015-09-17  Andreas Schwab  <schwab@suse.de>
5166         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5168 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5170         [BZ #18977]
5171         * math/bits/mathcalls.h
5172         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5173         not declare.
5174         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5175         Likewise.
5176         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5177         Likewise.
5178         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5179         Likewise.
5180         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5181         Likewise.
5182         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5183         Likewise.
5184         * conform/data/math.h-data
5185         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5186         function.
5187         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5188         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5189         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5190         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5191         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5192         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5193         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5194         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5195         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5196         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5197         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5199         [BZ #6803]
5200         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5201         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5202         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5203         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5204         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5205         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5206         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5207         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5208         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5209         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5210         Likewise.
5211         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5212         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5213         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5214         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5215         long_double_symbol calls.
5216         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5217         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5218         strong alias of __ldexpl.
5219         (scalbnl): Define using long_double_symbol.
5220         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5221         Remove alias.
5222         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5223         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5224         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5225         (scalbln_test_data): Add more errno expectations.
5227 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5229         Cache the host port like we cache the task port.  This way we do not
5230         need to call the kernel just to get the port.  Furthermore, we no
5231         longer increase the reference count on every invocation of
5232         `mach_host_self'.
5234         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5235         Protect declarations against the macro expansion.
5236         * mach/mach_init.c (__mach_host_self_): New variable.
5237         (mach_init): Initialize `__mach_host_self_'.
5238         * mach/mach_init.h (__mach_host_self_): New declaration.
5239         (__mach_host_self, mach_host_self): New macros.
5240         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5241         Release reference.
5243 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5245         [BZ #4404]
5246         * po/de.po: Update from Translation Project.
5248         [BZ #16415]
5249         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5250         (__expm1l): Remove code to handle positive infinity and overflow.
5251         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5252         variable.
5253         (__expm1l): Remove code to handle positive infinity and overflow.
5255 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5256             Paul Pluzhnikov  <ppluzhnikov@google.com>
5258         [BZ #18872]
5259         * stdio-common/Makefile (tst-printf-bz18872): New test.
5260         (tst-printf-bz18872-mem.out): Likewise.
5261         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5262         * stdio-common/vfprintf.c: Fix memory leaks.
5264 2015-09-16  Andreas Schwab  <schwab@suse.de>
5266         [BZ #17244]
5267         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5268         Remove extra va_start/va_end calls.
5270         [BZ #17243]
5271         * posix/execl.c (execl): Add missing va_end.
5272         * posix/execle.c (execle): Likewise.
5273         * posix/execlp.c (execlp): Likewise.
5275 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5277         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5278         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5280 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5282         [BZ #18967]
5283         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5284         undefine around includes of <bits/mathcalls.h>.
5285         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5286         not declare function.
5287         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5288         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5289         (scalb): Likewise.
5290         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5291         not define macro.
5292         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5293         variable.
5294         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5295         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5296         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5298         [BZ #18857]
5299         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5300         return non-finite argument without doing ordered comparisons on
5301         it.
5303         [BZ #16296]
5304         * math/fenv.h (fegetround): Use __attribute_pure__.
5305         * include/fenv.h (__fegetround): Likewise.
5307         [BZ #18595]
5308         * math/s_ctan.c (__ctan): Force underflow exception for results
5309         whose real or imaginary part has small absolute value.
5310         * math/s_ctanf.c (__ctanf): Likewise.
5311         * math/s_ctanh.c (__ctanh): Likewise.
5312         * math/s_ctanhf.c (__ctanhf): Likewise.
5313         * math/s_ctanhl.c (__ctanhl): Likewise.
5314         * math/s_ctanl.c (__ctanl): Likewise.
5315         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5316         and ctanh.  Add more tests of ctan and ctanh.
5318         [BZ #15918]
5319         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5320         handling of cases where one argument is an infinity.
5322         [BZ #18875]
5323         [BZ #18966]
5324         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5325         (MO): New macro.
5326         (__ieee754_exp10): For small results, force underflow exception
5327         and remove excess range and precision from return value.
5328         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5329         (MO): New macro.
5330         (__ieee754_exp10f): For small results, force underflow exception
5331         and remove excess range and precision from return value.
5332         * math/auto-libm-test-in: Add more tests of exp10.
5333         * math/auto-libm-test-out: Regenerated.
5335 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5337         [BZ #18875]
5338         [BZ #18961]
5339         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5340         (MO): New macro.
5341         (__ieee754_exp): For small results, force underflow exception and
5342         remove excess range and precision from return value.
5343         (__exp_finite): Likewise.
5344         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5345         (MO): New macro.
5346         (__ieee754_expf): For small results, force underflow exception and
5347         remove excess range and precision from return value.
5348         (__expf_finite): Likewise.
5349         * math/auto-libm-test-in: Add more tests of exp.
5350         * math/auto-libm-test-out: Regenerated.
5352         [BZ #16521]
5353         [BZ #18875]
5354         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5355         small results.
5356         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5357         (MO): New macro.
5358         (__ieee754_exp2): For small results, force underflow exception and
5359         remove excess range and precision from return value.
5360         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5361         (MO): New macro.
5362         (__ieee754_exp2f): For small results, force underflow exception
5363         and remove excess range and precision from return value.
5364         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5365         (MO): New macro.
5366         (__ieee754_exp2l): Force underflow exception for small results.
5367         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5368         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5369         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5370         (MO): New macro.
5371         (__ieee754_exp2l): Force underflow exception for small results.
5372         * math/auto-libm-test-in: Add more tests or exp2.
5373         * math/auto-libm-test-out: Regenerated.
5375 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5377         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5379         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5380         /dev/null.
5382 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5384         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5385         io fs process)): Drop spurious backslash.
5387 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5389         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5390         Use sysinfo system call instead of parsing /proc/meminfo.
5391         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5392         Likewise.
5394 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5396         [BZ #16985]
5397         * programs/localedef.c (main): Display argv[remaining] when
5398         output_path is NULL.
5400 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5402         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5403         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5404         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5405         tanh.
5406         * math/auto-libm-test-out: Regenerated.
5407         * sysdeps/i386/fpu/libm-test-ulps: Update.
5408         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5409         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5412 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5414         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5415         Use 'override' keyword to freeze the value here, preventing
5416         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5418 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5420         [BZ #14912]
5421         * sysdeps/aarch64/bits/atomic.h: Move to ...
5422         * sysdeps/aarch64/atomic-machine.h: ...here.
5423         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5424         _AARCH64_ATOMIC_MACHINE_H.
5425         * sysdeps/alpha/bits/atomic.h: Move to ...
5426         * sysdeps/alpha/atomic-machine.h: ...here.
5427         * sysdeps/arm/bits/atomic.h: Move to ...
5428         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5429         * bits/atomic.h: Move to ...
5430         * sysdeps/generic/atomic-machine.h: ...here.
5431         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5432         * sysdeps/i386/bits/atomic.h: Move to ...
5433         * sysdeps/i386/atomic-machine.h: ...here.
5434         * sysdeps/ia64/bits/atomic.h: Move to ...
5435         * sysdeps/ia64/atomic-machine.h: ...here.
5436         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5437         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5438         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5439         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5440         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5441         * sysdeps/microblaze/bits/atomic.h: Move to ...
5442         * sysdeps/microblaze/atomic-machine.h: ...here.
5443         * sysdeps/mips/bits/atomic.h: Move to ...
5444         * sysdeps/mips/atomic-machine.h: ...here.
5445         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5446         * sysdeps/powerpc/bits/atomic.h: Move to ...
5447         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5448         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5449         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5450         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5451         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5452         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5453         <atomic-machine.h> instead of <bits/atomic.h>.
5454         * sysdeps/s390/bits/atomic.h: Move to ...
5455         * sysdeps/s390/atomic-machine.h: ...here.
5456         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5457         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5458         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5459         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5460         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5461         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5462         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5463         * sysdeps/tile/bits/atomic.h: Move to ...
5464         * sysdeps/tile/atomic-machine.h: ...here.
5465         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5466         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5467         <sysdeps/tile/atomic-machine.h> instead of
5468         <sysdeps/tile/bits/atomic.h>.
5469         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5470         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5471         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
5472         <sysdeps/tile/atomic-machine.h> instead of
5473         <sysdeps/tile/bits/atomic.h>.
5474         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5475         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5476         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5477         <sysdeps/arm/atomic-machine.h> instead of
5478         <sysdeps/arm/bits/atomic.h>.
5479         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5480         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5481         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5482         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5483         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5484         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5485         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5486         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5487         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5488         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5489         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5490         * sysdeps/x86_64/bits/atomic.h: Move to ...
5491         * sysdeps/x86_64/atomic-machine.h: ...here.
5492         * include/atomic.h: Include <atomic-machine.h> instead of
5493         <bits/atomic.h>.
5495         * sysdeps/mips/mips32/libm-test-ulps: Update.
5496         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5498         [BZ #18952]
5499         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5500         not convert non-integer negative arguments to int to determine the
5501         value of signgam.
5502         * math/auto-libm-test-in: Add more tests of lgamma.
5503         * math/auto-libm-test-out: Regenerated.
5505         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5506         cosh, csqrt, erfc, expm1 and lgamma.
5507         * math/auto-libm-test-out: Regenerated.
5508         * sysdeps/i386/fpu/libm-test-ulps: Update.
5509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5511 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5513         [BZ #2542]
5514         [BZ #2543]
5515         [BZ #2558]
5516         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5517         __lgamma_neg for arguments from -28.0 to -2.0.
5518         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5519         __lgamma_negf for arguments from -15.0 to -2.0.
5520         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5521         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5522         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5523         Call __lgamma_negl for arguments from -33.0 to -2.0.
5524         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5525         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5526         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5527         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5528         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5529         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5530         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5531         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5532         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5533         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5534         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5535         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5536         (__lgamma_neg): Likewise.
5537         (__lgamma_negl): Likewise.
5538         (__lgamma_product): Likewise.
5539         (__lgamma_productl): Likewise.
5540         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5541         * math/auto-libm-test-in: Add more tests of lgamma.
5542         * math/auto-libm-test-out: Regenerated.
5543         * sysdeps/i386/fpu/libm-test-ulps: Update.
5544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5546 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5548         [BZ #18675]
5549         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5551 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5553         [BZ #14912]
5554         * bits/libc-lock.h: Move to ...
5555         * sysdeps/generic/libc-lock.h: ...here.
5556         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5557         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5558         * sysdeps/mach/hurd/libc-lock.h: ...here.
5559         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5560         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5561         * sysdeps/mach/bits/libc-lock.h: Move to ...
5562         * sysdeps/mach/libc-lock.h: ...here.
5563         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5564         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5565         * sysdeps/nptl/libc-lock.h: ...here.
5566         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5567         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5568         * sysdeps/nptl/libc-lockP.h: ...here.
5569         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5570         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5571         <bits/libc-lock.h>.
5572         * dirent/scandir-tail.c: Likewise.
5573         * dlfcn/dlerror.c: Likewise.
5574         * elf/dl-close.c: Likewise.
5575         * elf/dl-iteratephdr.c: Likewise.
5576         * elf/dl-lookup.c: Likewise.
5577         * elf/dl-open.c: Likewise.
5578         * elf/dl-support.c: Likewise.
5579         * elf/dl-writev.h: Likewise.
5580         * elf/rtld.c: Likewise.
5581         * grp/fgetgrent.c: Likewise.
5582         * gshadow/fgetsgent.c: Likewise.
5583         * gshadow/sgetsgent.c: Likewise.
5584         * iconv/gconv_conf.c: Likewise.
5585         * iconv/gconv_db.c: Likewise.
5586         * iconv/gconv_dl.c: Likewise.
5587         * iconv/gconv_int.h: Likewise.
5588         * iconv/gconv_trans.c: Likewise.
5589         * include/link.h: Likewise.
5590         * inet/getnameinfo.c: Likewise.
5591         * inet/getnetgrent.c: Likewise.
5592         * inet/getnetgrent_r.c: Likewise.
5593         * intl/bindtextdom.c: Likewise.
5594         * intl/dcigettext.c: Likewise.
5595         * intl/finddomain.c: Likewise.
5596         * intl/gettextP.h: Likewise.
5597         * intl/loadmsgcat.c: Likewise.
5598         * intl/localealias.c: Likewise.
5599         * intl/textdomain.c: Likewise.
5600         * libidn/idn-stub.c: Likewise.
5601         * libio/libioP.h: Likewise.
5602         * locale/duplocale.c: Likewise.
5603         * locale/freelocale.c: Likewise.
5604         * locale/newlocale.c: Likewise.
5605         * locale/setlocale.c: Likewise.
5606         * login/getutent_r.c: Likewise.
5607         * login/getutid_r.c: Likewise.
5608         * login/getutline_r.c: Likewise.
5609         * login/utmp-private.h: Likewise.
5610         * login/utmpname.c: Likewise.
5611         * malloc/mtrace.c: Likewise.
5612         * misc/efgcvt.c: Likewise.
5613         * misc/error.c: Likewise.
5614         * misc/fstab.c: Likewise.
5615         * misc/getpass.c: Likewise.
5616         * misc/mntent.c: Likewise.
5617         * misc/syslog.c: Likewise.
5618         * nis/nis_call.c: Likewise.
5619         * nis/nis_callback.c: Likewise.
5620         * nis/nss-default.c: Likewise.
5621         * nis/nss_compat/compat-grp.c: Likewise.
5622         * nis/nss_compat/compat-initgroups.c: Likewise.
5623         * nis/nss_compat/compat-pwd.c: Likewise.
5624         * nis/nss_compat/compat-spwd.c: Likewise.
5625         * nis/nss_nis/nis-alias.c: Likewise.
5626         * nis/nss_nis/nis-ethers.c: Likewise.
5627         * nis/nss_nis/nis-grp.c: Likewise.
5628         * nis/nss_nis/nis-hosts.c: Likewise.
5629         * nis/nss_nis/nis-network.c: Likewise.
5630         * nis/nss_nis/nis-proto.c: Likewise.
5631         * nis/nss_nis/nis-pwd.c: Likewise.
5632         * nis/nss_nis/nis-rpc.c: Likewise.
5633         * nis/nss_nis/nis-service.c: Likewise.
5634         * nis/nss_nis/nis-spwd.c: Likewise.
5635         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5636         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5637         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5638         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5639         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5640         * nis/nss_nisplus/nisplus-network.c: Likewise.
5641         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5642         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5643         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5644         * nis/nss_nisplus/nisplus-service.c: Likewise.
5645         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5646         * nis/ypclnt.c: Likewise.
5647         * nptl/libc_pthread_init.c: Likewise.
5648         * nss/getXXbyYY.c: Likewise.
5649         * nss/getXXent.c: Likewise.
5650         * nss/getXXent_r.c: Likewise.
5651         * nss/nss_db/db-XXX.c: Likewise.
5652         * nss/nss_db/db-netgrp.c: Likewise.
5653         * nss/nss_db/nss_db.h: Likewise.
5654         * nss/nss_files/files-XXX.c: Likewise.
5655         * nss/nss_files/files-alias.c: Likewise.
5656         * nss/nsswitch.c: Likewise.
5657         * posix/regex_internal.h: Likewise.
5658         * posix/wordexp.c: Likewise.
5659         * pwd/fgetpwent.c: Likewise.
5660         * resolv/res_hconf.c: Likewise.
5661         * resolv/res_libc.c: Likewise.
5662         * shadow/fgetspent.c: Likewise.
5663         * shadow/lckpwdf.c: Likewise.
5664         * shadow/sgetspent.c: Likewise.
5665         * socket/opensock.c: Likewise.
5666         * stdio-common/reg-modifier.c: Likewise.
5667         * stdio-common/reg-printf.c: Likewise.
5668         * stdio-common/reg-type.c: Likewise.
5669         * stdio-common/vfprintf.c: Likewise.
5670         * stdio-common/vfscanf.c: Likewise.
5671         * stdlib/abort.c: Likewise.
5672         * stdlib/cxa_atexit.c: Likewise.
5673         * stdlib/fmtmsg.c: Likewise.
5674         * stdlib/random.c: Likewise.
5675         * stdlib/setenv.c: Likewise.
5676         * string/strsignal.c: Likewise.
5677         * sunrpc/auth_none.c: Likewise.
5678         * sunrpc/bindrsvprt.c: Likewise.
5679         * sunrpc/create_xid.c: Likewise.
5680         * sunrpc/key_call.c: Likewise.
5681         * sunrpc/rpc_thread.c: Likewise.
5682         * sysdeps/arm/backtrace.c: Likewise.
5683         * sysdeps/generic/ldsodefs.h: Likewise.
5684         * sysdeps/generic/stdio-lock.h: Likewise.
5685         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5686         * sysdeps/i386/backtrace.c: Likewise.
5687         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5688         * sysdeps/m68k/backtrace.c: Likewise.
5689         * sysdeps/mach/hurd/cthreads.c: Likewise.
5690         * sysdeps/mach/hurd/dirstream.h: Likewise.
5691         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5692         * sysdeps/nptl/malloc-machine.h: Likewise.
5693         * sysdeps/nptl/stdio-lock.h: Likewise.
5694         * sysdeps/posix/dirstream.h: Likewise.
5695         * sysdeps/posix/getaddrinfo.c: Likewise.
5696         * sysdeps/posix/system.c: Likewise.
5697         * sysdeps/pthread/aio_suspend.c: Likewise.
5698         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5699         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5700         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5701         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5702         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5703         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5704         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5705         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5706         * sysdeps/unix/sysv/linux/system.c: Likewise.
5707         * sysdeps/x86_64/backtrace.c: Likewise.
5708         * time/alt_digit.c: Likewise.
5709         * time/era.c: Likewise.
5710         * time/tzset.c: Likewise.
5711         * wcsmbs/wcsmbsload.c: Likewise.
5712         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5713         instead of <bits/libc-lock.h> in comment.
5715 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5717         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5718         Only use .set mips2 if the current ISA is below mips2.
5719         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5720         Likewise.
5721         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5722         mips32r2 if the current ISA is below mips32r2.
5723         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5724         (TLS_IE): Updated to use the TLD_RDHWR macro.
5725         (TLS_LE): Likewise.
5726         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5727         __ASSEMBLER__ condition.
5729 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5731         Fix parallel build of before-compile targets.
5733         * sysdeps/mach/Makefile ($(patsubst
5734         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5735         mach-before-compile target.
5736         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5737         io fs process)): Move rule to dedicated hurd-before-compile target.
5739 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5741         Fix rules generating headers in hurd/ and mach/ when initial make call
5742         has subdir= explicitly set.
5744         * sysdeps/mach/Makefile ($(patsubst
5745         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5746         calling $(MAKE).
5747         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5748         io fs process)): Force subdir to hurd when calling $(MAKE).
5749         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5750         subdir to mach when calling $(MAKE).
5752 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5754         Check sysheaders when looking for Mach and Hurd headers
5756         * sysdeps/mach/configure.ac: Add sysheaders check.
5757         * sysdeps/mach/configure: Regenerate.
5758         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5759         * sysdeps/mach/hurd/configure: Regenerate.
5761 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5763         [BZ #18921]
5764         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5765         Fix inverted sense of test of 'o_directory_works' value.
5766         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5767         Bernhard Voelker <mail@bernhard-voelker.de>.
5769 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5771         [BZ #14912]
5772         * bits/linkmap.h: Move to ...
5773         * sysdeps/generic/linkmap.h: ...here.
5774         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5775         * sysdeps/aarch64/linkmap.h: ...here.
5776         * sysdeps/arm/bits/linkmap.h: Move to ...
5777         * sysdeps/arm/linkmap.h: ...here.
5778         * sysdeps/hppa/bits/linkmap.h: Move to ...
5779         * sysdeps/hppa/linkmap.h: ...here.
5780         * sysdeps/ia64/bits/linkmap.h: Move to ...
5781         * sysdeps/ia64/linkmap.h: ...here.
5782         * sysdeps/mips/bits/linkmap.h: Move to ...
5783         * sysdeps/mips/linkmap.h: ...here.
5784         * sysdeps/s390/bits/linkmap.h: Move to ...
5785         * sysdeps/s390/linkmap.h: ...here.
5786         * sysdeps/sh/bits/linkmap.h: Move to ...
5787         * sysdeps/sh/linkmap.h: ...here.
5788         * sysdeps/x86/bits/linkmap.h: Move to ...
5789         * sysdeps/x86/linkmap.h: ...here.
5790         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5792 2015-09-04  Andreas Schwab  <schwab@suse.de>
5794         [BZ #18635]
5795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5796         (__makecontext): Terminate FDE before return label.
5797         (__novec_makecontext): Likewise.
5799 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5801         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5802         first member of struct sv in syscall macro.
5804 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5806         [BZ #14912]
5807         * bits/stdio-lock.h: Move to ...
5808         * sysdeps/generic/stdio-lock.h: ...here.
5809         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5810         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5811         * sysdeps/nptl/stdio-lock.h: ...here.
5812         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5813         * include/libio.h: Include <stdio-lock.h> instead of
5814         <bits/stdio-lock.h>.
5815         * sysdeps/nptl/fork.c: Likewise.
5816         * sysdeps/pthread/flockfile.c: Likewise.
5817         * sysdeps/pthread/ftrylockfile.c: Likewise.
5818         * sysdeps/pthread/funlockfile.c: Likewise.
5820         [BZ #14912]
5821         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5822         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5823         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5824         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5825         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5826         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5827         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5829 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5831         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5832         (test-xfail-tst-protected1b): New variable.
5834 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5836         [BZ #14912]
5837         * bits/libc-tsd.h: Move to ...
5838         * sysdeps/generic/libc-tsd.h: ...here.
5839         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5840         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5841         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5842         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5843         * include/ctype.h: Include <libc-tsd.h> instead of
5844         <bits/libc-tsd.h>.
5845         * include/rpc/rpc.h: Likewise.
5846         * locale/localeinfo.h: Likewise.
5847         * sunrpc/rpc_thread.c: Likewise.
5848         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5849         * sysdeps/nptl/malloc-machine.h: Likewise.
5851         * Makefile (headers): Remove bits/libc-lock.h.
5852         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5854         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5855         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5856         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5857         <bits/stdio-lock.h>.
5858         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5859         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5861 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5863         [BZ #18757]
5864         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5865         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5866         BZ #18757.
5868 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5870         * malloc/mtrace.pl: Filter out NULL entries.
5872 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5874         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5875         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5876         macro.
5878         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
5879         (TCP_CC_INFO): Likewise.
5880         (TCP_SAVE_SYN): Likewise.
5881         (TCP_SAVED_SYN): Likewise.
5883 2015-08-31  Brett Neumeier <brett@neumeier.us>
5885         [BZ #18870]
5886         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
5888 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5890         [BZ #18873]
5891         Fix broken overflow check in posix_fallocate
5892         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
5893         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5894         Fix parenthesization typo.
5896 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
5898         [BZ #18887]
5899         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
5900         tst-mntent-blank-passno.
5901         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
5902         * misc/tst-mntent-blank-corrupt.c: New test.
5903         * misc/tst-mntent-blank-passno.c: New test ripped from ...
5904         * misc/tst-mntent.c (do_test): ... here.
5906 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
5908         [BZ #4404]
5909         * po/de.po: Fix SIGALRM typo.
5911 2015-08-28  James Perkins  <james@loowit.net>
5913         * time/tst-strptime2.c (tests): Replace short list of test
5914         strings for strptime %z specifier with code which exhaustively
5915         tests every combination of sign and 0 to 5 digits. Tests for
5916         rejection of invalid strings.
5918 2015-08-28  James Perkins  <james@loowit.net>
5920         [BZ #16141]
5921         * time/strptime_l.c (__strptime_internal): Fix %z minutes
5922         calculation, removing incorrect decimal time rounding, so that
5923         all minute values result in a valid seconds value.
5924         * time/strptime_l.c (__strptime_internal): Extend %z time zone
5925         offset range limits to UTC-99:59 through UTC+99:59 to parse
5926         current and historical use cases.
5927         * time/tst-strptime2.c (tests): Modify and add tests for the
5928         strptime %z input field descriptor, specifically conversion of
5929         minutes to seconds and validating an offset range of -9959 to
5930         +9959.
5932 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5933             Dmitry V. Levin  <ldv@altlinux.org>
5935         [BZ #18877]
5936         * posix/Makefile (tests): Add tst-mmap-offset.
5937         * posix/tst-mmap.c: New file.
5938         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
5939         offset calculation for negative values.
5941 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5943         * sysdeps/i386/init-arch.h: New file.
5944         * sysdeps/i386/i586/init-arch.h: Likewise.
5945         * sysdeps/i386/i686/init-arch.h: Likewise.
5946         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
5947         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
5948         * sysdeps/x86/cpu-features.h (bit_I586): New.
5949         (bit_I686): Likewise.
5950         (bit_CX8): Likewise.
5951         (bit_CMOV): Likewise.
5952         (index_CX8): Likewise.
5953         (index_CMOV): Likewise.
5954         (index_I586): Likewise.
5955         (index_I686): Likewise.
5956         (reg_CX8): Likewise.
5957         (reg_CMOV): Likewise.
5958         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
5959         available at compile-time.
5960         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
5961         available at compile-time.
5962         * sysdeps/x86/init-arch.h (USE_I586): New macro.
5963         (USE_I686): Likewise.
5965 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5967         * sysdeps/i386/bcopy.S: New file.
5968         * sysdeps/i386/bzero.S: Likewise.
5969         * sysdeps/i386/memcpy.S: Likewise.
5970         * sysdeps/i386/memmove.S: Likewise.
5971         * sysdeps/i386/mempcpy.S: Likewise.
5972         * sysdeps/i386/memset.S: Likewise.
5973         * sysdeps/i386/bzero.c: Removed.
5974         * sysdeps/i386/memset.c: Likewise.
5975         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
5976         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
5977         * sysdeps/i386/i586/memset_chk.S: Likewise.
5978         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
5979         * sysdeps/i386/memcpy_chk.S: Here.
5980         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
5981         * sysdeps/i386/memmove_chk.S: Here.
5982         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
5983         * sysdeps/i386/mempcpy_chk.S: Likewise.
5984         * sysdeps/i386/i686/memset_chk.S: Moved to ...
5985         * sysdeps/i386/memset_chk.S: Likewise.
5987 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
5989         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
5990         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
5991         file, move DIAG_POP_NEEDS_COMMENT to end of file.
5992         * soft-fp/fmadf4.c: Ditto.
5993         * soft-fp/fmatf4.c: Ditto.
5995 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5997         * sysdeps/i386/i586/Implies: Removed.
5998         * sysdeps/i386/i686/Implies: Likewise.
6000 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6002         * sysdeps/i386/i486/strlen.S: Moved to ...
6003         * sysdeps/i386/strlen.S: Here.
6005 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6007         * sysdeps/i386/i486/strcat.S: Moved to ...
6008         * sysdeps/i386/strcat.S: Here.
6010 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6012         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6013         * sysdeps/i386/pthread_spin_trylock.S: Here.
6014         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6015         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6017 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6019         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6020         * sysdeps/i386/string-inlines.c: Here.
6022 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6024         * sysdeps/i386/i486/htonl.S: Moved ...
6025         * sysdeps/i386/htonl.S: here.
6027 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6029         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6030         * sysdeps/i386/bits/atomic.h: Here.
6032 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6034         * sysdeps/i386/i486/Versions: Removed.
6036 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6038         [BZ #2898]
6039         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6040         Based on patch by Aurelien Jarno.
6042 2015-08-26  Stan Shebs  <stanshebs@google.com>
6044         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6045         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6047 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6049         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6050         * sysdeps/powerpc/dl-procinfo.c:
6051         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6052         feature so it shows when LD_SHOW_AUXV=1.
6054 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6056         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6057         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6058         definition.  ISA 2.07B no longer requires full sync.
6060 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6062         [BZ #18863]
6063         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6064         (si_call_addr): Define.
6065         (si_syscall): Define.
6066         (si_arch): Define.
6068 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6070         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6071         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6072         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6073         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6074         (__memset_zero_constant_len_parameter): New.
6075         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6076         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6077         (__memset_zero_constant_len_parameter): Don't define if
6078         __memset_chk or USE_AS_BZERO are defined.
6080         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6081         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6082         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6084         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6085         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6086         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6087         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6088         comments.
6089         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6090         -mno-mmx for $(all-rtld-routines).
6091         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6092         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6093         i386.
6095 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6097         * sysdeps/generic/unwind.h
6098         (_Unwind_Word): Use __mode__(__unwind_word__)
6099         instead of __mode__(__word__).
6100         (_Unwind_Sword): Likewise.
6102         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6103         (MAX_NEEDED_INPUT): New define.
6104         (MAX_NEEDED_OUTPUT): New define.
6106         * NEWS: New item for IBM z13 string optimizations.
6108         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6109         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6110         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6111         * sysdeps/s390/multiarch/Makefile
6112         (sysdep_routines): Add memrchr functions.
6113         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6114         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6116         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6117         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6118         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6119         * sysdeps/s390/multiarch/Makefile
6120         (sysdep_routines): Add wmemcmp functions.
6121         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6122         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6123         * benchtests/bench-wmemcmp.c: New File.
6124         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6126         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6127         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6128         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6129         * sysdeps/s390/multiarch/Makefile
6130         (sysdep_routines): Add wmemset functions.
6131         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6132         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6133         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6134         * string/test-memset.c: Add wmemset support.
6135         * wcsmbs/test-wmemset.c: New File.
6136         * wcsmbs/Makefile (strop-tests): Add wmemset.
6137         * benchtests/bench-memset.c: Add wmemset support.
6138         * benchtests/bench-wmemset.c: New File.
6139         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6141         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6142         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6143         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6144         * sysdeps/s390/multiarch/Makefile
6145         (sysdep_routines): Add memccpy functions.
6146         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6147         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6148         * string/memccpy.c: Use MEMCCPY if defined.
6150         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6151         * sysdeps/s390/multiarch/memchr.c: Likewise.
6152         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6153         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6154         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6155         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6156         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6157         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6158         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6159         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6160         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6161         and rawmemchr functions.
6162         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6163         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6164         and wmemchr.
6165         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6166         * string/test-memchr.c: Add wmemchr support.
6167         * wcsmbs/test-wmemchr.c: New File.
6168         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6169         * benchtests/bench-memchr.c: Add wmemchr support.
6170         * benchtests/bench-wmemchr.c: New File.
6171         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6173         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6174         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6175         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6176         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6177         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6178         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6180         wcscspn functions.
6181         * sysdeps/s390/multiarch/ifunc-impl-list.c
6182         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6183         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6184         * string/test-strcspn.c: Add wcscspn support.
6185         * wcsmbs/test-wcscspn.c: New File.
6186         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6187         * benchtests/bench-strcspn.c: Add wcscspn support.
6188         * benchtests/bench-wcscspn.c: New File.
6189         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6191         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6192         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6193         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6194         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6195         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6196         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6198         wcspbrk functions.
6199         * sysdeps/s390/multiarch/ifunc-impl-list.c
6200         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6201         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6202         * string/test-strpbrk.c: Add wcspbrk support.
6203         * wcsmbs/test-wcspbrk.c: New File.
6204         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6205         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6206         * benchtests/bench-wcspbrk.c: New File.
6207         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6209         * sysdeps/s390/multiarch/strspn-c.c: New File.
6210         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6211         * sysdeps/s390/multiarch/strspn.c: Likewise.
6212         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6213         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6214         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6215         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6216         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6217         wcsspn functions.
6218         * sysdeps/s390/multiarch/ifunc-impl-list.c
6219         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6220         * string/test-strspn.c: Add wcsspn support.
6221         * wcsmbs/test-wcsspn.c: New File.
6222         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6223         * benchtests/bench-strspn.c: Add wcsspn support.
6224         * benchtests/bench-wcsspn.c: New File.
6225         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6227         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6228         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6229         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6230         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6231         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6232         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6233         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6234         wcsrchr functions.
6235         * sysdeps/s390/multiarch/ifunc-impl-list.c
6236         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6237         * benchtests/bench-wcsrchr.c: New File.
6238         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6240         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6241         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6242         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6243         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6244         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6245         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6246         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6247         wcschrnul functions.
6248         * sysdeps/s390/multiarch/ifunc-impl-list.c
6249         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6250         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6251         * string/test-strchr.c: Add wcschrnul support.
6252         * wcsmbs/test-wcschrnul.c: New File.
6253         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6254         * benchtests/bench-strchr.c: Add wcschrnul support.
6255         * benchtests/bench-wcschrnul.c: New File.
6256         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6258         * sysdeps/s390/multiarch/strchr-c.c: New File.
6259         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6260         * sysdeps/s390/multiarch/strchr.c: Likewise.
6261         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6262         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6263         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6265         wcschr functions.
6266         * sysdeps/s390/multiarch/ifunc-impl-list.c
6267         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6268         * string/strchr.c (STRCHR): Define and use macro.
6269         * benchtests/bench-wcschr.c: New File.
6270         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6272         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6273         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6274         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6275         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6276         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6277         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6278         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6279         wcsncmp functions.
6280         * sysdeps/s390/multiarch/ifunc-impl-list.c
6281         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6282         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6283         * benchtests/bench-strncmp.c: Add wcsncmp support.
6284         * benchtests/bench-wcsncmp.c: New File.
6285         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6287         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6288         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6289         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6290         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6291         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6292         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6293         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6294         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6295         wcscmp functions.
6296         * sysdeps/s390/multiarch/ifunc-impl-list.c
6297         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6298         * string/strcmp.c (STRCMP): Define and use macro.
6299         * benchtests/bench-wcscmp.c: New File.
6300         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6301         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6302         instead of _HAVE_STRING_ARCH_memchr.
6304         * sysdeps/s390/multiarch/strncat-c.c: New File.
6305         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6306         * sysdeps/s390/multiarch/strncat.c: Likewise.
6307         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6308         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6309         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6310         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6311         wcsncat functions.
6312         * sysdeps/s390/multiarch/ifunc-impl-list.c
6313         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6314         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6315         * string/test-strncat.c: Add wcsncat support.
6316         * wcsmbs/test-wcsncat.c: New File.
6317         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6318         * benchtests/bench-strncat.c: Add wcsncat support.
6319         * benchtests/bench-wcsncat.c: New File.
6320         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6322         * sysdeps/s390/multiarch/strcat-c.c: New File.
6323         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6324         * sysdeps/s390/multiarch/strcat.c: Likewise.
6325         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6326         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6327         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6328         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6329         wcscat functions.
6330         * sysdeps/s390/multiarch/ifunc-impl-list.c
6331         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6332         * string/strcat.c (STRCAT): Define and use macro.
6333         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6334         * string/test-strcat.c: Add wcscat support.
6335         * wcsmbs/test-wcscat.c: New File.
6336         * wcsmbs/Makefile (strop-tests): Add wcscat.
6337         * benchtests/bench-strcat.c: Add wcscat support.
6338         * benchtests/bench-wcscat.c: New File.
6339         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6341         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6342         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6343         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6344         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6345         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6346         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6348         wcpncpy functions.
6349         * sysdeps/s390/multiarch/ifunc-impl-list.c
6350         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6351         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6352         * string/test-stpncpy.c: Add wcpncpy support.
6353         * wcsmbs/test-wcpncpy.c: New File.
6354         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6355         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6356         * benchtests/bench-wcpncpy.c: New File.
6357         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6359         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6360         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6361         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6362         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6363         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6364         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6365         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6366         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6367         wcsncpy functions.
6368         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6369         * sysdeps/s390/multiarch/ifunc-impl-list.c
6370         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6371         * string/test-strncpy.c: Add wcsncpy support.
6372         * wcsmbs/test-wcsncpy.c: New File.
6373         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6374         * benchtests/bench-strncpy.c: Add wcsncpy support.
6375         * benchtests/bench-wcsncpy.c: New File.
6376         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6378         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6379         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6380         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6381         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6382         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6383         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6384         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6385         wcpcpy functions.
6386         * string/stpcpy.c: Use STPCPY if defined.
6387         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6388         * sysdeps/s390/multiarch/ifunc-impl-list.c
6389         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6390         * string/test-stpcpy.c: Add wcpcpy support.
6391         * wcsmbs/test-wcpcpy.c: New File.
6392         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6393         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6394         * benchtests/bench-wcpcpy.c: New File.
6395         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6397         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6398         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6399         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6400         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6401         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6402         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6403         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6404         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6405         wcscpy functions.
6406         * sysdeps/s390/multiarch/ifunc-impl-list.c
6407         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6408         * benchtests/bench-wcscpy.c: New File.
6409         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6411         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6412         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6413         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6414         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6415         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6416         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6418         wcsnlen functions.
6419         * sysdeps/s390/multiarch/ifunc-impl-list.c
6420         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6421         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6422         * string/test-strnlen.c: Add wcsnlen support.
6423         * wcsmbs/test-wcsnlen.c: New File.
6424         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6425         * benchtests/bench-strnlen.c: Add wcsnlen support.
6426         * benchtests/bench-wcsnlen.c: New File.
6427         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6429         * sysdeps/s390/multiarch/Makefile: New File.
6430         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6431         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6432         * sysdeps/s390/multiarch/strlen.c: Likewise.
6433         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6434         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6435         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6436         * string/strlen.c (STRLEN): Define and use macro.
6437         * sysdeps/s390/multiarch/ifunc-impl-list.c
6438         (IFUNC_VX_IMPL): New macro function.
6439         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6440         * benchtests/Makefile (wcsmbs-bench): New variable.
6441         (string-bench-all): Added wcsmbs-bench.
6442         * benchtests/bench-wcslen.c: New File.
6444         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6445         s390_vx_libc_ifunc2): New macro function.
6447         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6448         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6449         assembler support.
6450         * sysdeps/s390/configure: Regenerated.
6452         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6453         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6455         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6456         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6457         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6459         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6460         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6461         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6462         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6463         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6464         (memcmp, bcmp): Use __memcmp_default as alias source.
6465         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6466         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6467         Rename to __memcmp_default.
6468         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6469         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6470         (memcpy): Use __memcpy_default as alias source.
6471         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6472         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6473         Rename to __memcpy_default.
6474         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6475         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6476         (memset): Use __memset_default as alias source.
6477         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6478         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6479         Rename to __memset_default.
6480         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6481         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6482         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6483         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6484         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6485         (memcmp, bcmp): Use __memcmp_default as alias source.
6486         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6487         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6488         Rename to __memcmp_default.
6489         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6490         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6491         (memcpy): Use __memcpy_default as alias source.
6492         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6493         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6494         Rename to __memcpy_default.
6495         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6496         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6497         (memset): Use __memset_default as alias source.
6498         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6499         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6500         Rename to __memset_default.
6501         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6502         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6504         [BZ #18610]
6505         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6506         __ieee_instruction_pointer to __unused.
6507         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6508         __ieee_instruction_pointer.
6509         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6510         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6511         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6512         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6513         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6514         Mark dxc-field as reserved.
6516 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6518         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6519         if the weak reference is not null.
6521 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6523         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6525         [BZ #11214]
6526         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6528 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6530         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6531         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6532         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6533         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6534         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6535         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6536         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6537         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6538         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6539         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6540         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6541         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6542         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6543         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6544         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6545         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6546         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6547         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6549 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6551         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6552         register other than r0 for tabort, it has special meaning.
6553         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6554         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6555         transaction before starting syscall.
6557 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6559         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6561 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6563         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6565         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6566         * sysdeps/x86_64/rtld-memset.S: Likewise.
6567         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6568         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6569         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6570         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6572         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6574 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6576         * debug/strcpy_chk.c: Improve performance.
6577         * debug/stpcpy_chk.c: Likewise.
6578         * sysdeps/x86_64/strcpy_chk.S: Remove.
6579         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6581         [BZ #18240]
6582         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6584 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6586         [BZ #15128]
6587         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6588         ifuncmain8.
6589         (modules-names): Add ifuncmod8.
6590         ($(objpfx)ifuncmain8): New rule.
6591         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6592         <cpuid.h>.
6593         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6594         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6595         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6596         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6597         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6598         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6599         * sysdeps/x86_64/ifuncmain8.c: New file.
6600         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6601         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6602         Removed.
6603         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6604         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6605         Change rtld_savespace_sse to __glibc_unused2.
6606         (RTLD_CHECK_FOREIGN_CALL): Removed.
6607         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6608         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6609         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6611 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6613         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6615 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6617         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6618         Unconditionally set __fpcr to avoid uninialized warning.
6619         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6621 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6623         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6624         is corrupt.
6626         * malloc/arena.c (arena_get2): Drop unused argument.
6627         (arena_lock): Adjust.
6628         (arena_get_retry): Likewise.
6630 2015-08-24  Andreas Schwab  <schwab@suse.de>
6632         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6633         Don't define.
6634         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6635         (__ASSUME_IPC64): Don't undef.
6636         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6637         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6638         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6639         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6640         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6641         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6642         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6643         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6644         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6645         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6646         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6647         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6648         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6649         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6650         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6651         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6652         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6653         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6654         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6655         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6656         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6658 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6660         * manual/Makefile (install): Only build manual when perl is available.
6662 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6664         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6665         '#undef memcpy' by '#undef memchr'.
6667 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6669         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6670         memchr not point to the internal __GI_memchr implementation.
6672 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6674         * timezone/Makefile (CFLAGS-zdump.c): Remove
6675         -Wno-strict-prototypes.
6676         (CFLAGS-zic.c): Likewise.
6677         (CFLAGS-ialloc.c): Likewise.
6678         (CFLAGS-scheck.c): Likewise.
6680         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6681         -Wno-error=undef.
6683 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6685         * i386/i686/multiarch/strcasestr-c.c: Removed.
6686         * x86_64/multiarch/strcasestr.c: Likewise.
6687         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6688         Remove strcasestr.
6690 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6692         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6694         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6695         variables for high and low parts before possibly modifying them.
6697 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6699         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6700         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6701         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6702         of "multiarch/init-arch.h".
6703         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6704         * sysdeps/x86/init-arch.h: This.
6706 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6708         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6709         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6711 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6713         [BZ #17787]
6714         * manual/macros.texi: Add twoexp macro.
6715         * manual/filesys.texi: Fix exponents.
6716         * manual/llio.texi: Likewise.
6717         * manual/stdio.texi: Likewise.
6719 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6721         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6722         incorrect use.
6724 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6726         [BZ #18370]
6727         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6728         whose real or imaginary part has small absolute value.
6729         * math/s_csqrtf.c (__csqrtf): Likewise.
6730         * math/s_csqrtl.c (__csqrtl): Likewise.
6731         * math/auto-libm-test-in: Add more tests of csqrt.
6732         * math/auto-libm-test-out: Regenerated.
6733         * sysdeps/i386/fpu/libm-test-ulps: Update.
6735 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6737         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6738         __ppc_set_ppr_very_low): New functions.
6739         * manual/platform.texi: Add documentation about
6740         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6742 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6744         * string/stpncpy.c (stpncpy): Improve performance using
6745         __strnlen/memcpy/memset.
6747 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6749         [BZ #18796]
6750         * scripts/test-installation.pl: Don't add -lmvec to build options if
6751         libmvec wasn't built.
6753 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6755         [BZ #14341]
6756         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6757         case when there is a gap between DT_REL and DT_JMPREL sections.
6758         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6759         (LDFLAGS-tst-split-dynreloc): New.
6760         (tst-split-dynreloc-ENV): Likewise.
6761         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6762         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6764 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6766         [BZ #18822]
6767         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6768         attribute_hidden.
6769         (__xstat64_conv): Likewise.
6770         (__xstat32_conv): Likewise.
6772 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6774         [BZ #18822]
6775         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6776         Don't load %ebx when calling __setcontext.  Call __setcontext
6777         with HIDDEN_JUMPTARGET.
6778         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6779         libc_hidden_def.
6781 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6783         * sysdeps/i386/i686/Makefile
6784         [$(subdir) == string] (sysdep_routines): Moved to ...
6785         * sysdeps/i386/Makefile: Here.
6786         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6787         * sysdeps/i386/cacheinfo.c: Here.
6788         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6789         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6790         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6791         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6793 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6795         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6796         __i586__ is defined.
6797         (HAS_I686): Defined to 1 if __i686__ is defined.
6799 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6801         * elf/Makefile [$(have-z-execstack) = yes]
6802         (CPPFLAGS-tst-execstack.c): New variable.
6804         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6805         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6806         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6807         UTMPX || _HAVE_UT_TV].
6808         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6809         UTMPX || _HAVE_UT_TV - 0].
6811 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6813         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6814         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6815         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6817 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6819         * sysdeps/powerpc/dl-procinfo.c:
6820         (_dl_powerpc_cap_flags): Added missing strings for some
6821         hwcap features.
6822         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6824 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6826         Port the 0x7efe...feff pattern to GCC 6.
6827         See Steve Ellcey's bug report in:
6828         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6829         * string/memrchr.c (MEMRCHR):
6830         * string/rawmemchr.c (RAWMEMCHR):
6831         * string/strchr.c (strchr):
6832         * string/strchrnul.c (STRCHRNUL):
6833         Rewrite code to avoid issues with signed shift overflow.
6835 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6837         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6838         whether cpuid is available only if HAS_CPUID is 0.
6839         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6840         (HAS_I586): Likewise.
6841         (HAS_I686): Likewise.
6843 2015-08-18  Zack Weinberg  <zackw@panix.com>
6845         * misc/Versions (libc): Add GLIBC_2.23.
6847 2015-08-18  Alan Modra  <amodra@gmail.com>
6849         [BZ #18421]
6850         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6851         .Lp__global.
6852         (_start): Load %dp via .Lp__global.
6853         [!SHARED]: Use .section .rodata.
6855 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6857         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6858         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6860 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6862         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6863         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6865 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6867         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6868         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6870 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6872         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6873         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6875 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6877         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6878         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
6880 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6882         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
6883         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
6885 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6887         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
6889 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6891         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
6892         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
6893         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6894         (__ASSUME_LWS_CAS): Delete.
6896 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6898         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
6899         * sysdeps/hppa/configure: Regenerated.
6900         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
6901         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
6902         * sysdeps/hppa/nptl/tls.h: Likewise.
6904 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
6906         [BZ #18823]
6907         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
6908         for scaling up small arguments.
6909         * math/s_csqrtf.c (__csqrtf): Likewise.
6910         * math/s_csqrtl.c (__csqrtl): Likewise.
6911         * math/auto-libm-test-in: Add more tests of csqrt.
6912         * math/auto-libm-test-out: Regenerated.
6914 2015-08-17  Andreas Schwab  <schwab@suse.de>
6916         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
6917         version set GLIBC_2.19.
6919 2015-08-16  Zack Weinberg  <zackw@panix.com>
6921         [BZ #18681]
6922         * misc/regexp.h: This interface is no longer supported.
6923         Remove all contents, leaving only an #error directive.
6924         * misc/regexp.c (loc1, loc2, locs, step, advance):
6925         Demote to compatibility symbols.
6927 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
6929         [BZ #18084]
6930         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
6931         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
6932         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6933         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
6934         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
6935         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
6936         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
6937         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
6938         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6940 2015-08-15  Zack Weinberg  <zackw@panix.com>
6942         [BZ #18795]
6943         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
6944         buffer length is known to be too large, not if it's known to be
6945         small enough.
6946         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
6947         overflow at runtime, involving a length parameter, twice: once
6948         with a compile-time constant length parameter, once without.
6950 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
6952         [BZ #18824]
6953         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
6954         scaling x * y up instead of down.
6955         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6956         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6957         * math/auto-libm-test-in: Add more tests of fma.
6958         * math/auto-libm-test-out: Regenerated.
6960 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6964 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6966         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
6967         unnecessary movq.
6968         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
6969         Likewise.
6971 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
6973         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6974         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
6975         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
6976         and tgamma.
6977         * math/auto-libm-test-out: Regenerated.
6978         * sysdeps/i386/fpu/libm-test-ulps: Update.
6979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6981         [BZ #16520]
6982         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
6983         (__tanh): Force underflow exception for arguments with small
6984         absolute value.
6985         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
6986         (__tanhf): Force underflow exception for arguments with small
6987         absolute value.
6988         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
6989         (__tanhl): Force underflow exception for arguments with small
6990         absolute value.
6991         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
6992         (__tanhl): Force underflow exception for arguments with small
6993         absolute value.
6994         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
6995         (__tanhl): Force underflow exception for arguments with small
6996         absolute value.
6997         * math/auto-libm-test-in: Add more tests of tanh.
6998         * math/auto-libm-test-out: Regenerated.
6999         * sysdeps/i386/fpu/libm-test-ulps: Update.
7001 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7003         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7004         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7006 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7008         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7009         <cpuid.h>.
7011 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7013         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7014         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7016 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7018         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7019         Remove $(objpfx)init-arch.o.
7020         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7021         init-arch.
7022         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7023         (INIT_ARCH_EXT): Defined as empty.
7024         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7025         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7026         __init_cpu_features call.  Replace HAS_XXX with
7027         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7029         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7030         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7031         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7032         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7033         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7034         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7035         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7036         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7037         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7038         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7039         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7040         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7041         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7042         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7043         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7044         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7045         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7046         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7047         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7048         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7049         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7050         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7051         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7052         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7053         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7054         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7055         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7056         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7057         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7058         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7059         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7060         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7061         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7062         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7064 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7066         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7067         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7068         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7069         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7070         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7071         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7072         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7073         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7074         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7075         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7076         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7077         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7078         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7079         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7080         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7081         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7082         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7083         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7084         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7085         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7086         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7087         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7088         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7089         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7090         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7091         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7092         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7093         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7094         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7095         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7096         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7097         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7098         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7099         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7100         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7101         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7102         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7103         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7104         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7105         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7106         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7107         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7108         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7110 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7112         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7113         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7114         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7115         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7116         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7117         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7118         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7119         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7120         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7121         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7122         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7123         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7124         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7125         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7126         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7127         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7128         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7129         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7130         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7131         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7132         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7133         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7134         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7135         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7136         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7137         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7138         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7139         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7140         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7141         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7142         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7143         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7144         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7145         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7146         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7147         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7148         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7149         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7150         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7151         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7152         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7153         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7154         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7156 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7158         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7159         (dl_platform_init): Call init_cpu_features.
7160         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7161         * sysdeps/i386/i686/cacheinfo.c
7162         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7163         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7164         * sysdeps/i386/i686/multiarch/Versions: Removed.
7165         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7166         Removed.
7167         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7168         * sysdeps/unix/sysv/linux/x86/Makefile
7169         (libpthread-sysdep_routines): Remove init-arch.
7170         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7171         <sysdeps/x86_64/dl-procinfo.c> instead of
7172         sysdeps/generic/dl-procinfo.c>.
7173         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7174         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7175         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7176         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7177         [$(subdir) == elf] (tests-static): Add
7178         tst-get-cpu-features-static.
7179         * sysdeps/x86/Versions: New file.
7180         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7181         * sysdeps/x86/cpu-features.c: Likewise.
7182         * sysdeps/x86/cpu-features.h: Likewise.
7183         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7184         * sysdeps/x86/libc-start.c: Likewise.
7185         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7186         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7187         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7188         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7189         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7190         Assume USE_MULTIARCH is defined and don't check it.
7191         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7192         (is_amd): Likewise.
7193         (max_cpuid): Likewise.
7194         (intel_check_word): Likewise.
7195         (__cache_sysconf): Don't call __init_cpu_features.
7196         (__x86_preferred_memory_instruction): Removed.
7197         (init_cacheinfo): Don't call __init_cpu_features. Replace
7198         __cpu_features with GLRO(dl_x86_cpu_features).
7199         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7200         (dl_platform_init): Call init_cpu_features.
7201         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7202         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7203         * sysdeps/x86_64/multiarch/Versions: Removed.
7204         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7205         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7206         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7207         Removed.
7208         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7210 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7212         [BZ #18820]
7213         * libio/Makefile (test-fmemopen-mem): New test.
7214         * libio/test-fmemopen.c (do_bz18820): New test.
7215         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7216         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7218 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7220         [BZ #16734]
7221         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7222         (FREE_BUF): Delete.
7223         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7224         * libio/genops.c (_IO_setb): Use malloc and free directly.
7225         (_IO_default_doallocate, _IO_default_finish): Likewise.
7226         ( _IO_unbuffer_all): Likewise.
7227         ( libc_freeres_fn): Likewise.
7228         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7229         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7230         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7231         (_IO_wdefault_doallocate): Likewise.
7233 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7235         [BZ #18086]
7236         * sysdeps/posix/nice.c (nice): Restore old errno.
7237         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7239 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7241         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7243 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7245         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7246         __bcopy and add a weak_alias to bcopy.
7247         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7248         for static build.
7250         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7251         cleanup macro usage.
7252         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7253         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7254         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7255         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7256         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7257         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7258         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7259         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7260         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7261         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7262         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7263         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7264         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7265         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7267         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7268         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7269         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7270         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7272         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7273         libc_hidden_def.
7274         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7276         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7277         (sysdep_routines): Add strstr-ppc64.
7278         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7280 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7282         [BZ #18778]
7283         * elf/Makefile (tests): Add Add tst-nodelete2.
7284         (modules-names): Add tst-nodelete2mod.
7285         (tst-nodelete2mod.so-no-z-defs): New.
7286         ($(objpfx)tst-nodelete2): Likewise.
7287         ($(objpfx)tst-nodelete2.out): Likewise.
7288         (LDFLAGS-tst-nodelete2): Likewise.
7289         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7290         out of loop through all loaded libraries.
7291         * elf/tst-nodelete2.c: New file.
7292         * elf/tst-nodelete2mod.c: Likewise.
7293         * elf/tst-znodelete-zlib.cc: Delete.
7295 2015-08-11  Andreas Schwab  <schwab@suse.de>
7297         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7298         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7299         (__openat64_nocancel): Likewise.
7301 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7303         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7304         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7305         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7306         * math/auto-libm-test-out: Regenerated.
7307         * sysdeps/i386/fpu/libm-test-ulps: Update.
7308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7310 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7312         [BZ #18790]
7313         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7314         threshold for returning +/- 1.
7315         * math/auto-libm-test-in: Add more tests of tanh.
7316         * math/auto-libm-test-out: Regenerated.
7317         * sysdeps/i386/fpu/libm-test-ulps: Update.
7319 2015-08-10  Andreas Schwab  <schwab@suse.de>
7321         [BZ #18781]
7322         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7323         MORE_OFLAGS to oflag.
7324         * io/test-lfs.c (do_test): Test openat64.
7326 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7328         [BZ #18789]
7329         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7330         smaller threshold for returning the argument.
7331         * math/auto-libm-test-in: Add more tests of sinh.
7332         * math/auto-libm-test-out: Regenerated.
7333         * sysdeps/i386/fpu/libm-test-ulps: Update.
7335 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7337         [BZ #18674]
7338         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7339         break.
7341 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7343         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7344         (generated): Don't add $(addprefix z.,$(tzfiles)).
7346 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7348         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7349         * scripts/sysd-rules.awk: Likewise.
7351 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7353         * iconvdata/tst-tables.sh: Change echo -n to printf.
7354         * nss/db-Makefile: Likewise.
7355         * posix/tst-getconf.sh: Likewise.
7356         * stdio-common/tst-unbputc.sh: Likewise.
7358 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7360         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7361         MADV_*_PAGES defines behind this feature check.
7363 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7365         [BZ #18480]
7366         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7367         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7368         Define.
7369         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7370         LOAD_REGS_5, LOAD_REGS_6): Update.
7371         (INTERNAL_SYSCALL): Update using new LOAD defines.
7372         (INTERNAL_SYSCALL_NCS): Likewise.
7373         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7375 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7377         [BZ #16734]
7378         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7380 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7382         [BZ #17905]
7383         * catgets/Makefile (tst-catgets-mem): New test.
7384         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7385         * catgets/open_catalog.c (__open_catalog): Likewise.
7386         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7388 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7390         [BZ #18787]
7391         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7392         clobber registers.
7393         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7394         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7395         Cast return to __typeof (oldval).
7397 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7399         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7400         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7401         and delete sys/syscall.h include.
7403 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7405         [BZ #16517]
7406         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7407         (tan): Force underflow exception for arguments with small absolute
7408         value.
7409         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7410         (__kernel_tanf): Force underflow exception for arguments with
7411         small absolute value.
7412         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7413         (__kernel_tanl): Force underflow exception for arguments with
7414         small absolute value.
7415         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7416         (__kernel_tanl): Force underflow exception for arguments with
7417         small absolute value.
7418         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7419         (__kernel_tanl): Force underflow exception for arguments with
7420         small absolute value.
7421         * math/auto-libm-test-in: Add more tests of tan.
7422         * math/auto-libm-test-out: Regenerated.
7424 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7426         Fix sysdeps/i386/fpu/s_scalbn.S build
7428         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7430 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7432         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7434 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7436         Fix gcrt0.o compilation
7438         When static-start-installed-name is different from
7439         start-installed-name, we must not use the shared objects.
7441         * csu/Makefile
7442         (extra-objs): Add gmon-start.o when building shared library and
7443         $(static-start-installed-name) is different from
7444         $(start-installed-name).
7445         $(objpfx)g$(static-start-installed-name): When building shared
7446         library and $(static-start-installed-name) is different from
7447         $(static-start-installed-name), revert to non-shared rule,
7448         i.e. using $(objpfx)% and gmon-start.o.
7450 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7452         [BZ #16519]
7453         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7454         (__ieee754_sinh): Force underflow exception for arguments with
7455         small absolute value.
7456         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7457         (__ieee754_sinhf): Force underflow exception for arguments with
7458         small absolute value.
7459         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7460         (__ieee754_sinhl): Force underflow exception for arguments with
7461         small absolute value.
7462         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7463         (__ieee754_sinhl): Force underflow exception for arguments with
7464         small absolute value.
7465         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7466         (__ieee754_sinhl): Force underflow exception for arguments with
7467         small absolute value.
7468         * math/auto-libm-test-in: Add more tests of sinh.
7469         * math/auto-libm-test-out: Regenerated.
7470         * sysdeps/i386/fpu/libm-test-ulps: Update.
7472 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7474         * libio/oldfileops.c: Include unistd.h.
7476 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7478         * stdlib/isomac.c: Include ctype.h.
7480 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7482         * dirent/tst-seekdir.c (main): Converted to ...
7483         (do_test): ... this.
7484         (TEST_FUNCTION): New macro.
7485         Include test-skeleton.c.
7486         * elf/tst-dlmodcount.c (main): Converted to ...
7487         (do_test): ... this.
7488         (TEST_FUNCTION): New macro.
7489         Include test-skeleton.c.
7490         * elf/tst-order-main.c (main): Converted to ...
7491         (do_test): ... this.
7492         (TEST_FUNCTION): New macro.
7493         Include test-skeleton.c.
7494         * elf/tst-pie2.c (main): Converted to ...
7495         (do_test): ... this.
7496         (TEST_FUNCTION): New macro.
7497         Include test-skeleton.c.
7498         * inet/tst-ether_aton.c (main): Converted to ...
7499         (do_test): ... this.
7500         (TEST_FUNCTION): New macro.
7501         Include test-skeleton.c.
7502         * misc/tst-mntent.c (main): Converted to ...
7503         (do_test): ... this.
7504         (TEST_FUNCTION): New macro.
7505         Include test-skeleton.c.
7506         * misc/tst-tsearch.c (main): Converted to ...
7507         (do_test): ... this.
7508         (TEST_FUNCTION): New macro.
7509         Include test-skeleton.c.
7510         * posix/tst-regexloc.c (main): Converted to ...
7511         (do_test): ... this.
7512         (TEST_FUNCTION): New macro.
7513         Include test-skeleton.c.
7514         * resolv/tst-aton.c (main): Converted to ...
7515         (do_test): ... this.
7516         (TEST_FUNCTION): New macro.
7517         Include test-skeleton.c.
7518         * stdio-common/test-fwrite.c (main): Converted to ...
7519         (do_test): ... this.
7520         (TEST_FUNCTION): New macro.
7521         Include test-skeleton.c.
7522         * stdio-common/tst-ferror.c (main): Converted to ...
7523         (do_test): ... this.
7524         (TEST_FUNCTION): New macro.
7525         Include test-skeleton.c.
7526         * stdio-common/tst-printf.c (main): Converted to ...
7527         (do_test): ... this.
7528         (TEST_FUNCTION): New macro.
7529         Include test-skeleton.c.
7530         * stdio-common/tst-printfsz.c (main): Converted to ...
7531         (do_test): ... this.
7532         (TEST_FUNCTION): New macro.
7533         Include test-skeleton.c.
7534         * stdlib/tst-strtod.c (main): Converted to ...
7535         (do_test): ... this.
7536         (TEST_FUNCTION): New macro.
7537         Include test-skeleton.c.
7538         * string/tst-strlen.c (main): Converted to ...
7539         (do_test): ... this.
7540         (TEST_FUNCTION): New macro.
7541         Include test-skeleton.c.
7542         * string/tst-svc.c (main): Converted to ...
7543         (do_test): ... this.
7544         (TEST_FUNCTION): New macro.
7545         Include test-skeleton.c.
7546         * time/tst-strptime.c (main): Converted to ...
7547         (do_test): ... this.
7548         (TEST_FUNCTION): New macro.
7549         Include test-skeleton.c.
7550         * timezone/tst-timezone.c (main): Converted to ...
7551         (do_test): ... this.
7552         (TEST_FUNCTION): New macro.
7553         Include test-skeleton.c.
7555 2015-08-05  Zack Weinberg  <zackw@panix.com>
7557         * misc/regexp.h: Update comments.
7559 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7561         [BZ #18635]
7562         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7563         before return label.
7565 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7567         [BZ #18661]
7568         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7569         when calling __errno_location.
7570         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7571         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7573 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7575         [BZ #18661]
7576         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7577         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7578         __gettimeofday.
7580 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7582         [BZ #18661]
7583         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7584         (__start_context): Don't use pop to restore %rdi so that stack
7585         is aligned to 16 bytes when calling __setcontext.
7587 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7589         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7590         only for libc.
7591         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7593 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7595         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7596         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7597         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7599 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7601         * string/memccpy.c (memccpy):
7602         Improve performance by using memchr/memcpy/__mempcpy.
7604 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7606         * string/strncpy.c (strncpy):
7607         Improve performance by using __strnlen/memcpy.
7609 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7611         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7612         Optimize to avoid an unnecessary FPCR read.
7614 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7616         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7617         Optimize to reduce FPCR/FPSR accesses.
7619 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7621         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7622         dead->data[category] != NULL.
7624 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7626         [BZ #18647]
7627         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7628         and |x| close to 1, use absolute value of x when computing log.
7629         * math/auto-libm-test-in: Add more tests of pow.
7630         * math/auto-libm-test-out: Regenerated.
7632 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7634         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7635         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7636         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7638 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7640         [BZ #18525]
7641         * locales/km_KH: Remove timezone definition.
7642         * locales/lo_LA: Likewise.
7643         * locales/my_MM: Likewise.
7644         * locales/nan_TW@latin: Likewise.
7645         * locales/th_TH: Likewise.
7646         * locales/uk_UA: Likewise.
7648 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7650         [BZ #18265]
7651         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7652         (wcsncat): Likewise.
7653         (wcscmp): Likewise.
7654         (wcsncmp): Likewise.
7656 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7658         * test-skeleton.c (usage): New function.
7659         (main): Call usage when opt is '?'.
7661 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7663         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7664         before first use.
7666 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7668         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7669         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7670         in there too.
7672 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7674         * version.h (RELEASE): Set to "development".
7675         (VERSION): Set to "2.22.90"
7677         * version.h (RELEASE): Set to "stable".
7678         (VERSION): Set to "2.22"
7679         * include/features.h (__GLIBC_MINOR__): Set to 22.
7681 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7683         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7684         Restructure macro to avoid "value computed is not used" warning.
7685         (atomic_compare_and_exchange_val_acq): Likewise.
7687 2015-08-04  Andreas Schwab  <schwab@suse.de>
7689         [BZ #18635]
7690         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7691         ret.
7692         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7694 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7696         * po/pl.po: Updated translation.
7697         * po/uk.po: Likewise.
7698         * po/fi.po: Likewise.
7699         * po/ko.po: Likewise.
7700         * po/ru.po: Likewise.
7701         * po/vi.po: Likewise.
7703 2015-07-31  Zack Weinberg  <zackw@panix.com>
7705         [BZ #18681]
7706         * regexp.h: Add unconditional #warning stating that this header
7707         will be removed soon.  Revise banner comment to match.
7708         (compile): Consistently use ERROR instead of RETURN to report
7709         errors (partial fix for bz#18681).
7710         * regexp.c: Don't include regexp.h. Remove some unnecessary
7711         declarations.
7713 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7715         * po/libc.pot: Regenerated.
7717 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7719         [BZ #18740]
7720         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7721         float-vlen4-arch-ext-cflags): Removed.
7722         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7723         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7725 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7727         [BZ #14113]
7728         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7729         aligned to __aligned__.
7730         (pthread_cond_t, pthread_rwlock_t): Likewise.
7732 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7734         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7736 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7738         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7739         (struct sigaction): Change sa_flags from a long to an int, and add
7740         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7742 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7744         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7745         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7746         sysdeps/generic/sysdep.h include.
7747         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7748         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7749         sysdeps/hppa/sysdep.h.
7750         (ENTRY, PSEUDO): Undefine before defining.
7752 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7754         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7755         from scratch to use INTERNAL_SYSCALL.
7757 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7759         [BZ #18078]
7760         * scripts/check-localplt.awk: Support alternate relocations.
7761         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7762         sections.
7763         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7764         malloc entries with + REL R_386_GLOB_DAT.
7765         * sysdeps/x86_64/localplt.data: New file.
7767 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7769         [BZ #18731]
7770         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7771         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7772         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7774 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7776         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7778 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7780         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7781         directly in terms of __sync_fetch_and_add and delete (int) cast.
7783 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7785         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7786         the -D_ASM_IA64_CURRENT_H flag.
7788 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7790         [BZ #18641]
7791         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7793 2015-07-27  Andreas Schwab  <schwab@suse.de>
7795         * conform/conformtest.pl (checknamespace): Filter out string
7796         literals while tokenizing.
7798 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7800         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7801         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7802         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7804 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7806         * nptl/tst-join7mod.c: Add #include <string.h>.
7808 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7810         * sysdeps/nios2/libm-test-ulps: Update.
7812 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7814         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7815         Fix order of arguments to the rt_sigprocmask syscall.
7816         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7817         Likewise.
7819 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7821         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7823 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7825         [BZ #18457]
7826         * nptl/Makefile (tests): New test case tst-join7.
7827         (modules-names): New test case module tst-join7mod.
7828         * nptl/tst-join7.c: New file.
7829         * nptl/tst-join7mod.c: New file.
7830         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7831         all translation units in libc.so, libpthread.so and rtld.
7833 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7837 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7839         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7840         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7841         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7842         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7843         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7844         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7845         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7846         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7847         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7849         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7850         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7851         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7852         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7853         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7854         implementation.
7856 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7858         [BZ #17711]
7859         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7860         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7861         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7862         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7863         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7864         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7866 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7868         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7869         instead of just saying load lock in the comments.
7871 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7873         * sysdeps/unix/Subdirs: Moved ...
7874         * sysdeps/posix/Subdirs: ... here.
7875         * login/pty.h (struct termios, struct winsize): Add forward decls.
7876         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7877         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7878         * sysdeps/arm/nacl/libc.abilist: Updated.
7879         * sysdeps/nacl/libutil.abilist: New file.
7881         * bits/signum.h: Update comments to mention 1003.1-2013 too.
7882         (SIGWINCH): New macro.
7884         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
7885         * sysdeps/arm/nacl/libc.abilist: Add it.
7887 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7889         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
7891 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7893         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7894         Swap __glibc_reserved0 and sa_flags order.
7896 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7898         [BZ #18657]
7899         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
7900         are pending TLS destructor calls.
7901         * include/link.h (struct link_map): Add concurrency note for
7902         L_TLS_DTOR_COUNT.
7903         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7904         Don't touch the link map flag.  Atomically increment
7905         l_tls_dtor_count.
7906         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
7907         Avoid taking the load lock and don't touch the link map flag.
7908         * stdlib/tst-tls-atexit-nodelete.c: New test case.
7909         * stdlib/Makefile (tests): Use it.
7910         * stdlib/tst-tls-atexit.c (do_test): dlopen
7911         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
7912         to allow tst-tls-atexit-nodelete test case to use it.
7914 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7916         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
7917         to bits/types.h.
7918         (msgqnum_t): New typedef.
7919         (msglen_t): Likewise.
7920         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
7921         and msg_qbytes type to msglen_t.
7923 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7925         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
7926         pad0 to __glibc_reserved0.
7927         (struct stat64): Likewise.
7929 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7931         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7932         Change sa_flags from a long to an int and add __glibc_reserved0 before
7933         it for padding.
7935 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7937         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
7938         anonymous by deleting "siginfo" name.
7940 2015-07-21  Roland McGrath  <roland@hack.frob.com>
7942         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
7943         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
7944         rather than __nacl_irt_filename.
7945         * sysdeps/nacl/xstat.c (__xstat): Likewise.
7947         * NEWS: New item for arm-nacl port.
7948         * sysdeps/arm/nacl/libc.abilist: New file.
7949         * sysdeps/nacl/ld.abilist: New file.
7950         * sysdeps/nacl/libBrokenLocale.abilist: New file.
7951         * sysdeps/nacl/libanl.abilist: New file.
7952         * sysdeps/nacl/libcrypt.abilist: New file.
7953         * sysdeps/nacl/libdl.abilist: New file.
7954         * sysdeps/nacl/libm.abilist: New file.
7955         * sysdeps/nacl/libpthread.abilist: New file.
7956         * sysdeps/nacl/libresolv.abilist: New file.
7957         * sysdeps/nacl/librt.abilist: New file.
7959 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
7961         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
7962         __startcontext to initialize the new context.
7963         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
7964         up CFI directive to forbid further backtracing.
7966 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
7968         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
7969         reference.
7970         * charmaps/ANSI_X3.4-1968: Likewise.
7971         * charmaps/BS_4730: Likewise.
7972         * charmaps/BS_VIEWDATA: Likewise.
7973         * charmaps/CP1250: Likewise.
7974         * charmaps/CP1251: Likewise.
7975         * charmaps/CP1252: Likewise.
7976         * charmaps/CP1253: Likewise.
7977         * charmaps/CP1254: Likewise.
7978         * charmaps/CP1255: Likewise.
7979         * charmaps/CP1256: Likewise.
7980         * charmaps/CSN_369103: Likewise.
7981         * charmaps/EBCDIC-DK-NO: Likewise.
7982         * charmaps/GB_1988-80: Likewise.
7983         * charmaps/GREEK-CCITT: Likewise.
7984         * charmaps/GREEK7: Likewise.
7985         * charmaps/INIS-8: Likewise.
7986         * charmaps/ISIRI-3342: Likewise.
7987         * charmaps/ISO_2033-1983: Likewise.
7988         * charmaps/ISO_5427-EXT: Likewise.
7989         * locales/POSIX: Likewise.
7990         * locales/ar_SA: Likewise.
7991         * locales/be_BY: Likewise.
7992         * locales/be_BY@latin: Likewise.
7993         * locales/ca_ES: Likewise.
7994         * locales/cs_CZ: Likewise.
7995         * locales/da_DK: Likewise.
7996         * locales/de_BE: Likewise.
7997         * locales/de_CH: Likewise.
7998         * locales/de_LU: Likewise.
7999         * locales/en_AU: Likewise.
8000         * locales/en_BW: Likewise.
8001         * locales/en_CA: Likewise.
8002         * locales/en_DK: Likewise.
8003         * locales/en_GB: Likewise.
8004         * locales/en_IE: Likewise.
8005         * locales/en_NZ: Likewise.
8006         * locales/en_ZA: Likewise.
8007         * locales/en_ZW: Likewise.
8008         * locales/es_AR: Likewise.
8009         * locales/es_BO: Likewise.
8010         * locales/es_CL: Likewise.
8011         * locales/es_CO: Likewise.
8012         * locales/es_DO: Likewise.
8013         * locales/es_EC: Likewise.
8014         * locales/es_ES: Likewise.
8015         * locales/es_HN: Likewise.
8016         * locales/es_MX: Likewise.
8017         * locales/es_PA: Likewise.
8018         * locales/es_PE: Likewise.
8019         * locales/es_PY: Likewise.
8020         * locales/es_SV: Likewise.
8021         * locales/es_US: Likewise.
8022         * locales/es_UY: Likewise.
8023         * locales/es_VE: Likewise.
8024         * locales/et_EE: Likewise.
8025         * locales/fa_IR: Likewise.
8026         * locales/fo_FO: Likewise.
8027         * locales/fr_CA: Likewise.
8028         * locales/fr_CH: Likewise.
8029         * locales/gv_GB: Likewise.
8030         * locales/he_IL: Likewise.
8031         * locales/hr_HR: Likewise.
8032         * locales/id_ID: Likewise.
8033         * locales/is_IS: Likewise.
8034         * locales/it_CH: Likewise.
8035         * locales/iw_IL: Likewise.
8036         * locales/kl_GL: Likewise.
8037         * locales/ko_KR: Likewise.
8038         * locales/kw_GB: Likewise.
8039         * locales/lg_UG: Likewise.
8040         * locales/lt_LT: Likewise.
8041         * locales/lv_LV: Likewise.
8042         * locales/mi_NZ: Likewise.
8043         * locales/nhn_MX: Likewise.
8044         * locales/nl_BE: Likewise.
8045         * locales/pl_PL: Likewise.
8046         * locales/sk_SK: Likewise.
8047         * locales/sl_SI: Likewise.
8048         * locales/sv_FI: Likewise.
8049         * locales/tl_PH: Likewise.
8050         * locales/tr_TR: Likewise.
8051         * locales/vi_VN: Likewise.
8053 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8055         [BZ #17475]
8056         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8057         of tu_IN and bh_IN.
8059 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8061         [BZ #18694]
8062         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8063         bits/wordsize.h.
8064         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8066 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8068         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8069         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8070         (spawn_thread): New function.
8071         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8072         (do_test): ... here.  Use IS_LOADED to test for its
8073         availability.
8075 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8077         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8079 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8081         [BZ #18696]
8082         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8083         si_addr_bnd.
8084         (si_lower): New.
8085         (si_upper): Likewise.
8087 2015-07-16  David S. Miller  <davem@davemloft.net>
8089         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8091 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8093         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8094         buffer.
8095         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8096         fail output information.
8098 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8101         and strstr-ppc64..
8102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8103         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8104         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8105         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8106         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8108 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8110         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8111         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8112         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8113         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8115 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8117         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8118         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8119         rtld_hidden_proto.
8120         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8122 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8124         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8125         the test can fail.
8127         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8129         [BZ #18676]
8130         * elf/tst-nodelete-opened.c: New test case.
8131         * elf/tst-nodelete-opened-lib.c: New test case module.
8132         * elf/Makefile (tests, modules-names): Use them.
8133         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8134         early.
8136 2015-07-15  David S. Miller  <davem@davemloft.net>
8138         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8139         futex-intenal.h
8140         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8141         * sysdeps/sparc/sparc64/Makefile: Likewise.
8142         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8143         Remove space from macro define.
8144         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8146 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8148         [BZ #17475]
8149         * locale/iso-639.def: Update Bhili and Tulu language codes as
8150         per iso639-3.
8152 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8154         * elf/tst-leaks1.c (main): Converted to ...
8155         (do_test): ... this.
8156         (TEST_FUNCTION): New macro.
8157         Include test-skeleton.c.
8158         * localedata/tst-langinfo.c (main): Converted to ...
8159         (do_test): ... this.
8160         (TEST_FUNCTION): New macro.
8161         Include test-skeleton.c.
8162         * math/test-fpucw.c (main): Converted to ...
8163         (do_test): ... this.
8164         (TEST_FUNCTION): New macro.
8165         Include test-skeleton.c.
8166         * math/test-tgmath.c (main): Converted to ...
8167         (do_test): ... this.
8168         (TEST_FUNCTION): New macro.
8169         Include test-skeleton.c.
8170         * math/test-tgmath2.c (main): Converted to ...
8171         (do_test): ... this.
8172         (TEST_FUNCTION): New macro.
8173         Include test-skeleton.c.
8174         * setjmp/tst-setjmp.c (main): Converted to ...
8175         (do_test): ... this.
8176         (TEST_FUNCTION): New macro.
8177         Include test-skeleton.c.
8178         * stdio-common/tst-sscanf.c (main): Converted to ...
8179         (do_test): ... this.
8180         (TEST_FUNCTION): New macro.
8181         Include test-skeleton.c.
8182         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8183         (do_test): ... this.
8184         (TEST_FUNCTION): New macro.
8185         Include test-skeleton.c.
8187         * elf/tst-audit9.c (main): Converted to ...
8188         (do_test): ... this.
8189         (TEST_FUNCTION): New macro.
8190         Include test-skeleton.c.
8192 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8194         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8196 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8198         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8199         New variable.
8201 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8203         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8205 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8207         * sysdeps/generic/dl-fileid.h: New file.
8208         * sysdeps/posix/dl-fileid.h: New file.
8209         * sysdeps/nacl/dl-fileid.h: New file.
8210         * include/link.h: Include <dl-fileid.h>.
8211         (struct link_map): Replace l_dev and l_ino with l_file_id.
8212         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8213         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8214         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8216 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8218         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8220 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8222         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8223         Add iff $CXX is set.
8224         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8225         Likewise.
8226         (tst-nodelete-zmodiff): Likewise.
8227         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8229 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8231         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8233 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8235         * sysdeps/aarch64/fpu/math_private.h
8236         (define math_opt_barrier): Add AArch64 version.
8237         (math_force_eval): Likewise.
8239 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8241         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8243 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8245         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8246         %ld with %jd and cast to intmax_t.
8247         (do_test_length_zero): Likewise.
8249 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8251         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8253 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8255         * sysdeps/tile/libm-test-ulps: Regenerated.
8257         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8258         Comment out the whole function, not just its body.
8260 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8262         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8263         locks.
8265         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8267 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8269         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8270         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8272 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8274         * sysdeps/nptl/futex-internal.h: New file.
8275         * sysdeps/nacl/futex-internal.h: New file.
8276         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8277         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8278         error checking.
8279         (setxid_unmark_thread): Likewise.
8280         (__nptl_setxid): Likewise.
8281         (__wait_lookup_done): Likewise.
8282         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8283         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8284         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8285         * nptl/pthread_once.c (clear_once_control): Likewise.
8286         (__pthread_once_slow): Likewise.
8287         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8288         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8289         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8290         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8291         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8292         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8293         Likewise.
8294         (__pthread_rwlock_rdlock): Likewise.
8295         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8296         Likewise.
8297         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8298         Likewise.
8299         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8300         Likewise.
8301         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8302         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8303         Likewise.
8304         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8305         __ASSUME_PRIVATE_FUTEX check.
8306         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8307         Check that shared futexes are supported.
8308         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8309         wrappers with error checking.
8310         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8311         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8312         * nptl/pthread_barrierattr_setpshared.c
8313         (pthread_barrierattr_setpshared): Check that shared futexes are
8314         supported.
8315         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8316         Likewise.
8317         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8318         Likewise.
8319         * nptl/sem_init.c (futex_private_if_supported): Remove.
8320         (__new_sem_init): Adapt and check that shared futexes are supported.
8321         * nptl/sem_open.c (sem_open): Likewise.
8322         * nptl/sem_post.c (futex_wake): Remove.
8323         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8324         (do_futex_wait): Use futex wrappers with error checking.
8325         * nptl/sem_wait.c: Include lowlevellock.h.
8326         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8327         Use futex_supports_pshared.
8328         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8329         Use futex wrappers with error checking.
8330         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8331         Likewise.
8332         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8333         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8334         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8335         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8336         (futex_wake): Likewise.
8337         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8338         (do_futex_wait): Use futex wrappers with error checking.
8339         (__new_sem_wait_slow): Update EINTR handling.
8340         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8342 2015-07-09  Martin Sebor  <msebor@redhat.com>
8344         [BZ #18435]
8345         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8346         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8347         * nptl/Makefile (test-xfail-tst-once5): Define.
8349 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8351         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8352         * elf/dl-minimal.c: For readability, reorder some definitions and
8353         introduce more page breaks.  Include <stdio.h>.
8354         (__libc_fatal): New function.
8356         * include/unistd.h: Add rtld_hidden_proto for _exit.
8357         * posix/_exit.c: Add rtld_hidden_def.
8358         * sysdeps/mach/hurd/_exit.c: Likewise.
8359         * sysdeps/nacl/_exit.c: Likewise.
8360         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8361         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8363 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8365         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8366         bndmov encoding with zero displacement.
8368 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8369             H.J. Lu  <hongjiu.lu@intel.com>
8371         [BZ #18134]
8372         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8373         * sysdeps/i386/configure: Regenerated.
8374         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8375         (_dl_runtime_profile): Save and restore Intel MPX return bound
8376         registers when calling _dl_call_pltexit.  Add
8377         PRESERVE_BND_REGS_PREFIX before return.
8378         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8379         (LRV_BND1_OFFSET): Likewise.
8380         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8381         lrv_bnd1.
8382         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8383         typo in bndmov encoding.
8384         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8385         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8386         branch instructions to preserve bounds.
8388 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8391         [GLIBC_2.22]: Add fmemopen.
8393 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8395         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8396         returns an error, also try to use host port from __mach_host_self for
8397         the __vm_wire call.
8398         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8400 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8402         [BZ #18400]
8403         [BZ #18648]
8404         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8405         Fix pr_uid and pr_gid members.
8406         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8407         definition to elf_greg_t.
8409 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8411         [BZ #18383]
8412         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8413         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8414         * sysdeps/arm/configure: Regenerated.
8415         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8416         (test-xfail-tst-tlsalign-static): Variable removed.
8418         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8419         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8420         rather than explicit 'ln -s'.
8422         * resolv/rpc/netdb.h: New file.
8423         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8425 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8427         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8428         length buffers.
8429         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8430         test-skeleton.c.
8432         [BZ #6544]
8433         [BZ #11216]
8434         [BZ #12836]
8435         [BZ #13151]
8436         [BZ #13152]
8437         [BZ #14292]
8438         * include/stdio.h (fmemopen): Remove hidden prototype.
8439         (__fmemopen): Add new hidden prototype.
8440         * libio/Makefile: Add oldfmemopen object.
8441         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8442         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8443         compliance.
8444         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8445         symbol compatibility.
8446         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8447         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8448         fmemopen.
8449         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8450         on append and read mode.
8451         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8452         fmemopen.
8453         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8454         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8455         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8456         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8457         Likewise.
8458         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8459         [GLIBC_2.22]: Likewise.
8460         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8461         Likewise.
8462         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8463         Likewise.
8464         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8465         [GLIBC_2.22]: Likewise.
8466         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8467         [GLIBC_2.22]: Likewise.
8468         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8469         [GLIBC_2.22]: Likewise.
8470         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8471         [GLIBC_2.22]: Likewise.
8472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8473         [GLIBC_2.22]: Likewise.
8474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8475         [GLIBC_2.22]: Likewise.
8476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8477         [GLIBC_2.22]: Likewise.
8478         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8479         Likewise.
8480         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8481         Likewise.
8482         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8483         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8484         [GLIBC_2.22]: Likewise.
8485         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8486         [GLIBC_2.22]: Likewise.
8487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8488         [GLIBC_2.22]: Likewise.
8489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8490         [GLIBC_2.22]: Likewise.
8491         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8492         Likewise.
8493         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8494         Likewise.
8495         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8496         Likewise.
8497         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8498         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8500 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8502         [BZ #18643]
8503         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8504         IPV6_PATHMTU, and IPV6_DONTFRAG.
8506 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8508         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8509         and _IO_UNBUFFERED.
8510         * libio/oldfileops.c: Likewise.
8511         * libio/wfileops.c: Likewise.
8513 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8515         * nscd/selinux.c: Delete selinux/flask.h include.
8517 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8519         [BZ #18641]
8520         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8521         (putpwent): Likewise.
8522         (getpwnam): Likewise.
8523         (getpwent_r): Likewise.
8524         (getpwuid_r): Likewise.
8525         (getpwnam_r): Likewise.
8526         (fgetpwent_r): Likewise.
8528 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8530         [BZ #18557]
8531         * inet/rcmd.c (__validuser2_sa): Check user first to
8532         short-circuit host check.
8534 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8535             Mikhail Ilin  <m.ilin@samsung.com>
8537         [BZ #17833]
8538         * elf/Makefile (tests): Add tst-nodelete.
8539         (modules-names): Add tst-nodelete-uniquemod.
8540         (tst-nodelete-uniquemod.so-no-z-defs): New.
8541         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8542         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8543         ($(objpfx)tst-nodelete): Likewise.
8544         ($(objpfx)tst-nodelete.out): Likewise.
8545         (LDFLAGS-tst-nodelete): Likewise.
8546         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8547         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8548         implement forced object deletion.
8549         (_dl_close): Pass false to _dl_close_worker.
8550         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8551         * elf/tst-nodelete.cc: New file.
8552         * elf/tst-nodeletelib.cc: Likewise.
8553         * elf/tst-znodeletelib.cc: Likewise.
8554         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8556 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8558         [BZ #18508]
8559         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8560         Depend on $(libdl).
8561         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8562         is not called infinitely times.
8563         (backtrace_helper): New function.
8564         (trace_arg): New struct.
8565         (st1): Enlarge stack size.
8566         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8567         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8568         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8569         Likewise.
8571 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8573         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8575 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8577         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8578         Include sys/types.h instead of bits/types.h.
8579         Remove inclusion of bits/wordsize.h.
8581 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8583         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8584         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8585         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8586         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8587         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8588         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8590 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8592         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8593         link-defines.sym.
8594         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8595         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8596         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8597         and LR_SIZE.
8598         * sysdeps/i386/link-defines.sym: New file.
8600 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8602         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8603         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8604         ($(objpfx)tst-audit3): New rule.
8605         ($(objpfx)tst-audit3.out): Likewise.
8606         * sysdeps/i386/tst-audit3.c: New file.
8607         * sysdeps/i386/tst-audit3.h: Likewise.
8608         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8609         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8611 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8613         [BZ #18633]
8614         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8615         pointer in C code.
8616         (__strcat_c): Likewise.
8617         (__strcat_g): Likewise.
8619 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8621         [BZ #18592]
8622         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8624 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8626         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8627         New function.  (__ieee754_sqrtf): New function.
8628         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8629         New function.
8630         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8631         New function.
8633 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8635         * sysdeps/ieee754/support.c: Remove unused file.
8637 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8639         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8640         registers instead of d ones so the layout is kernel abi compatible.
8641         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8642         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8643         Likewise.
8645 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8647         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8649 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8651         [BZ #18619]
8652         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8653         and return argument in case of subnormal argument.
8655 2015-07-01  Martin Sebor  <msebor@redhat.com>
8657         [BZ #18435]
8658         * nptl/Makefile: Add tst-once5.cc.
8659         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8660         Remove macro redefinitions.
8661         * nptl/tst-once5.cc: New test.
8663 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8665         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8667         * sysdeps/arm/libm-test-ulps: Regenerated.
8669         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8670         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8672 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8674         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8675         lll_lock_wait_private and lll_futex_wake probes.
8677         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8678         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8679         Likewise.
8680         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8681         atomic_spin_nop.
8682         * sysdeps/x86_64/bits/atomic.h: Likewise.
8683         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8684         to atomic_spin_nop and move ...
8685         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8686         ... here and ...
8687         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8688         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8689         atomic_spin_nop instead of BUSY_WAIT_NOP.
8690         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8691         Likewise.
8692         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8693         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8694         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8695         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8696         instead of atomic_delay.
8698 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8700         [BZ #18613]
8701         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8702         X_ADJ not X when adjusting exponent.
8703         (__ieee754_gamma_r): Do intermediate computations in
8704         round-to-nearest then adjust overflowing and underflowing results
8705         as needed.
8706         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8707         of X_ADJ not X when adjusting exponent.
8708         (__ieee754_gammaf_r): Do intermediate computations in
8709         round-to-nearest then adjust overflowing and underflowing results
8710         as needed.
8711         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8712         log of X_ADJ not X when adjusting exponent.
8713         (__ieee754_gammal_r): Do intermediate computations in
8714         round-to-nearest then adjust overflowing and underflowing results
8715         as needed.  Use 1.0L not 1.0f as numerator of division.
8716         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8717         log of X_ADJ not X when adjusting exponent.
8718         (__ieee754_gammal_r): Do intermediate computations in
8719         round-to-nearest then adjust overflowing and underflowing results
8720         as needed.  Use 1.0L not 1.0f as numerator of division.
8721         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8722         of X_ADJ not X when adjusting exponent.
8723         (__ieee754_gammal_r): Do intermediate computations in
8724         round-to-nearest then adjust overflowing and underflowing results
8725         as needed.  Use 1.0L not 1.0f as numerator of division.
8726         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8727         to auto-libm-test-in.
8728         (tgamma_test): Use ALL_RM_TEST.
8729         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8730         tests of tgamma with spurious-overflow.
8731         * math/auto-libm-test-out: Regenerated.
8732         * math/gen-libm-have-vector-test.sh: Do not check for START.
8733         * sysdeps/i386/fpu/libm-test-ulps: Update.
8734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8736         [BZ #18612]
8737         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8738         arguments, just return 0.5 times the argument, with underflow
8739         forced as needed.
8740         * math/auto-libm-test-in: Add more tests of j1.
8741         * math/auto-libm-test-out: Regenerated.
8743         [BZ #16559]
8744         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8745         (__ieee754_j1): Force underflow exception for small results.
8746         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8747         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8748         (__ieee754_j1f): Force underflow exception for small results.
8749         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8750         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8752         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8753         (__ieee754_j1l): Force underflow exception for small results.
8754         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8755         * math/auto-libm-test-in: Add more tests of j1 and jn.
8756         * math/auto-libm-test-out: Regenerated.
8758         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8759         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8760         (PF_MPLS): Likewise.
8761         (AF_IB): Likewise.
8762         (AF_MPLS): Likewise.
8763         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8764         value and macro.
8765         (MS_RMT_MASK): Include MS_LAZYTIME.
8767 2015-06-26  Mel Gorman  <mgorman@suse.de>
8769         [BZ #18502]
8770         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8771         already minimal.
8773 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8775         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8776         (DT_MIPS_NUM): Update.
8777         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8778         DT_MIPS_RLD_MAP_REL.
8780 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8782         [BZ #16559]
8783         [BZ #18602]
8784         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8785         round-to-nearest internally then recompute results that
8786         underflowed to zero in the original rounding mode.
8787         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8788         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8789         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8790         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8791         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8792         * sysdeps/i386/fpu/libm-test-ulps: Update.
8793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8795 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8797         * NEWS: Fixed description of link with vector math library.
8799 2015-06-25  Andreas Schwab  <schwab@suse.de>
8801         [BZ #18549]
8802         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8803         * libio/test-fmemopen.c (do_test): Add test for it.
8805 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8807         [BZ #17841]
8808         * Makeconfig (no-pie-ldflag): New.
8809         (+link): Set to $(+link-pie) if default to PIE.
8810         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8811         * config.make.in (build-pie-default): New.
8812         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8813         is default.  AC_SUBST.
8814         * configure: Regenerated.
8815         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8817 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8819         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8820         to 'unsigned int'.
8822         * resolv/gai_misc.h (struct waitlist): Change type of field
8823         counterp to 'volatile unsigned int *'.
8824         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8825         FUTEXADDR and OLDVAL.
8826         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8827         Give local variable TOTAL type 'volatile unsigned int'.
8828         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8829         * resolv/gai_suspend.c (gai_suspend):
8830         Give local variable CNTR type 'unsigned int'.
8832         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8833         counterp to 'volatile unsigned int *'.
8834         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8835         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8836         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8837         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8838         Give local variable TOTAL type 'volatile unsigned int'.
8839         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8841 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8843         [BZ #18383]
8844         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8845         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8846         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8847         comment for i386/x86-64.
8848         (test-xfail-tst-tlsalign-extern-static): Removed.
8850 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8852         * math/test-double.h: New file.
8853         * math/test-float.h: Likewise.
8854         * math/test-ldouble.h: Likewise.
8855         * math/test-math-inline.h: Likewise.
8856         * math/test-math-no-inline.h: Likewise.
8857         * math/test-math-scalar.h: Likewise.
8858         * math/test-math-vector.h: Likewise.
8859         * math/test-vec-loop.h: Remove file.  Contents moved into
8860         test-math-vector.h.
8861         * math/libm-test.inc (MATHCONST): Do not document macro.
8862         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8863         and test-math-scalar.h.
8864         (FUNC): Remove macro.
8865         (FUNC_TEST): Likewise.
8866         (FLOAT): Likewise.
8867         (MATHCONST): Likewise.
8868         (PRINTF_EXPR): Likewise.
8869         (PRINTF_XEXPR): Likewise.
8870         (PRINTF_NEXPR): Likewise.
8871         (TEST_DOUBLE): Likewise.
8872         (TEST_MATHVEC): Likewise.
8873         (__NO_MATH_INLINES): Likewise.
8874         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8875         and test-math-scalar.h.
8876         (FUNC): Remove macro.
8877         (FUNC_TEST): Likewise.
8878         (FLOAT): Likewise.
8879         (MATHCONST): Likewise.
8880         (PRINTF_EXPR): Likewise.
8881         (PRINTF_XEXPR): Likewise.
8882         (PRINTF_NEXPR): Likewise.
8883         (TEST_FLOAT): Likewise.
8884         (TEST_MATHVEC): Likewise.
8885         (__NO_MATH_INLINES): Likewise.
8886         * math/test-idouble.c: Include test-double.h, test-math-inline.h
8887         and test-math-scalar.h.
8888         (FUNC): Remove macro.
8889         (FUNC_TEST): Likewise.
8890         (FLOAT): Likewise.
8891         (MATHCONST): Likewise.
8892         (PRINTF_EXPR): Likewise.
8893         (PRINTF_XEXPR): Likewise.
8894         (PRINTF_NEXPR): Likewise.
8895         (TEST_DOUBLE): Likewise.
8896         (TEST_MATHVEC): Likewise.
8897         (TEST_INLINE): Likewise.
8898         (__NO_MATH_INLINES): Likewise.
8899         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
8900         test-math-scalar.h.
8901         (FUNC): Remove macro.
8902         (FUNC_TEST): Likewise.
8903         (FLOAT): Likewise.
8904         (MATHCONST): Likewise.
8905         (PRINTF_EXPR): Likewise.
8906         (PRINTF_XEXPR): Likewise.
8907         (PRINTF_NEXPR): Likewise.
8908         (TEST_FLOAT): Likewise.
8909         (TEST_MATHVEC): Likewise.
8910         (TEST_INLINE): Likewise.
8911         (__NO_MATH_INLINES): Likewise.
8912         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
8913         and test-math-scalar.h.
8914         (FUNC): Remove macro.
8915         (FUNC_TEST): Likewise.
8916         (FLOAT): Likewise.
8917         (MATHCONST): Likewise.
8918         (PRINTF_EXPR): Likewise.
8919         (PRINTF_XEXPR): Likewise.
8920         (PRINTF_NEXPR): Likewise.
8921         (TEST_LDOUBLE): Likewise.
8922         (TEST_MATHVEC): Likewise.
8923         (TEST_INLINE): Likewise.
8924         (__NO_MATH_INLINES): Likewise.
8925         * math/test-ldouble.c: Include test-ldouble.h,
8926         test-math-no-inline.h and test-math-scalar.h.
8927         (FUNC): Remove macro.
8928         (FUNC_TEST): Likewise.
8929         (FLOAT): Likewise.
8930         (MATHCONST): Likewise.
8931         (PRINTF_EXPR): Likewise.
8932         (PRINTF_XEXPR): Likewise.
8933         (PRINTF_NEXPR): Likewise.
8934         (TEST_LDOUBLE): Likewise.
8935         (TEST_MATHVEC): Likewise.
8936         (__NO_MATH_INLINES): Likewise.
8937         * math/test-double-vlen2.h: Include test-double.h,
8938         test-math-no-inline.h and test-math-vector.h.
8939         (FLOAT): Remove macro.
8940         (FUNC): Likewise.
8941         (MATHCONST): Likewise.
8942         (PRINTF_EXPR): Likewise.
8943         (PRINTF_XEXPR): Likewise.
8944         (PRINTF_NEXPR): Likewise.
8945         (TEST_DOUBLE): Likewise.
8946         (TEST_MATHVEC): Likewise.
8947         (__NO_MATH_INLINES): Likewise.
8948         (CNCT): Likewise.
8949         (CONCAT): Likewise.
8950         (WRAPPER_NAME): Likewise.
8951         (WRAPPER_DECL): Likewise.
8952         (WRAPPER_DECL_ff): Likewise.
8953         (WRAPPER_DECL_fFF): Likewise.
8954         (VECTOR_WRAPPER): Likewise.
8955         (VECTOR_WRAPPER_ff): Likewise.
8956         (VECTOR_WRAPPER_fFF): Likewise.
8957         (VEC_LEN): New macro.
8958         * math/test-double-vlen4.h: Include test-double.h,
8959         test-math-no-inline.h and test-math-vector.h.
8960         (FLOAT): Remove macro.
8961         (FUNC): Likewise.
8962         (MATHCONST): Likewise.
8963         (PRINTF_EXPR): Likewise.
8964         (PRINTF_XEXPR): Likewise.
8965         (PRINTF_NEXPR): Likewise.
8966         (TEST_DOUBLE): Likewise.
8967         (TEST_MATHVEC): Likewise.
8968         (__NO_MATH_INLINES): Likewise.
8969         (CNCT): Likewise.
8970         (CONCAT): Likewise.
8971         (WRAPPER_NAME): Likewise.
8972         (WRAPPER_DECL): Likewise.
8973         (WRAPPER_DECL_ff): Likewise.
8974         (WRAPPER_DECL_fFF): Likewise.
8975         (VECTOR_WRAPPER): Likewise.
8976         (VECTOR_WRAPPER_ff): Likewise.
8977         (VECTOR_WRAPPER_fFF): Likewise.
8978         (VEC_LEN): New macro.
8979         * math/test-double-vlen8.h: Include test-double.h,
8980         test-math-no-inline.h and test-math-vector.h.
8981         (FLOAT): Remove macro.
8982         (FUNC): Likewise.
8983         (MATHCONST): Likewise.
8984         (PRINTF_EXPR): Likewise.
8985         (PRINTF_XEXPR): Likewise.
8986         (PRINTF_NEXPR): Likewise.
8987         (TEST_DOUBLE): Likewise.
8988         (TEST_MATHVEC): Likewise.
8989         (__NO_MATH_INLINES): Likewise.
8990         (CNCT): Likewise.
8991         (CONCAT): Likewise.
8992         (WRAPPER_NAME): Likewise.
8993         (WRAPPER_DECL): Likewise.
8994         (WRAPPER_DECL_ff): Likewise.
8995         (WRAPPER_DECL_fFF): Likewise.
8996         (VECTOR_WRAPPER): Likewise.
8997         (VECTOR_WRAPPER_ff): Likewise.
8998         (VECTOR_WRAPPER_fFF): Likewise.
8999         (VEC_LEN): New macro.
9000         * math/test-float-vlen4.h: Include test-float.h,
9001         test-math-no-inline.h and test-math-vector.h.
9002         (FLOAT): Remove macro.
9003         (FUNC): Likewise.
9004         (MATHCONST): Likewise.
9005         (PRINTF_EXPR): Likewise.
9006         (PRINTF_XEXPR): Likewise.
9007         (PRINTF_NEXPR): Likewise.
9008         (TEST_FLOAT): Likewise.
9009         (TEST_MATHVEC): Likewise.
9010         (__NO_MATH_INLINES): Likewise.
9011         (CNCT): Likewise.
9012         (CONCAT): Likewise.
9013         (WRAPPER_NAME): Likewise.
9014         (WRAPPER_DECL): Likewise.
9015         (WRAPPER_DECL_ff): Likewise.
9016         (WRAPPER_DECL_fFF): Likewise.
9017         (VECTOR_WRAPPER): Likewise.
9018         (VECTOR_WRAPPER_ff): Likewise.
9019         (VECTOR_WRAPPER_fFF): Likewise.
9020         (VEC_LEN): New macro.
9021         * math/test-float-vlen8.h: Include test-float.h,
9022         test-math-no-inline.h and test-math-vector.h.
9023         (FLOAT): Remove macro.
9024         (FUNC): Likewise.
9025         (MATHCONST): Likewise.
9026         (PRINTF_EXPR): Likewise.
9027         (PRINTF_XEXPR): Likewise.
9028         (PRINTF_NEXPR): Likewise.
9029         (TEST_FLOAT): Likewise.
9030         (TEST_MATHVEC): Likewise.
9031         (__NO_MATH_INLINES): Likewise.
9032         (CNCT): Likewise.
9033         (CONCAT): Likewise.
9034         (WRAPPER_NAME): Likewise.
9035         (WRAPPER_DECL): Likewise.
9036         (WRAPPER_DECL_ff): Likewise.
9037         (WRAPPER_DECL_fFF): Likewise.
9038         (VECTOR_WRAPPER): Likewise.
9039         (VECTOR_WRAPPER_ff): Likewise.
9040         (VECTOR_WRAPPER_fFF): Likewise.
9041         (VEC_LEN): New macro.
9042         * math/test-float-vlen16.h: Include test-float.h,
9043         test-math-no-inline.h and test-math-vector.h.
9044         (FLOAT): Remove macro.
9045         (FUNC): Likewise.
9046         (MATHCONST): Likewise.
9047         (PRINTF_EXPR): Likewise.
9048         (PRINTF_XEXPR): Likewise.
9049         (PRINTF_NEXPR): Likewise.
9050         (TEST_FLOAT): Likewise.
9051         (TEST_MATHVEC): Likewise.
9052         (__NO_MATH_INLINES): Likewise.
9053         (CNCT): Likewise.
9054         (CONCAT): Likewise.
9055         (WRAPPER_NAME): Likewise.
9056         (WRAPPER_DECL): Likewise.
9057         (WRAPPER_DECL_ff): Likewise.
9058         (WRAPPER_DECL_fFF): Likewise.
9059         (VECTOR_WRAPPER): Likewise.
9060         (VECTOR_WRAPPER_ff): Likewise.
9061         (VECTOR_WRAPPER_fFF): Likewise.
9062         (VEC_LEN): New macro.
9063         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9064         test-vec-loop.h.
9065         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9066         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9067         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9068         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9069         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9070         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9071         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9073 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9075         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9076         (__getlogin_r): ... this.
9078 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9080         [BZ #18594]
9081         * math/s_ccosh.c (__ccosh): Compare with least normal value
9082         instead of comparing class with FP_SUBNORMAL.
9083         * math/s_ccoshf.c (__ccoshf): Likewise.
9084         * math/s_ccoshl.c (__ccoshl): Likewise.
9085         * math/s_cexp.c (__cexp): Likewise.
9086         * math/s_cexpf.c (__cexpf): Likewise.
9087         * math/s_cexpl.c (__cexpl): Likewise.
9088         * math/s_csin.c (__csin): Likewise.
9089         * math/s_csinf.c (__csinf): Likewise.
9090         * math/s_csinh.c (__csinh): Likewise.
9091         * math/s_csinhf.c (__csinhf): Likewise.
9092         * math/s_csinhl.c (__csinhl): Likewise.
9093         * math/s_csinl.c (__csinl): Likewise.
9094         * math/s_ctan.c (__ctan): Likewise.
9095         * math/s_ctanf.c (__ctanf): Likewise.
9096         * math/s_ctanh.c (__ctanh): Likewise.
9097         * math/s_ctanhf.c (__ctanhf): Likewise.
9098         * math/s_ctanhl.c (__ctanhl): Likewise.
9099         * math/s_ctanl.c (__ctanl): Likewise.
9100         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9101         csin, csinh, ctan and ctanh.
9102         * math/auto-libm-test-out: Regenerated.
9103         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9104         * sysdeps/i386/fpu/libm-test-ulps: Update.
9105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9107 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9109         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9110         return value is wrong, print the expected value too.
9112 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9114         [BZ #18585]
9115         * elf/readlib.c (is_gdb_python_file): New.
9116         (process_file): Don't issue errors on filenames with -gdb.py
9117         suffix.
9119 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9121         * math/auto-libm-test-in: Add more tests of csin and csinh.
9122         * math/auto-libm-test-out: Regenerated.
9123         * math/libm-test.inc (csin_test_data): Remove tests moved to
9124         auto-libm-test-in.
9125         (csinh_test_data): Likewise.
9127         [BZ #18593]
9128         * math/s_csin.c (__csin): Negate before rather than after possibly
9129         overflowing multiplication.
9130         * math/s_csinf.c (__csinf): Likewise.
9131         * math/s_csinh.c (__csinh): Likewise.
9132         * math/s_csinhf.c (__csinhf): Likewise.
9133         * math/s_csinhl.c (__csinhl): Likewise.
9134         * math/s_csinl.c (__csinl): Likewise.
9135         * math/auto-libm-test-in: Add some tests of csin and csinh.
9136         * math/auto-libm-test-out: Regenerated.
9137         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9138         (csinh_test_data): Likewise.
9139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9141         [BZ #18586]
9142         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9143         underflow exception for small results.
9145 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9147         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9148         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9149         variable and included header.
9150         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9151         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9152         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9153         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9154         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9155         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9156         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9157         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9158         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9159         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9160         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9161         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9162         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9163         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9164         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9165         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9167 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9169         [BZ #16526]
9170         [BZ #16538]
9171         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9172         (__sin): Force underflow exception for arguments with small
9173         absolute value.
9174         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9175         (__kernel_sinf): Force underflow exception for arguments with
9176         small absolute value.
9177         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9178         (__kernel_sincosl): Force underflow exception for arguments with
9179         small absolute value.
9180         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9181         (__kernel_sinl): Force underflow exception for arguments with
9182         small absolute value.
9183         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9184         (__kernel_sincosl): Force underflow exception for arguments with
9185         small absolute value.
9186         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9187         (__kernel_sinl): Force underflow exception for arguments with
9188         small absolute value.
9189         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9190         (__kernel_sinl): Force underflow exception for arguments with
9191         small absolute value.
9192         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9193         (__kernel_sinf): Force underflow exception for arguments with
9194         small absolute value.
9195         * math/auto-libm-test-in: Add more tests of sin and sincos.
9196         * math/auto-libm-test-out: Regenerated.
9198         [BZ #18245]
9199         [BZ #18583]
9200         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9201         (__kernel_standard_l): Use feholdexcept and fesetenv around
9202         conversion to double instead of special-casing overflow and
9203         underflow.
9204         * math/libm-test.inc (fmod_test_data): Add more tests.
9205         (remainder_test_data): Likewise.
9206         (sqrt_test_data): Likewise.
9208 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9210         [BZ #17403]
9211         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9212         atomic_read_barrier, atomic_write_barrier): Define.
9213         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9214         atomic_read_barrier, atomic_write_barrier): Define.
9216 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9218         * math/Makefile [$(PERL) != no]
9219         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9220         dependency on libm-test.stmp below the inclusion of Rules.
9222 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9224         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9225         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9226         and included header.
9227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9228         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9229         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9230         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9231         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9232         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9233         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9234         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9235         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9236         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9237         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9238         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9239         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9240         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9241         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9242         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9243         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9244         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9245         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9247 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9249         [BZ #18371]
9250         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9251         intermediate but not final result might underflow.
9252         * math/s_csqrtf.c (__csqrtf): Likewise.
9253         * math/s_csqrtl.c (__csqrtl): Likewise.
9254         * math/auto-libm-test-in: Add more tests of csqrt.
9255         * math/auto-libm-test-out: Regenerated.
9256         * sysdeps/i386/fpu/libm-test-ulps: Update.
9258         [BZ #18219]
9259         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9260         threshold on absolute value of exponent for which scaling is used.
9261         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9262         * math/auto-libm-test-in: Add more tests of exp2.
9263         * math/auto-libm-test-out: Regenerated.
9265 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9267         [BZ #17977]
9268         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9269         when initializing interface list, based on the bug analysis
9270         and the patch proposed by Eric Newton.
9271         * resolv/tst-res_hconf_reorder.c: New test.
9272         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9273         tst-res_hconf_reorder.
9274         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9275         and $(shared-thread-library).
9276         (tst-res_hconf_reorder-ENV): New variable.
9278         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9279         in comment.
9281 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9283         [BZ #16353]
9284         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9285         (__expm1): Force underflow exception for arguments with small
9286         absolute value.
9287         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9288         (__expm1f): Force underflow exception for arguments with small
9289         absolute value.
9290         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9291         (__expm1): Force underflow exception for arguments with small
9292         absolute value.
9293         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9294         (__expm1f): Force underflow exception for arguments with small
9295         absolute value.
9296         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9297         Check for small arguments before calling __expm1.
9298         * math/auto-libm-test-in: Do not mark underflow exceptions as
9299         possibly missing for bug 16353.
9300         * math/auto-libm-test-out: Regenerated.
9302 2015-06-22  Andreas Schwab  <schwab@suse.de>
9304         [BZ #18513]
9305         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9306         PTR queries.
9308 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9310         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9312         * string/strcoll_l.c: Remove unused struct element idxnow.
9314 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9316         [BZ #18569]
9317         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9318         underflow and return argument in case of subnormal argument.
9319         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9320         Likewise.
9321         * math/auto-libm-test-in: Add more tests of expm1.
9322         * math/auto-libm-test-out: Regenerated.
9324         [BZ #16361]
9325         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9326         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9327         tiny results.
9328         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9329         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9330         tiny results.
9331         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9332         mark underflow exceptions as possibly missing for bug 16361.
9333         * math/auto-libm-test-out: Regenerated.
9335 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9337         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9338         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9339         Remove variable.
9340         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9341         (test-xfail-XOPEN2K8/utmpx.h/conform).
9343         * conform/conformtest.pl ($xerrors): New variable.
9344         (note_error): New function.
9345         (compiletest): New argument $xfail.  Use not_error.
9346         (runtest): Likewise.
9347         (top level): Handle xfail- lines.  Update calls to compiletest and
9348         runtest.  Handle xfail- and optional- in headers listed with
9349         allow-header.
9350         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9351         (O_EXEC): Likewise.
9352         (O_SEARCH): Likewise.
9353         * conform/data/stropts.h-data (ioctl): Likewise.
9354         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9355         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9356         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9357         (msghdr.msg_controllen): Likewise.
9358         (cmsghdr.cmsg_len): Likewise.
9359         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9360         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9361         variable.
9362         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9363         (test-xfail-XPG4/stropts.h/conform): Likewise.
9364         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9365         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9366         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9367         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9368         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9369         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9370         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9371         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9372         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9373         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9374         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9375         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9376         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9377         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9378         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9379         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9380         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9381         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9382         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9384 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9386         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9387         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9388         definitions for proper unfolding of __MATHDECL_VEC.
9390 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9392         * benchtests/bench-strcoll.c:
9393         Include string.h.
9394         (main): Remove unused variable res.
9396 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9398         * timezone/Makefile (%/UTC %/Universal):
9399         Generate test-result files for UTC and Universal.
9401 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9403         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9405 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9407         [BZ #16350]
9408         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9409         for arguments with small absolute value.
9410         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9411         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9412         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9413         (__asinh): Force underflow exception for arguments with small
9414         absolute value.
9415         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9416         (__asinhf): Force underflow exception for arguments with small
9417         absolute value.
9418         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9419         (__asinhl): Force underflow exception for arguments with small
9420         absolute value.
9421         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9422         (__asinhl): Force underflow exception for arguments with small
9423         absolute value.
9424         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9425         (__asinhl): Force underflow exception for arguments with small
9426         absolute value.
9427         * math/auto-libm-test-in: Do not mark underflow exceptions as
9428         possibly missing for bug 16350.
9429         * math/auto-libm-test-out: Regenerated.
9431         * include/bits/ipc.h: Remove file.
9432         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9433         variable.
9434         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9435         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9436         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9437         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9438         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9439         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9440         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9441         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9442         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9444         * math/auto-libm-test-in: Remove spurious underflow allowance for
9445         tests of cexp.
9446         * math/auto-libm-test-out: Regenerated.
9448         [BZ #18558]
9449         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9450         unconditional definition.
9451         (MCAST_BLOCK_SOURCE): Likewise.
9452         (MCAST_UNBLOCK_SOURCE): Likewise.
9453         (MCAST_LEAVE_GROUP): Likewise.
9454         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9455         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9456         (MCAST_MSFILTER): Likewise.
9457         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9458         Remove variable.
9459         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9460         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9461         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9462         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9463         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9465 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9467         * NEWS: Mention addition of x86_64 vector sincosf.
9468         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9469         * math/test-float-vlen4.h: Likewise.
9470         * math/test-float-vlen8.h: Likewise.
9471         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9472         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9473         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9474         * sysdeps/x86_64/fpu/Versions: New versions added.
9475         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9476         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9477         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9478         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9479         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9480         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9481         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9482         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9483         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9484         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9485         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9486         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9487         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9488         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9489         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9490         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9491         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9492         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9493         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9494         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9495         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9496         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9497         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9498         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9500         * NEWS: Mention addition of x86_64 vector sincos.
9501         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9502         * math/math.h (__MATHDECL_VEC): New macro.
9503         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9504         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9505         declaration under condition.
9506         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9507         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9508         TEST_VEC_LOOP change.
9509         * math/test-double-vlen4.h: Likewise.
9510         * math/test-double-vlen8.h: Likewise.
9511         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9512         * math/test-float-vlen4.h: Likewise.
9513         * math/test-float-vlen8.h: Likewise.
9514         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9515         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9516         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9517         * sysdeps/x86_64/fpu/Versions: New versions added.
9518         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9519         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9520         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9521         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9522         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9523         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9524         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9525         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9526         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9527         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9528         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9529         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9530         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9531         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9532         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9533         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9534         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9535         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9536         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9537         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9538         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9539         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9540         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9541         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9543         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9544         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9545         redirections for powf.
9546         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9547         * sysdeps/x86_64/fpu/Versions: New versions added.
9548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9550         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9551         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9552         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9553         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9554         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9555         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9556         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9557         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9558         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9559         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9560         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9561         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9562         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9563         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9564         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9565         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9566         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9567         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9568         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9569         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9570         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9571         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9572         * math/test-float-vlen16.h: Fixed 2 argument macro.
9573         * math/test-float-vlen4.h: Likewise.
9574         * math/test-float-vlen8.h: Likewise.
9575         * NEWS: Mention addition of x86_64 vector powf.
9577 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9579         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9580         and redefine.
9581         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9582         and redefine.
9583         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9584         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9585         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9587         [BZ #18553]
9588         * resource/getpriority.c (getpriority): Rename to __getpriority
9589         and define as weak alias of __getpriority.
9590         * resource/setpriority.c (setpriority): Rename to __setpriority
9591         and define as weak alias of __setpriority.
9592         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9593         __getpriority and define as weak alias of __getpriority.
9594         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9595         __setpriority and define as weak alias of __setpriority.
9596         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9597         strong name.
9598         (setpriority): Use __setpriority as strong name.
9599         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9600         __getpriority and define as weak alias of __getpriority.
9601         * include/sys/resource.h (__getpriority): Declare.  Use
9602         libc_hidden_proto.
9603         (__setpriority): Likewise.
9604         (getpriority): Don't use libc_hidden_proto.
9605         (setpriority): Likewise.
9606         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9607         getpriority.  Call __setpriority instead of setpriority.
9608         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9609         Remove variable.
9611         [BZ #18547]
9612         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9613         as weak alias of __getttynam.  Use prototype function definition.
9614         Call __setttyent, __getttyent and __endttyent instead of
9615         setttyent, getttyent and endttyent.
9616         (getttyent): Rename to __getttyent and define as weak alias of
9617         __getttyent.  Call __setttyent instead of setttyent.  Call
9618         __fgets_unlocked instead of fgets_unlocked.
9619         (setttyent): Rename to __setttyent and define as weak alias of
9620         __setttyent.
9621         (endttyent): Rename to __endttyent and define as weak alias of
9622         __endttyent.
9623         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9624         (__setttyent): Likewise.
9625         (__endttyent): Likewise.
9626         (getttyent): Don't use libc_hidden_proto.
9627         (setttyent): Likewise.
9628         (endttyent): Likewise.
9629         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9630         __endttyent instead of setttyent, getttyent and endttyent.
9631         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9632         Remove variable.
9634         [BZ #18546]
9635         * socket/recv.c (__recv): Use libc_hidden_def.
9636         * socket/socket.c (__socket): Likewise.
9637         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9638         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9639         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9640         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9641         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9642         libc_hidden_def.
9643         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9644         libc_hidden_weak.
9645         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9646         Use libc_hidden_proto.
9647         (__recv): Likewise.
9648         * socket/Versions (libc): Export __recv and __socket at version
9649         GLIBC_PRIVATE.
9650         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9651         instead of recv.
9652         (init_mq_netlink): Call __socket instead of socket.
9653         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9654         Remove variable.
9656         [BZ #18545]
9657         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9658         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9659         hidden_weak.
9660         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9661         define as alias of __mq_timedsend.  Use hidden_weak.
9662         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9663         __mq_timedsend as strong name.
9664         (mq_timedreceive): Use __mq_timedreceive as strong name.
9665         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9666         (__mq_timedreceive): Likewise.
9667         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9668         __mq_timedreceive instead of mq_timedreceive.
9669         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9670         instead of mq_timedsend.
9671         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9672         Remove variable.
9674         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9675         hidden_def and hidden_weak instead of libc_hidden_def and
9676         libc_hidden_weak.
9677         (top level): Refer to hidden_def in comment.
9678         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9679         macro.  Use it instead of libc_hidden_def.
9680         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9681         specify __GI_* name explicitly.
9682         (mq_timedreceive): Likewise.
9683         (mq_setattr): Likewise.
9685         [BZ #18544]
9686         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9687         __pthread_barrier_init and define as weak alias of
9688         __pthread_barrier_init.
9689         * sysdeps/sparc/nptl/pthread_barrier_init.c
9690         (pthread_barrier_init): Likewise.
9691         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9692         __pthread_barrier_wait and define as weak alias of
9693         __pthread_barrier_wait.
9694         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9695         (pthread_barrier_wait): Likewise.
9696         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9697         (pthread_barrier_wait): Likewise.
9698         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9699         (pthread_barrier_wait): Likewise.
9700         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9701         (pthread_barrier_wait): Likewise.
9702         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9703         __pthread_barrier_wait at version GLIBC_PRIVATE.
9704         * include/pthread.h (__pthread_barrier_init): Declare.
9705         (__pthread_barrier_wait): Likewise.
9706         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9707         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9708         (helper_thread): Likewise.
9709         (init_mq_netlink): Call __pthread_barrier_init instead of
9710         pthread_barrier_init.
9712         [BZ #18542]
9713         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9714         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9715         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9716         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9717         vswscanf.
9718         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9719         Remove variable.
9721         [BZ #18540]
9722         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9723         strong alias of _IO_fflush.  Use libc_hidden_def.
9724         * libio/iofflush_u.c (fflush_unlocked): Rename to
9725         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9726         Use libc_hidden_weak.
9727         * include/stdio.h (__fflush_unlocked): Declare.  Use
9728         libc_hidden_proto.
9729         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9730         fflush_unlocked.
9731         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9732         Remove variable.
9734         [BZ #18539]
9735         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9736         define as weak alias of __addseverity.
9737         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9738         Remove variable.
9739         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9740         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9741         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9743         [BZ #18536]
9744         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9745         (__tfind): Likewise.
9746         (__tdelete): Likewise.
9747         (__twalk): Likewise.
9748         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9749         __twalk to GLIBC_PRIVATE.
9750         * include/search.h (__tsearch): Use libc_hidden_proto.
9751         (__tfind): Likewise.
9752         (__tdelete): Likewise.
9753         (__twalk): Likewise.
9754         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9755         Call __tdelete instead of tdelete.
9756         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9757         tfind.  Call __tsearch instead of tsearch.
9758         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9759         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9760         Remove variable.
9761         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9763         [BZ #18534]
9764         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9765         (dprintf): Define as a weak alias of __dprintf, not a strong
9766         alias.
9767         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9768         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9769         dprintf.
9770         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9771         Remove variable.
9772         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9773         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9775         [BZ #18533]
9776         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9777         not a strong alias.
9778         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9779         Remove variable.
9781         [BZ #18532]
9782         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9783         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9784         (in6addr_loopback): Rename to __in6addr_loopback and define as
9785         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9786         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9787         libc_hidden_proto.
9788         (__in6addr_any): Likewise.
9789         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9790         in6addr_any.
9791         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9792         variable.
9793         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9795 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9797         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9798         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9799         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9800         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9801         redirections for pow.
9802         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9803         * sysdeps/x86_64/fpu/Versions: New versions added.
9804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9805         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9806         build of SSE, AVX2 and AVX512 IFUNC versions.
9807         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9808         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9809         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9810         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9811         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9812         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9813         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9814         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9815         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9816         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9817         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9818         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9819         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9820         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9821         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9822         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9823         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9824         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9825         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9826         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9827         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9828         * NEWS: Mention addition of x86_64 vector pow.
9830         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9831         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9832         redirections for expf.
9833         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9834         * sysdeps/x86_64/fpu/Versions: New versions added.
9835         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9836         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9837         build of SSE, AVX2 and AVX512 IFUNC versions.
9838         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9839         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9840         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9841         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9842         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9844         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9845         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9846         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9847         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9848         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9849         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9850         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9851         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9852         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9853         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9854         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9855         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9856         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9857         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9858         * NEWS: Mention addition of x86_64 vector expf.
9860         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9861         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9862         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9863         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9864         redirections for exp.
9865         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9866         * sysdeps/x86_64/fpu/Versions: New versions added.
9867         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9868         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9869         build of SSE, AVX2 and AVX512 IFUNC versions.
9870         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9871         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9872         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9873         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9874         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9875         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9876         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9877         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9878         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
9879         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
9880         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
9881         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
9882         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
9883         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9884         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9885         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9886         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9887         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9888         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9889         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9890         * NEWS: Mention addition of x86_64 vector exp.
9892         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9893         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9894         redirections for logf.
9895         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9896         * sysdeps/x86_64/fpu/Versions: New versions added.
9897         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9898         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9899         build of SSE, AVX2 and AVX512 IFUNC versions.
9900         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
9901         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
9902         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
9903         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
9904         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
9905         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
9906         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
9907         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
9908         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
9909         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
9910         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
9911         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
9912         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
9913         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9914         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9915         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9916         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9918         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9919         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9920         * NEWS: Mention addition of x86_64 vector logf.
9922         * bits/libm-simd-decl-stubs.h: Added stubs for log.
9923         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
9924         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9925         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9926         redirections for log.
9927         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9928         * sysdeps/x86_64/fpu/Versions: New versions added.
9929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9930         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9931         build of SSE, AVX2 and AVX512 IFUNC versions.
9932         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
9933         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
9934         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
9935         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
9936         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
9937         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
9938         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
9939         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
9940         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
9941         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
9942         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
9943         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
9944         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
9945         test.
9946         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9947         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9948         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9949         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9950         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9951         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9952         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9953         * NEWS: Mention addition of x86_64 vector log.
9955 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9957         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
9958         cfi_adjust_cfa_offset argument.
9959         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
9960         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
9962         [BZ #18034]
9963         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
9964         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
9965         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
9966         ordering using ldar.
9967         (_dl_tlsdesc_dynamic): Likewise.
9968         (_dl_tlsdesc_return_lazy): Likewise.
9969         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
9970         relaxed atomics instead of volatile and synchronize with release store.
9971         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
9972         volatile.
9973         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9975 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
9977         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9978         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
9979         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9980         * sysdeps/x86_64/fpu/Versions: New versions added.
9981         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9982         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9983         build of SSE, AVX2 and AVX512 IFUNC versions.
9984         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
9985         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
9986         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
9987         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
9988         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
9989         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
9990         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
9991         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
9992         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
9993         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
9994         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
9995         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
9996         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
9997         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9998         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9999         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10000         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10001         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10002         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10003         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10004         * NEWS: Mention addition of x86_64 vector sinf.
10006 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10008         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10009         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10010         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10011         Remove variable.
10012         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10013         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10015 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10017         [BZ #18530]
10018         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10019         strong alias of _IO_fputs.  Use libc_hidden_def.
10020         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10021         and define as weak alias of __fputs_unlocked.  Use
10022         libc_hidden_weak.
10023         * include/stdio.h (__fputs_unlocked): Declare.  Use
10024         libc_hidden_proto.
10025         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10026         fputs_unlocked.
10028         [BZ #18529]
10029         * resolv/netdb.h [__USE_POSIX]: Change condition to
10030         [__USE_XOPEN2K].
10031         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10032         not expect.
10033         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10034         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10035         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10036         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10037         [XPG4 || UNIX98] (AI_ALL): Likewise.
10038         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10039         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10040         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10041         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10042         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10043         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10044         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10045         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10046         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10047         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10048         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10049         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10050         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10051         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10052         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10053         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10054         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10055         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10056         [XPG4 || UNIX98] (gai_strerror): Likewise.
10057         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10058         [XPG4 || UNIX98] (getnameinfo): Likewise.
10060         [BZ #18528]
10061         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10062         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10063         __USE_XOPEN2K8].
10064         (getgrent): Likewise.
10065         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10066         expect.
10067         [XPG3 || POSIX2008] (endgrent): Likewise.
10068         [XPG3] (setgrent): Likewise.
10069         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10070         variable.
10071         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10073         [BZ #18527]
10074         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10075         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10076         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10077         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10078         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10079         * include/unistd.h (__getlogin_r): Declare.  Use
10080         libc_hidden_proto.
10081         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10082         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10083         variable.
10084         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10085         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10086         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10088 2015-06-12  Martin Sebor  <msebor@redhat.com>
10090         [BZ #18512]
10091         * Makerules (check-install-supported): New target.
10092         (install): Add check-install-supported as a dependency.
10093         * manual/install.texi (Installing the C Library): Document
10094         that overriding prefix and exec_prefix is not supported.
10095         Mention DESTDIR.
10096         * INSTALL: Regenerate from the above.
10098 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10100         [BZ #18519]
10101         * posix/Versions (libc): Export __libc_pread at version
10102         GLIBC_PRIVATE.
10103         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10104         instead of pread.
10105         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10106         variable.
10108         [BZ #18522]
10109         * misc/efgcvt_r.c
10110         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10111         (cvt_symbol): Use weak_alias instead of strong_alias.
10112         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10113         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10114         Remove variable.
10115         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10116         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10118         [BZ #18520]
10119         * inet/herrno.c (h_errno): Rename to __h_errno.
10120         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10121         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10122         to __h_errno instead of h_errno.
10123         * nptl/herrno.c (h_errno): Rename to __h_errno.
10124         (__h_errno_location): Refer to __h_errno not h_errno.
10125         * resolv/Versions (h_errno): Rename to __h_errno.
10126         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10127         Remove variable.
10128         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10130 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10132         * configure.ac: More strict check for AVX512 assembler support.
10133         * configure: Regenerated.
10135         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10136         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10137         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10138         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10139         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10140         * sysdeps/x86_64/fpu/Versions: New versions added.
10141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10142         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10143         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10144         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10145         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10146         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10147         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10148         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10149         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10150         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10151         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10152         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10153         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10154         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10155         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10156         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10157         test.
10158         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10159         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10160         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10161         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10162         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10163         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10164         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10165         * NEWS: Mention addition of x86_64 vector sin.
10167 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10169         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10170         comment.
10172 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10174         [BZ #18479]
10175         * nptl/pt-interp.c: New file.
10176         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10177         Add pt-interp.
10178         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10179         $(common-objpfx)runtime-linker.h.
10181 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10183         * Makeconfig (+interp): Remove unused variable.
10184         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10185         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10186         $(elf-objpfx)runtime-linker.h.
10187         ($(elf-objpfx)runtime-linker.h): Rename to
10188         $(common-objpfx)runtime-linker.h and move ...
10189         * Makerules [$(build-shared) = yes]: ... here.
10190         * elf/interp.c: Include <runtime-linker.h> instead of
10191         <elf/runtime-linker.h>.
10193 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10195         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10196         (__gettimeofday_syscall): Remove vsyscall fallback.
10197         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10198         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10199         Add syscall fallback function.
10200         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10201         if vDSO is not present.
10202         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10203         fallback function.
10204         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10205         present.
10206         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10207         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10209 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10211         [BZ #18497]
10212         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10213         of wcscmp.
10214         (wcscmp): Define as weak alias of WCSCMP.
10215         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10216         wcscoll.
10217         (USE_HIDDEN_DEF): Define.
10218         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10219         __wcscoll.  Don't use libc_hidden_weak.
10220         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10221         wcscmp.
10222         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10223         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10224         __GI_wcscmp.
10225         (weak_alias): Undefine and redefine.
10226         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10227         __wcscmp and define as weak alias of __wcscmp.
10228         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10229         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10230         (__wcscoll): Likewise.
10231         (wcscmp): Don't use libc_hidden_proto.
10232         (wcscoll): Likewise.
10233         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10234         wcscoll.
10235         * posix/regexec.c (check_node_accept_bytes): Likewise.
10236         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10237         variable.
10238         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10239         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10241         [BZ #18507]
10242         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10243         __fstatvfs and define as weak alias of __fstatvfs.  Use
10244         libc_hidden_weak.
10245         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10246         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10247         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10248         Define as alias of __fstatvfs, not fstatvfs.
10249         (fstatvfs64): Likewise.
10250         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10251         Define as alias of __statvfs, not statvfs.
10252         (statvfs64): Likewise.
10253         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10254         Remove variable.
10256 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10259         (HAVE_GETCPU_VSYSCALL): Define.
10260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10261         (HAVE_GETCPU_VSYSCALL): Likewise.
10262         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10263         * sysdeps/unix/sysv/linux/sched_getcpu.c
10264         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10265         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10266         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10267         prototype.
10268         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10269         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10270         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10272         Define.
10273         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10274         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10275         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10276         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10278 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10280         * sysdeps/x86_64/fpu/Makefile: New file.
10281         * sysdeps/x86_64/fpu/Versions: New file.
10282         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10283         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10284         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10285         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10286         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10287         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10288         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10289         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10290         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10291         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10292         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10294         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10295         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10296         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10297         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10298         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10299         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10300         * sysdeps/x86_64/configure: Regenerated.
10301         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10302         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10303         * manual/install.texi (Configuring and compiling): Document
10304         --disable-mathvec.
10305         * INSTALL: Regenerated.
10306         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10308         * math/Makefile: Added rules for vector tests.
10309         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10310         declaration under condition.
10311         * math/test-double-vlen2.h: New file.
10312         * math/test-double-vlen4.h: New file.
10313         * math/test-double-vlen8.h: New file.
10314         * math/test-vec-loop.h: Added initialization macro.
10315         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10316         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10317         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10318         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10319         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10320         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10321         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10322         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10323         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10324         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10325         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10327         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10328         * sysdeps/x86_64/fpu/Versions: New versions added.
10329         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10330         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10331         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10332         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10333         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10334         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10335         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10336         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10337         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10338         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10339         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10340         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10341         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10342         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10343         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10344         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10345         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10346         * NEWS: Mention addition of x86_64 vector cosf.
10348         * math/Makefile: Added CFLAGS for new tests.
10349         * math/test-float-vlen16.h: New file.
10350         * math/test-float-vlen4.h: New file.
10351         * math/test-float-vlen8.h: New file.
10352         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10353         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10354         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10355         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10356         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10357         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10358         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10359         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10360         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10361         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10362         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10364 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10366         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10367         * locale/programs/ld-ctype.c: Likewise.
10369 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10371         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10372         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10373         bit_ZMM16_31_state): New macro.
10374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10375         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10377 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10379         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10381 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10383         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10385 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10387         [BZ #18498]
10388         * libio/memstream.c (open_memstream): Rename to __open_memstream
10389         and define as weak alias of __open_memstream.
10390         * include/stdio.h (__open_memstream): Declare.  Use
10391         libc_hidden_proto.
10392         (open_memstream): Don't use libc_hidden_proto.
10393         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10394         open_memstream.
10395         * posix/getopt.c (_getopt_internal_r): Likewise.
10396         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10397         variable.
10398         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10399         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10400         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10402         [BZ #18496]
10403         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10404         instead of wcrtomb.
10406         [BZ #18483]
10407         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10408         [__USE_XOPEN2K8].  Remove redundant #endif.
10409         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10410         Remove redundant #if.
10411         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10412         Remove variable.
10413         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10414         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10416         [BZ #18495]
10417         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10418         (__iswlower): Likewise.
10419         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10420         (__iswlower): Likewise.
10421         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10422         instead of towlower.
10423         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10424         instead of iswlower.  Call __towupper instead of towupper.
10425         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10426         instead of iswalnum.
10428 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10430         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10431         errors to stderr.
10433 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10435         [BZ #15661]
10436         [BZ #17322]
10437         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10438         Check for overflow properly.  Check for O_APPEND.  Ignore large
10439         file system block sizes.  Add comments about problems.
10440         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10441         * manual/filesys.texi (Storage Allocation): New node.
10443 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10445         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10446         cancellable syscalls.
10447         (SYS_ify): Add guard to no redefine it.
10448         (INLINE_SYSCALL): Likewise.
10449         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10450         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10451         SYSCALL_CANCEL instead.
10452         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10453         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10454         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10455         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10456         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10457         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10458         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10459         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10460         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10461         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10462         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10463         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10464         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10465         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10466         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10467         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10468         Likewise.
10469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10470         (__libc_pread64): Likewise.
10471         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10472         (__libc_preadv): Likewise.
10473         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10474         (__libc_readv64): Likewise.
10475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10476         (__libc_pwrite): Likewise.
10477         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10478         (__libc_pwrite64): Likewise.
10479         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10480         (__libc_pwritev): Likewise.
10481         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10482         (__libc_pwritev64): Likewise.
10483         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10484         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10485         (sync_file_range): Likewise.
10486         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10487         Likewise.
10488         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10489         Likewise.
10490         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10491         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10492         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10493         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10494         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10495         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10496         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10497         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10499         Likewise.
10500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10501         (__libc_read64): Likewise.
10502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10503         Likewise.
10504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10505         Likewise.
10506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10507         Likewise.
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10509         Likewise.
10510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10511         (__libc_pread64): Likewise.
10512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10513         Likewise.
10514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10515         (__libc_pwrite64): Likewise.
10516         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10517         (sync_file_range): Likewise.
10518         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10519         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10520         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10521         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10522         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10523         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10524         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10525         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10526         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10527         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10528         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10529         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10530         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10531         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10532         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10533         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10534         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10535         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10536         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10537         Likewise.
10538         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10539         Likewise.
10540         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10541         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10542         Likewise.
10543         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10544         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10545         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10546         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10547         Likewise.
10548         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10549         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10550         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10551         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10552         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10554 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10556         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10557         Include dl-vdso.
10558         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10559         Use VDSO routines for gettimeofday, clock_gettime if
10560         available.
10561         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10562         Declare VDSO symbols.
10563         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10564         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10565         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10566         * sysdeps/unix/sysv/linux/arm/Versions: Add
10567         __vdso_clock_gettime.
10569 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10571         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10572         be an inline implementation regardless of library is built within.
10573         (open_not_cancel_2): Likewise.
10574         (__read_nocancel): Likewise.
10575         (__write_nocancel): Likewise.
10576         (openat_not_cancel): Likewise.
10577         (openat_not_cancel_3): Likewise.
10578         (openat64_not_cancel): Likewise.
10579         (openat64_not_cancel_3): Likewise.
10580         (__close_nocancel): Likewise.
10581         (pause_not_cancel): Likewise.
10582         (nanosleep_not_cancel): Likewise.
10583         (sigsuspend_not_cancel): Likewise.
10585 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10587         [BZ #14958]
10588         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10589         wake-up.
10590         (__pthread_rwlock_rdlock_slow): Likewise.
10591         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10592         Likewise.
10593         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10594         Likewise.
10595         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10596         * nptl/tst-rwlock16.c: New file.
10597         * nptl/Makefile (tests): Add new test.
10599 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10601         [BZ #18324]
10602         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10603         missing wake-up of readers.
10604         * nptl/tst-rwlock15.c: New file.
10605         * nptl/Makefile (tests): Add new test.
10607 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10609         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10610         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10611         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10612         and __nacl_supply_interface_rtld.
10613         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10614         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10615         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10616         Add __nacl_supply_interface_rtld.
10617         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10619 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10621         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10622         isfinite.
10623         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10624         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10626 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10628         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10629         __signbit* with standard C99 macros.
10630         * math/e_exp10l.c: Likewise.
10631         * math/e_exp2l.c: Likewise.
10632         * math/e_scalb.c: Likewise.
10633         * math/e_scalbf.c: Likewise.
10634         * math/e_scalbl.c: Likewise.
10635         * math/s_ldexp.c: Likewise.
10636         * math/s_ldexpf.c: Likewise.
10637         * math/s_ldexpl.c: Likewise.
10638         * math/w_atan2.c: Likewise.
10639         * math/w_atan2f.c: Likewise.
10640         * math/w_atan2l.c: Likewise.
10641         * math/w_cosh.c: Likewise.
10642         * math/w_coshf.c: Likewise.
10643         * math/w_coshl.c: Likewise.
10644         * math/w_exp10.c: Likewise.
10645         * math/w_exp10f.c: Likewise.
10646         * math/w_exp10l.c: Likewise.
10647         * math/w_exp2.c: Likewise.
10648         * math/w_exp2f.c: Likewise.
10649         * math/w_exp2l.c: Likewise.
10650         * math/w_fmod.c: Likewise.
10651         * math/w_fmodf.c: Likewise.
10652         * math/w_fmodl.c: Likewise.
10653         * math/w_hypot.c: Likewise.
10654         * math/w_hypotf.c: Likewise.
10655         * math/w_hypotl.c: Likewise.
10656         * math/w_jnl.c: Likewise.
10657         * math/w_lgamma.c: Likewise.
10658         * math/w_lgamma_r.c: Likewise.
10659         * math/w_lgammaf.c: Likewise.
10660         * math/w_lgammaf_r.c: Likewise.
10661         * math/w_lgammal.c: Likewise.
10662         * math/w_lgammal_r.c: Likewise.
10663         * math/w_pow.c: Likewise.
10664         * math/w_powf.c: Likewise.
10665         * math/w_powl.c: Likewise.
10666         * math/w_remainder.c: Likewise.
10667         * math/w_remainderf.c: Likewise.
10668         * math/w_remainderl.c: Likewise.
10669         * math/w_scalb.c: Likewise.
10670         * math/w_scalbf.c: Likewise.
10671         * math/w_scalbl.c: Likewise.
10672         * math/w_scalbln.c: Likewise.
10673         * math/w_scalblnf.c: Likewise.
10674         * math/w_scalblnl.c: Likewise.
10675         * math/w_sinh.c: Likewise.
10676         * math/w_sinhf.c: Likewise.
10677         * math/w_sinhl.c: Likewise.
10678         * math/w_tgamma.c: Likewise.
10679         * math/w_tgammaf.c: Likewise.
10680         * math/w_tgammal.c: Likewise.
10681         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10682         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10683         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10684         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10685         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10686         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10687         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10688         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10689         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10690         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10691         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10692         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10693         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10694         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10695         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10696         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10697         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10698         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10699         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10700         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10701         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10702         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10703         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10704         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10705         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10706         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10707         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10708         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10709         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10710         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10711         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10712         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10713         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10714         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10715         * stdio-common/printf_fp.c: Likewise.
10716         * stdio-common/printf_fphex.c: Likewise.
10717         * stdio-common/printf_size.c: Likewise.
10719 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10721         [BZ #18470]
10722         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10723         strnlen.
10724         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10725         Remove variable.
10726         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10727         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10728         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10729         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10730         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10731         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10732         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10733         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10734         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10735         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10737         [BZ #18468]
10738         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10739         weak alias of __wmemchr.  Use libc_hidden_weak.
10740         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10741         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10742         instead of wmemchr.
10744 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10746         [BZ #18383]
10747         * elf/tst-tlsalign-extern.c: New file.
10748         * elf/tst-tlsalign-extern-static.c: New file.
10749         * elf/tst-tlsalign-vars.c: New file.
10750         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10751         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10752         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10753         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10754         (test-xfail-tst-tlsalign-extern-static): New variable.
10756 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10758         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10759         Use variable name _sc_err instead of err.
10760         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10761         instead of ret.
10762         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10763         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10764         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10765         (INLINE_SYSCALL): Likewise.
10767         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10768         * include/string.h (__strnlen): Use libc_hidden_proto.
10769         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10770         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10771         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10772         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10773         (libc_hidden_def): Undefine and redefine.
10774         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10775         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10776         __GI_strnlen.
10777         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10778         libc_hidden_def.
10779         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10781         [BZ #18469]
10782         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10783         weak alias of __towlower.  Use libc_hidden_weak.
10784         (towupper): Rename to __towupper and define as weak alias of
10785         __towupper.  Use libc_hidden_weak.
10786         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10787         (__towupper): Likewise.
10788         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10789         __towlower instead of towlower.
10791 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10793         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10794         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10796 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10798         * sysdeps/aarch64/libm-test-ulps: Update.
10800 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10802         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10803         Define.
10804         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10805         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10806         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10807         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10808         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10809         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10810         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10812 2015-06-01  Martin Sebor  <msebor@redhat.com>
10814         [BZ #18116]
10815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10816         (__setcontext): Use extended four-operand version of mtsf whenever
10817         possible.
10818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10819         (__novec_swapcontext): Likewise.
10821 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10823         * benchtests/scripts/compare_bench.py: New file.
10824         * benchtests/scripts/import_bench.py (mean): New function.
10825         (split_list): Likewise.
10826         (do_for_all_timings): Likewise.
10827         (compress_timings): Likewise.
10829         * benchtests/scripts/import_bench.py: New file.
10830         * benchtests/scripts/validate_benchout.py: Import import_bench
10831         instead of jsonschema.
10832         (validate_bench): Remove function.
10833         (main): Use import_bench.
10835 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10837         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10838         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10840 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10844 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10846         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10847         set THREAD_SELF->tid to a magic value and futex-wake it.
10848         Pass its address to the thread_exit system call.
10849         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10850         bit is clear.
10851         * sysdeps/nacl/lowlevellock.h: New file.
10852         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10854         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10855         Add TIMEOUT to current time, don't subtract it.
10857 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10859         [BZ #2981]
10860         [BZ #18422]
10861         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10862         ($(objpfx)tst-audit2.out): Also depend on
10863         $(objpfx)tst-auditmod9b.so.
10864         * elf/tst-audit2.c: Include <dlfcn.h>.
10865         (calloc_called): New.
10866         (calloc): Allow to be called more than once.
10867         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10869 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10871         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10872         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10874 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10876         * stdlib/monetary.h: Fix comment.
10878 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
10880         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
10881         Avoid using variables in #defines that might cause shadowing.
10882         (INTERNAL_VSYSCALL_CALL): Likewise.
10884 2015-05-26  Roland McGrath  <roland@hack.frob.com>
10886         * sysdeps/nacl/lll_timedlock_wait.c: New file.
10888         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
10889         * nptl/lll_timedlock_wait.c: ... to this new file.
10890         * nptl/Makefile (libpthread-routines): Add it.
10891         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
10892         * nptl/lll_timedwait_tid.c: ... to this new file.
10893         * nptl/Makefile (libpthread-routines): Add it.
10894         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
10895         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
10896         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
10897         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
10898         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
10899         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
10900         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
10901         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
10902         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
10903         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
10905 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10907         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
10908         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10909         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10910         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
10911         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10912         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10913         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10914         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10915         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10916         * sysdeps/unix/sysv/linux/tile/sysdep.h
10917         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10918         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
10919         using vDSO syscall macro.
10921 2015-05-26  Andriy Rysin  <arysin@gmail.com>
10923         [BZ #17293]
10924         * uk_UA: Fix sorting order for Ukrainian locale
10926 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
10928         * stdlib/monetary.h: Fix comment.
10930 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10932         [BZ #18234]
10933         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
10934         st_mtim and st_ctim members.
10935         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
10936         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
10937         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
10938         (struct stat64): Likewise.
10939         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
10940         (struct stat64): Likewise.
10941         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
10942         (struct stat64): Likewise.
10944 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10946         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
10947         Define and include sysdep-vdso.h.
10948         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
10949         Likewise.
10950         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
10951         Likewise.
10952         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
10953         Define with VDSO_SYMBOL and use PTR_MANGLE.
10954         (__vdso_clock_gettime): Likewise.
10955         (__vdso_clock_getres): Likewise.
10956         (_libc_vdso_platform_setup): Likewise.
10957         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10958         Likewise.
10959         (_libc_vdso_platform_setup): Likewise.
10960         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
10961         Likewise.
10962         (__vdso_clock_gettime): Likewise.
10963         (__vdso_clock_getres): Likewise.
10964         (__vdso_get_tbfreq): Likewise.
10965         (__vdso_getcpu): Likewise.
10966         (__vdso_time): Likewise.
10967         (__vdso_sigtramp_rt64): Likewise.
10968         (__vdso_signtramp32): Likewise.
10969         (__vdso_sigtramp_rt32): Likewise.
10970         (_libc_vdso_platform_setup): Likewise.
10971         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
10972         Likewise.
10973         (__vdso_clock_gettime): Likewise.
10974         (__vdso_clock_getres): Likewise.
10975         (_libc_vdso_platform_setup): Likewise.
10976         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
10977         Likewise.
10978         (__vdso_clock_gettime): Likewise.
10979         (_libc_vdso_platform_setup): Likewise.
10980         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10981         Likewise.
10982         (__vdso_getcpu): Likewise.
10983         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
10984         Use VDSO_SYMBOL macro to define.
10985         (__vdso_clock_gettime): Likewise.
10986         (__vdso_clock_getres): Likewise.
10987         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
10988         Likewise.
10989         (__vdso_clock_gettime): Likewise.
10990         (__vdso_clock_getres): Likewise.
10991         (__vdso_get_tbfreq): Likewise.
10992         (__vdso_getcpu): Likewise.
10993         (__vdso_time): Likewise.
10994         (__vdso_sigtramp_rt64): Likewise.
10995         (__vdso_signtramp32): Likewise.
10996         (__vdso_sigtramp_rt32): Likewise.
10997         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
10998         Likewise.
10999         (__vdso_clock_gettime): Likewise.
11000         (__vdso_clock_getres): Likewise.
11001         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11002         Likewise.
11003         (__vdso_clock_gettime): Likewise.
11004         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11005         Likewise.
11006         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11007         macro.
11008         (INTERNAL_VSYSCALL): Likewise.
11009         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11010         Remove macro.
11011         (INTERNAL_VSYSCALL): Likewise.
11012         (INTERNAL_VSYSCALL_NCS): Likewise.
11013         (INTERNAL_VSYSCALL_CALL): New macro.
11014         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11015         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11016         Likewise.
11017         (INTERNAL_VSYSCALL): Likewise.
11018         (INTERNAL_VSYSCALL_NCS): Likewise.
11019         (INTERNAL_VSYSCALL_CALL): New macro.
11020         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11022         (INLINE_VSYSCALL): Remove macro.
11023         (INTERNAL_VSYSCALL): Remove macro.
11024         (INTERNAL_VSYSCALL_NCS): Remove macro.
11025         (INTERNAL_VSYSCALL_CALL): New macro.
11026         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11027         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11028         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11029         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11030         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11032         (INLINE_VSYSCALL): Remove macro.
11033         (INTERNAL_VSYSCALL): Likewise.
11034         (INTERNAL_VSYSCALL_NCS): Likewise.
11035         (INTERNAL_VSYSCALL_CALL): New macro.
11036         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11037         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11038         PTR_DEMANGLE on vDSO pointer.
11039         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11040         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11041         macro.
11042         (INTERNAL_SYSCALL): Likewise.
11043         (INTERNAL_VSYSCALL_NCS): Remove macro.
11044         (INTERNAL_VSYSCALL_CALL): New macro.
11045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11046         Remove macro.
11047         (INTERNAL_VSYSCALL): Likewise.
11048         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11049         sysdep-vdso.h instead of libc-vdso.h.
11050         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11051         definition.
11052         (INLINE_VSYSCALL): Likewise.
11053         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11054         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11055         definition.
11056         (INLINE_VSYSCALL): Likewise.
11057         (INTERNAL_VSYSCALL): Likewise.
11058         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11059         * sysdeps/unix/sysv/linux/timespec_get.c
11060         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11061         (timespec_get): Use ANSI prototype.
11062         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11063         and definition for Linux.
11065 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11067         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11068         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11070 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11072         [BZ #2981]
11073         [BZ #18410]
11074         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11075         for missing DT_PLTRELSZ.
11077 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11079         Remove obsolete aliases that broke 'locale -a'
11080         [BZ #18412]
11081         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11082         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11083         breaking some applications that use 'locale -a' output.
11084         Change the encoding of this file from Latin-1 to ASCII to avoid
11085         other potential problems with people grepping this file.
11087 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11089         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11090         -fasynchronous-unwind-tables.
11091         (CFLAGS-sendto.c): Likewise.
11092         (CFLAGS-sendmsg.c): Likewise.
11093         (CFLAGS-connect.c): Likewise.
11094         (CFLAGS-recvmsg.c): Likewise.
11095         (CFLAGS-recvfrom.c): Likewise.
11096         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11097         (SOCKETCALL): New macro: non-cancellable socketcall.
11098         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11099         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11100         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11101         * sysdeps/unix/sysv/linux/accept.c: New file.
11102         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11103         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11104         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11105         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11106         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11107         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11108         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11109         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11110         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11111         * sysdeps/unix/sysv/linux/send.c: Likewise.
11112         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11113         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11114         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11115         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11116         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11117         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11118         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11119         prototype.
11120         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11121         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11122         instead of __internal_xxx function.
11123         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11124         prototype.
11125         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11126         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11127         instead of __internal_xxx function.
11128         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11129         prototype.
11130         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11131         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11132         instead of __internal_xxx function.
11133         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11134         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11135         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11136         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11137         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11138         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11139         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11140         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11141         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11142         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11143         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11144         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11145         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11146         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11147         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11148         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11149         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11150         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11151         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11152         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11155         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11156         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11157         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11158         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11159         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11160         * sysdeps/unix/sysv/linux/send.S: Likewise.
11161         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11162         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11163         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11164         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11165         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11166         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11167         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11168         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11169         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11170         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11171         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11172         socketcall is implemented in GLIBC.
11174 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11176         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11177         (__fma): Ignore uninitialized warnings around packing.
11178         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11179         (__fmaf): Ignore uninitialized warnings around packing.
11180         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11181         (__fmal): Ignore uninitialized warnings around packing.
11183         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11184         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11185         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11186         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11188         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11189         switch statement into default case.
11190         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11192         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11193         a conditional in forcing "inexact".
11194         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11195         Likewise.
11197 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11199         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11200         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11201         for each INTERNAL_SYSCALL use.
11203 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11205         [BZ #438]
11206         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11207         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11208         variable.
11210         [BZ #18444]
11211         * string/basename.c (basename): Rename to __basename and define as
11212         weak alias of __basename.  Use libc_hidden_weak.
11213         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11214         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11215         __basename instead of basename.
11216         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11217         Remove variable.
11218         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11220 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11222         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11223         (_IO_JUMPS_FILE_plus): New.
11224         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11225         _IO_CAST_FIELD_ACCESS.
11226         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11227         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11228         * libio/freopen.c (freopen): Likewise.
11229         * libio/freopen64.c (freopen64): Likewise.
11230         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11231         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11232         * libio/iofwide.c (_IO_fwide): Likewise.
11233         * libio/memstream.c (open_memstream): Likewise.
11234         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11235         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11236         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11238 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11240         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11241         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11242         NADJ.
11243         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11244         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11245         NADJ.
11246         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11247         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11248         NADJ.
11250         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11251         (p == 4) case.
11253         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11254         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11255         Remove variable.
11256         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11257         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11258         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11260 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11262         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11263         Adjust jump table label generation macros.
11265 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11267         * stdio-common/vfprintf.c (vfprintf): Move local variables
11268         args_malloced, specs, specs_malloced, and the code after
11269         do_positional to the printf_positional function.
11270         (printf_positional): New function.
11272 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11274         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11275         function.
11276         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11277         STEP4_TABLE, process_arg): Move macro definitions
11278         out of the vfprintf function.  (Cosmetic change only.)
11280 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11282         * benchtests/Makefile (stdio-common-bench): Define.
11283         (benchset): Add stdio-common-bench.
11284         * sprintf-inputs: New file.
11285         * sprintf-source.c: New file.
11287 2015-05-21  Andreas Schwab  <schwab@suse.de>
11289         [BZ #13028]
11290         [BZ #17053]
11291         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11292         of struct __res_state.
11293         * resolv/res_send.c (__libc_res_nsend): Likewise.
11294         (get_nsaddr): New function.
11295         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11296         statp directly.
11298 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11300         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11301         -D_POSIX_C_SOURCE=199506L.
11303         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11305         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11306         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11307         Do not mention otherwise.
11308         [POSIX] (_XOPEN_VERSION): Do not expect.
11309         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11310         [POSIX] (_POSIX2_C_BIND): Likewise.
11311         [POSIX] (_POSIX2_VERSION): Likewise.
11312         [POSIX] (_XOPEN_XPG2): Likewise.
11313         [POSIX] (_XOPEN_XPG3): Likewise.
11314         [POSIX] (_XOPEN_XPG4): Likewise.
11315         [POSIX] (_XOPEN_UNIX): Likewise.
11316         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11317         [POSIX] (_POSIX_BARRIERS): Likewise.
11318         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11319         [POSIX] (_POSIX_CPUTIME): Likewise.
11320         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11321         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11322         [POSIX] (_POSIX_SHELL): Likewise.
11323         [POSIX] (_POSIX_SPAWN): Likewise.
11324         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11325         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11326         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11327         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11328         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11329         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11330         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11331         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11332         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11333         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11334         [POSIX] (_POSIX2_PBS): Likewise.
11335         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11336         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11337         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11338         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11339         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11340         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11341         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11342         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11343         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11344         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11345         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11346         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11347         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11348         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11349         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11350         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11351         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11352         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11353         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11354         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11355         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11356         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11357         [POSIX] (_SC_2_C_BIND): Likewise.
11358         [POSIX] (_SC_2_C_VERSION): Likewise.
11359         [POSIX] (_SC_2_PBS): Likewise.
11360         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11361         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11362         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11363         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11364         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11365         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11366         [POSIX] (_SC_BARRIERS): Likewise.
11367         [POSIX] (_SC_BASE): Likewise.
11368         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11369         [POSIX] (_SC_DEVICE_IO): Likewise.
11370         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11371         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11372         [POSIX] (_SC_FD_MGMT): Likewise.
11373         [POSIX] (_SC_FIFO): Likewise.
11374         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11375         [POSIX] (_SC_FILE_LOCKING): Likewise.
11376         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11377         [POSIX] (_SC_IOV_MAX): Likewise.
11378         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11379         [POSIX] (_SC_NETWORKING): Likewise.
11380         [POSIX] (_SC_PAGE_SIZE): Likewise.
11381         [POSIX] (_SC_PASS_MAX): Likewise.
11382         [POSIX] (_SC_PIPE): Likewise.
11383         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11384         [POSIX] (_SC_REGEXP): Likewise.
11385         [POSIX] (_SC_SHELL): Likewise.
11386         [POSIX] (_SC_SIGNALS): Likewise.
11387         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11388         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11389         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11390         [POSIX] (_SC_USER_GROUPS): Likewise.
11391         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11392         [POSIX] (_SC_STREAMS): Likewise.
11393         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11394         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11395         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11396         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11397         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11398         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11399         [POSIX] (_PC_FILESIZEBITS): Likewise.
11400         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11401         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11402         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11403         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11404         [POSIX] (uid_t): Likewise.
11405         [POSIX] (gid_t): Likewise.
11406         [POSIX] (off_t): Likewise.
11407         [POSIX] (pid_t): Likewise.
11408         [POSIX] (cuserid): Allow.
11409         (_SC_2_CHAR_TERM): Require constant.
11410         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11411         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11412         variable.
11414 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11416         * sysdeps/nacl/pthread-pids.h: New file.
11417         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11418         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11420         * nptl/pthread-pids.h: New file.
11421         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11422         * nptl/nptl-init.c: Include <pthread-pids.h>.
11423         (__pthread_initialize_minimal_internal):
11424         Call __pthread_initialize_pids instead of set_tid_address syscall.
11426         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11427         * sysdeps/posix/usleep.c: ... here.
11429 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11431         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11432         call_pselect6 object.
11433         [$(subdir) = io]: Remove call_sync_file_range object.
11434         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11435         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11436         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11437         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11439 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11441         * math/s_cproj.c: Add include "math_private.h".
11442         * math/s_cprojf.c: Likewise.
11443         * math/s_cprojl.c: Likewise.
11445 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11447         [BZ #18244]
11448         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11449         high mantissa bit when testing whether P is a NaN.
11450         * math/libm-test.inc (remainder_test_data): Add more tests.
11451         (remquo_test_data): Likewise.
11453         [BZ #18049]
11454         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11455         below -32, return the argument, with underflow if subnormal.
11456         * math/auto-libm-test-in: Add more tests of atanh.
11457         * math/auto-libm-test-out: Regenerated.
11459 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11461         [BZ #18434]
11462         * nptl/tst-sem15.c: New file.
11463         * nptl/Makefile (tests): Add it.
11464         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11465         s/<</>>/ to fix typo in EOVERFLOW check.
11466         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11468 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11470         * manual/strings.texi (envz_remove): Fix typo in safety
11471         annotations.
11473 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11474             Steve Ellcey  <sellcey@imgtec.com>
11476         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11477         in order to avoid strict alias warnings.
11478         (iruserok_af): Ditto for ra.
11480 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11482         [BZ #17581]
11483         * malloc/hooks.c
11484         (magicbyte): Convert to a function and avoid returning 0x01.
11485         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11486         (mem2chunk_check): Fix unsigned comparisons to zero.
11487         Hoist defs of sz and magic.
11489 2015-05-19  Richard Henderson  <rth@redhat.com>
11491         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11493         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11495 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11497         [BZ #16159]
11498         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11499         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11500         (reused_arena): Find a non-corrupt arena.
11501         (heap_trim): Pass arena to unlink.
11502         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11503         malloc_printerr.
11504         (top_check): Likewise.
11505         (free_check): Likewise.
11506         (realloc_check): Likewise.
11507         * malloc/malloc.c (malloc_printerr): Add arena argument.
11508         (unlink): Likewise.
11509         (munmap_chunk): Adjust.
11510         (ARENA_CORRUPTION_BIT): New macro.
11511         (arena_is_corrupt): Likewise.
11512         (set_arena_corrupt): Likewise.
11513         (sysmalloc): Use mmap if there are no usable arenas.
11514         (_int_malloc): Likewise.
11515         (__libc_malloc): Don't fail if arena_get returns NULL.
11516         (_mid_memalign): Likewise.
11517         (__libc_calloc): Likewise.
11518         (__libc_realloc): Adjust for additional argument to
11519         malloc_printerr.
11520         (_int_free): Likewise.
11521         (malloc_consolidate): Likewise.
11522         (_int_realloc): Likewise.
11523         (_int_memalign): Don't touch corrupt arenas.
11524         * malloc/tst-malloc-backtrace.c: New test case.
11526         * Makefile (summarize-tests): Fix return value on success.
11528         * manual/string.texi (Envz Functions): Add envz_remove.
11530 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11532         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11533         (invalid_name): New function, broken out of ...
11534         (__opendirat): ... here.  Call it.
11535         (need_isdir_precheck): New function, broken out of ...
11536         (__opendirat): ... here.  Call it.
11537         Use __fxstatat64, not __xstatat64.
11538         (opendir_oflags): New function, broken out of ...
11539         (__opendirat): ... here.  Call it.
11540         (opendir_tail): New function, broken out of ...
11541         (__opendirat): ... here.  Call it.
11542         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11543         opendir_tail, rather than punting to __opendirat.
11544         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11546 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11548         * .gitignore: Ignore generated *.pyc.
11550 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11552         * include/stdio.h: Define __need_wint_t.
11553         * test-skeleton.c: Avoid `for' loop initial declaration.
11554         * nptl/tst-initializers1.c: Use test-skeleton.c.
11556 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11558         [BZ #18418]
11559         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11561 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11563         [BZ #16352]
11564         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11565         (__ieee754_atanh): Force underflow exception for results with
11566         small absolute value.
11567         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11568         (__ieee754_atanhf): Force underflow exception for results with
11569         small absolute value.
11570         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11571         (__ieee754_atanh): Force underflow exception for results with
11572         small absolute value.
11573         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11574         (__ieee754_atanhf): Force underflow exception for results with
11575         small absolute value.
11576         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11577         (__ieee754_atanhl): Force underflow exception for results with
11578         small absolute value.
11579         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11580         (__ieee754_atanhl): Force underflow exception for results with
11581         small absolute value.
11582         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11583         (__ieee754_atanhl): Force underflow exception for results with
11584         small absolute value.
11585         * math/auto-libm-test-in: Do not allow missing underflow
11586         exceptions from atanh.
11587         * math/auto-libm-test-out: Regenerated.
11589         [BZ #18221]
11590         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11591         2**-28 as threshold for returning x or +/- 1/x.
11592         * math/auto-libm-test-in: Add more tests of tan.
11593         * math/auto-libm-test-out: Regenerated.
11595         [BZ #18220]
11596         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11597         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11598         * math/auto-libm-test-in: Add another test of lgamma.
11599         * math/auto-libm-test-out: Regenerated.
11601 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11603         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11604         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11605         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11606         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11607         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11608         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11609         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11610         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11611         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11612         (log1): Use fabs.  (my_log2): Use fabs.
11613         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11614         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11615         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11616         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11617         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11618         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11619         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11620         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11621         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11622         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11623         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11625 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11627         [BZ #18217]
11628         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11629         as threshold for returning 1 - x.
11630         * math/auto-libm-test-in: Add more tests of erfc.
11631         * math/auto-libm-test-out: Regenerated.
11633 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11635         [BZ #18196]
11636         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11637         threshold for large arguments.
11638         * math/auto-libm-test-in: Add another test of atan.
11639         * math/auto-libm-test-out: Regenerated.
11641         [BZ #16339]
11642         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11643         (__log1p): Force underflow exception for results with small
11644         absolute value.
11645         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11646         (__log1pf): Force underflow exception for results with small
11647         absolute value.
11648         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11649         (__log1p): Force underflow exception for results with small
11650         absolute value.
11651         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11652         (__log1pf): Force underflow exception for results with small
11653         absolute value.
11654         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11655         (__log1pl): Force underflow exception for results with small
11656         absolute value.
11657         * math/auto-libm-test-in: Do not allow missing underflow
11658         exceptions from log1p.
11659         * math/auto-libm-test-out: Regenerated.
11661 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11662             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11664         [BZ #16704]
11665         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11667 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11669         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11670         (libmvec): New variable.
11671         * configure.ac: Added option for mathvec build.
11672         * configure: Regenerated.
11673         * mathvec/Depend: New file.
11674         * mathvec/Makefile: New file.
11675         * shlib-versions: Added libmvec.
11676         * math/Makefile: Added rule for libm.so installation.
11678         * bits/math-vector.h: New file.
11679         * bits/libm-simd-decl-stubs.h: New header.
11680         * math/Makefile (headers): Added new header
11681         libm-simd-decl-stubs.h.
11682         * math/math.h (__MATHCALL_VEC): New macro.
11684         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11685         for conditions in testing functions.
11686         * math/Makefile: Added call of libm-have-vector-test.sh.
11687         * math/libm-test.inc (HAVE_VECTOR): New macros.
11689         * math/libm-test.inc: START refactored.
11690         * math/test-double.c (TEST_MATHVEC): Add define.
11691         * math/test-float.c: Likewise.
11692         * math/test-idouble.c: Likewise.
11693         * math/test-ifloat.c: Likewise.
11694         * math/test-ildoubl.c: Likewise.
11695         * math/test-ldouble.c: Likewise.
11696         * sysdeps/generic/math-tests-arch.h
11697         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11698         architecture check.
11700         * math/test-double.c (FUNC_TEST): New macro.
11701         * math/test-float.c: Likewise.
11702         * math/test-idouble.c: Likewise.
11703         * math/test-ifloat.c: Likewise.
11704         * math/test-ildoubl.c: Likewise.
11705         * math/test-ldouble.c: Likewise.
11706         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11708 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11710         * sysdeps/nacl/fdopendir.c: New file.
11712         * dirent/scandir-tail.c: New file.
11713         * dirent/scandir64-tail.c: New file.
11714         * dirent/Makefile (routines): Add them.
11715         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11716         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11717         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11718         [!SCANDIR] (SCANDIR_TAIL): New macro.
11719         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11720         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11721         (SCANDIRAT): Macro removed.
11722         (SCANDIR_TAIL): New macro.
11723         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11724         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11725         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11726         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11727         (READDIR): Macro removed.
11728         (SCANDIR_TAIL): New macro.
11729         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11730         (SCANDIR_TAIL): New macro.
11732         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11733         * dirent/scandir-cancel.c: ... to this new file.
11734         * dirent/Makefile (routines): Add it.
11735         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11736         * sysdeps/unix/sysv/linux/i386/scandir64.c
11737         (SKIP_SCANDIR_CANCEL): Macro removed.
11738         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11740         * dirent/tst-scandir.c: New file.
11741         * dirent/tst-scandir64.c: New file.
11742         * dirent/Makefile (tests): Add them.
11744 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11746         [BZ #18409]
11747         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11749 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11751         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11752         list.
11754 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11756         * benchtests/bench-strcoll.c: New benchmark.
11757         * benchtests/Makefile: Generate locales and run benchmark.
11758         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11759         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11760         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11761         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11762         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11763         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11764         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11765         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11766         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11767         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11768         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11769         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11770         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11771         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11772         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11773         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11774         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11775         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11776         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11777         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11778         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11779         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11780         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11781         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11783 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11785         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11786         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11788 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11790         * posix/uname-values.h: New file.
11791         * posix/uname.c: Include that instead of <config-name.h>.
11792         * sysdeps/nacl/uname-values.h: New file.
11793         * sysdeps/arm/nacl/uname-values.h: New file.
11795 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11797         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11798         splitting into fields.
11800 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11802         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11803         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11804         * locale/localeinfo.h: Add enum collation_encoding_type.
11805         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11806         * programs/ld-collate.c (collate_output): Add encoding type info.
11807         * string/strcoll_l.c (STRDIFF): New function.
11808         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11809         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11811 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11813         [BZ #18397]
11814         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11815         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11816         <fpu_control.h> instead of <math/fpu_control.c>.
11817         * sysdeps/mips/mips32/fpu/Makefile: New file.
11819 2015-05-11  Andreas Schwab  <schwab@suse.de>
11821         [BZ #18007]
11822         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11823         nss_endgrent.
11824         (_nss_compat_endgrent): Call nss_endgrent.
11825         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11826         nss_endpwent.
11827         (_nss_compat_endpwent): Call nss_endpwent.
11828         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11829         needent, call nss_setspent only if non-zero.
11830         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11831         (internal_endspent): Don't call nss_endspent.
11832         (_nss_compat_endspent): Call nss_endspent.
11833         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11834         Remove.  All uses removed.
11835         (internal_setent): Remove parameter stayopen, add parameter
11836         stream.  Use it instead of global variable.
11837         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11838         (internal_endent, internal_getent): Add parameter stream.  Use it
11839         instead of global variable.
11840         (CONCAT(_nss_files_end,ENTNAME))
11841         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11842         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11843         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11844         uses removed.
11845         (internal_setent, internal_endent): Add parameter stream.  Use it
11846         instead of global variable.
11847         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11848         stream.
11849         (get_next_alias): Add parameter stream.
11850         (_nss_files_getaliasent_r): Pass global stream.
11851         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11852         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11853         (_nss_files_gethostbyname4_r): Pass local stream to
11854         internal_setent, internal_getent and internal_endent.  Remove
11855         locking.
11857 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11859         * tst-strfmon1.c (tests): Update expected currency symbol.
11861 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11863         * sysdeps/nacl/gethostname.c: New file.
11865 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11867         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11868         and sinh.
11869         * math/auto-libm-test-out: Regenerated.
11870         * sysdeps/i386/fpu/libm-test-ulps: Update.
11871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11873 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11875         [BZ #18125]
11876         * stdlib/tst-setcontext3.c: New file.
11877         * stdlib/tst-setcontext3.sh: New file.
11878         * stdlib/Makefile (tests): Add tst-setcontext3.
11879         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
11880         to verify test program created output file.
11881         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
11882         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
11883         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
11884         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
11886 2015-05-06  Roland McGrath  <roland@hack.frob.com>
11888         [BZ #18383]
11889         * elf/tst-tlsalign.c: New file.
11890         * elf/tst-tlsalign-static.c: New file.
11891         * elf/tst-tlsalign-lib.c: New file.
11892         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
11893         (tests-static): Add tst-tlsalign-static.
11894         (modules-names): Add tst-tlsalign-lib.
11895         (test-xfail-tst-tlsalign): New variable.
11896         (test-xfail-tst-tlsalign-static): New variable.
11898         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
11899         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
11901 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
11903         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
11904         csqrt, erfc, sin and sincos.
11905         * math/auto-libm-test-out: Regenerated.
11906         * sysdeps/i386/fpu/libm-test-ulps: Update.
11907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11909 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11911         * sysdeps/aarch64/libm-test-ulps: Update.
11913 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
11915         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
11916         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
11917         * math/auto-libm-test-out: Regenerated.
11918         * sysdeps/i386/fpu/libm-test-ulps: Update.
11919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11921 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11923         [BZ #18265]
11924         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
11925         (wcsncpy): Likewise.
11927 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11929         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11930         Assume __ASSUME_FALLOCATE is always true.
11931         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11932         (__posix_fallocate64_l64): Likweise.
11933         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
11934         (posix_fallocate): Likewise.
11935         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
11936         (__posix_fallocate64_l64): Likewise.
11937         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11938         [!__ASSUME_FALLOCATE]: Add comment.
11940 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11942         * sysdeps/unix/sysv/linux/i386/Makefile
11943         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
11944         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
11945         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
11946         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11947         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11948         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
11949         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
11951 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
11953         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
11954         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
11955         tgamma.
11956         * math/auto-libm-test-out: Regenerated.
11957         * sysdeps/i386/fpu/libm-test-ulps: Update.
11958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11960 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11962         * math/auto-libm-test-in: Add more tests of tgamma.
11963         * math/auto-libm-test-out: Regenerated.
11964         * sysdeps/i386/fpu/libm-test-ulps: Update.
11965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11967         * math/auto-libm-test-in: Add more tests of tanh.
11968         * math/auto-libm-test-out: Regenerated.
11969         * sysdeps/i386/fpu/libm-test-ulps: Update.
11970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11972         * math/auto-libm-test-in: Add more tests of tan.
11973         * math/auto-libm-test-out: Regenerated.
11974         * sysdeps/i386/fpu/libm-test-ulps: Update.
11975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11977         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
11978         * math/auto-libm-test-out: Regenerated.
11979         * sysdeps/i386/fpu/libm-test-ulps: Update.
11980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11982         * math/auto-libm-test-in: Add another test of pow.
11983         * math/auto-libm-test-out: Regenerated.
11984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11986         * math/auto-libm-test-in: Add more tests of lgamma.
11987         * math/auto-libm-test-out: Regenerated.
11988         * sysdeps/i386/fpu/libm-test-ulps: Update.
11989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11991         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
11992         log1p.
11993         * math/auto-libm-test-out: Regenerated.
11994         * sysdeps/i386/fpu/libm-test-ulps: Update.
11995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11997 2015-05-01  Mark Wielaard  <mjw@redhat.com>
11999         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12000         Elf64_Chdr structs and ELFCOMPRESS constants.
12002 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12004         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12005         expm1.
12006         * math/auto-libm-test-out: Regenerated.
12007         * sysdeps/i386/fpu/libm-test-ulps: Update.
12008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12010         * math/auto-libm-test-in: Add more tests of erf and erfc.
12011         * math/auto-libm-test-out: Regenerated.
12012         * sysdeps/i386/fpu/libm-test-ulps: Update.
12013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12015 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12017         * config.h.in (HAVE_AARCH64_BE): Add.
12019 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12021         * math/auto-libm-test-in: Add more tests of csqrt.
12022         * math/auto-libm-test-out: Regenerated.
12023         * sysdeps/i386/fpu/libm-test-ulps: Update.
12024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12026         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12027         * math/auto-libm-test-out: Regenerated.
12028         * sysdeps/i386/fpu/libm-test-ulps: Update.
12029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12031         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12033 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12035         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12036         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12038         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12039         (euidaccess, eaccess): Define as weak aliases.
12041         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12042         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12043         but __suseconds_t is often 'long int' so some sources assume that
12044         type is being used (e.g. they use %ld to print tv_usec).
12046 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12048         [BZ #18007]
12049         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12050         (CVE-2014-8121)
12051         * nss/tst-nss-getpwent.c: New file.
12052         * nss/Makefile (tests): Add new test.
12054 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12056         [BZ #18346]
12057         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12058         exponents less than 48 as cases where high part of mantissa needs
12059         examining to determine whether argument is integral.
12060         * math/libm-test.inc (round_test_data): Add more tests.
12062 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12064         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12066 2015-04-27  David S. Miller  <davem@davemloft.net>
12068         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12069         __tls_get_addr.
12070         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12072 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12074         [BZ#18333]
12075         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12077 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12079         [BZ#18333]
12080         * time/tzset.c (parse_tzname): Return error on memory allocation
12081         failure.
12082         * test-skeleton.c (struct temp_name_list): Change type of name
12083         member to non-const.
12084         (add_temp_file): Create a copy of the file name.
12085         (delete_temp_files): Deallocate memory.
12086         (create_temp_file): Add comment.
12088 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12090         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12091         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12093 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12095         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12096         * sysdeps/arm/configure: Regenerated.
12098 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12100         [BZ #17715]
12101         * time/tzfile.c (__tzfile_read): Check for large values of
12102         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12103         * time/tzset.c (__tzstring_len): New function, based on the old
12104         __tzstring function.
12105         (__tzstring): Call __tzstring_len.
12106         (parse_tzname): New helper function extracted from
12107         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12108         the input string.
12109         (parse_offset): New helper function extracted from
12110         __tzset_parse_tz.  Replace switch with fallthrough with
12111         initialization before sscanf.
12112         (parse_rule): Likewise.
12113         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12114         new-style function definition.
12115         * timezone/Makefile (tests): Add tst-tzset.
12116         (tst-tzset.out): Dependencies on time zone files.
12117         (tst-tzset-ENV): Set TZDIR.
12118         (testdata/XT%): Copy crafted time zone files.
12119         * timezone/README: Mention crafted time zone files.
12120         * timezone/testdata/XT1, timezone/testdata/XT2,
12121         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12122         files.
12123         * timezone/tst-tzset.c: New test.
12125 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12127         * Makeconfig (+gccwarn): Remove -Winline.
12129 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12131         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12133 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12135         * NEWS: Mention sysconf() cache information support for s390.
12136         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12138 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12140         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12141         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12142         (__nearbyint): Likewise.
12143         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12144         (copysignl): Likewise.
12146 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12148         [BZ #18287]
12149         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12150         based on padding.  (CVE-2015-1781)
12152 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12154         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12155         libc-vdso.h.
12156         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12157         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12158         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12159         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12160         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12161         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12162         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12163         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12164         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12165         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12166         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12167         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12168         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12169         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12170         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12171         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12172         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12173         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12174         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12175         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12176         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12177         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12178         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12180 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12182         * stdlib/setenv.c (__add_to_environ):
12183         Dump core quickly if setenv (..., NULL, ...) is called.
12184         This time, do it the right way, and pacify GCC with a pragma.
12186 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12188         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12189         IMAP->l_prev cannot be null, and #if out the code for the contrary
12190         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12191         believe that NS (&_dl_ns[NSID]) could point outside the array.
12193         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12194         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12195         before using NSID as an index.
12197 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12199         [BZ #17825]
12200         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12201         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12202         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12204 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12206         Add preliminary port to Google Native Client on ARM.
12207         * abi-tags (.*-.*-nacl.*): New entry.
12208         * sysdeps/arm/nacl: New directory.
12209         * sysdeps/nacl: New directory.
12211 2015-04-16  David S. Miller  <davem@davemloft.net>
12213         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12214         lowlevellock-futex.h
12216 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12218         * sysdeps/tile/configure.ac: New file.
12219         * sysdeps/tile/configure: Regenerated.
12221 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12223         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12224         conditionals for weak_alias and libc_hidden_weak.
12225         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12226         libc_hidden_weak and weak_alias.
12227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12228         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12229         and weak_alias for static one.
12231 2015-04-15  David S. Miller  <davem@davemloft.net>
12233         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12235 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12237         [BZ #18206]
12238         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12239           Use signed comparision instead of substraction to avoid
12240           overflow bug.
12241         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12242           Take the sign of ret.
12243         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12244           Do not expect precise return values. Only the sign matters.
12245         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12246         * wcsmbs/test-wcsncmp.c: New File.
12247         * string/test-strncmp.c: Add wcsncmp support.
12249 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12251         [BZ #6792]
12252         * math/w_log1p.c: New file.
12253         * math/w_log1pf.c: Likewise.
12254         * math/w_log1pl.c: Likewise.
12255         * math/Makefile (libm-calls): Add w_log1p.
12256         * math/s_log1pl.c (log1pl): Remove weak_alias.
12257         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12258         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12259         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12260         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12261         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12262         [NO_LONG_DOUBLE] (log1pl): Likewise.
12263         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12264         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12265         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12266         (log1p): Remove long_double_symbol.
12267         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12268         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12269         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12270         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12271         remove weak_alias for corresponding log1p function.
12272         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12273         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12274         * sysdeps/ia64/fpu/w_log1p.c: New file.
12275         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12276         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12277         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12279 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12281         [BZ #18247]
12282         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12283         decimal exponent by 1.
12284         * stdlib/tst-strtod-round-data: Add more tests.
12285         * stdlib/tst-strtod-round.c (tests): Regenerated.
12287 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12289         * math/auto-libm-test-in: Add more tests of clog and clog10.
12290         * math/auto-libm-test-out: Regenerated.
12291         * sysdeps/i386/fpu/libm-test-ulps: Update.
12292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12294 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12296         * Makeconfig (module-cppflags): Exclude all .v.i files.
12297         (skip-module-cppflags): Variable removed.
12299         * configure.ac (libc_config_ok): Initialize before reading
12300         preconfigure scripts, not after.
12301         * configure: Regenerated.
12303         * test-skeleton.c (TIMEOUT): Move #define to top level.
12304         (main): Grok environment variable TEST_DIRECT.  If set, print
12305         test expectation details into that file and then behave as if
12306         given --direct.
12308 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12310         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12311         warning on 32-bit.
12313 2015-04-08  David S. Miller  <davem@davemloft.net>
12315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12317 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12319         * math/auto-libm-test-in: Add more tests of atanh.
12320         * math/auto-libm-test-out: Regenerated.
12321         * sysdeps/i386/fpu/libm-test-ulps: Update.
12322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12324         * math/auto-libm-test-in: Add more tests of atan.
12325         * math/auto-libm-test-out: Regenerated.
12326         * sysdeps/i386/fpu/libm-test-ulps: Update.
12327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12329 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12331         * elf/pldd.c (main): Rewrite to use struct
12332         scratch_buffer instead of extend_alloca.
12333         * elf/pldd-xx.c (find_maps): Likewise.
12334         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12335         <alloca.h>.
12336         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12337         scratch_buffer instead of extend_alloca.
12338         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12339         grp/compat-initgroups.c.
12340         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12341         Rewrite to use struct scratch_buffer instead of extend_alloca.
12342         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12343         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12345 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12347         * math/auto-libm-test-in: Add more tests of cbrt.
12348         * math/auto-libm-test-out: Regenerated.
12349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12351         * math/auto-libm-test-in: Add more tests of cabs.
12352         * math/auto-libm-test-out: Regenerated.
12353         * sysdeps/i386/fpu/libm-test-ulps: Update.
12354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12356         [BZ #18210]
12357         [BZ #18211]
12358         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12359         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12360         computations.
12361         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12362         clog10.
12363         * math/auto-libm-test-out: Regenerated.
12364         * sysdeps/i386/fpu/libm-test-ulps: Update.
12365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12367         [BZ #18197]
12368         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12369         (atan): Set FE_TONEAREST mode for internal computations.
12370         * math/auto-libm-test-in: Add more tests of atan.
12371         * math/auto-libm-test-out: Regenerated.
12373 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12375         [BZ #17930]
12376         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12378 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12380         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12382 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12384         * include/scratch_buffer.h: New file.
12385         * malloc/scratch_buffer_grow.c: Likewise.
12386         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12387         * malloc/scratch_buffer_set_array_size.c: Likewise.
12388         * malloc/tst-scratch_buffer.c: Likewise.
12389         * malloc/Makefile (routines): Add scratch_buffer_grow.
12390         (tests): Add test case.
12391         * malloc/Versions (GLIBC_PRIVATE): Export
12392         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12393         __libc_scratch_buffer_set_array_size.
12395 2015-04-06  Richard Henderson  <rth@redhat.com>
12397         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12398         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12400         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12401         unsigned int before printing.
12403 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12405         [BZ #17596]
12406         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12407         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12409 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12411         * include/libc-internal.h (libc_max_align_t): Define.
12413 2015-04-02  Andreas Schwab  <schwab@suse.de>
12415         [BZ #16850]
12416         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12418 2015-04-02  Mel Gorman  <mgorman@suse.de>
12420         [BZ #17195]
12421         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12422         as well as the main arena.
12424 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12426         [BZ #18185]
12427         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12428         sharing L2 cache to 2 for Silvermont/Knights Landing.
12430 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12432         [BZ #17711]
12433         * config.make.in (have-protected-data): New.
12434         * configure.ac: Check linker support for protected data symbol.
12435         * configure: Regenerated.
12436         * elf/Makefile (modules-names): Add tst-protected1moda and
12437         tst-protected1modb if $(have-protected-data) is yes.
12438         (tests): Add tst-protected1a and tst-protected1b if
12439         $(have-protected-data) is yes.
12440         ($(objpfx)tst-protected1a): New.
12441         ($(objpfx)tst-protected1b): Likewise.
12442         (tst-protected1modb.so-no-z-defs): Likewise.
12443         * elf/tst-protected1a.c: New file.
12444         * elf/tst-protected1b.c: Likewise.
12445         * elf/tst-protected1mod.h: Likewise.
12446         * elf/tst-protected1moda.c: Likewise.
12447         * elf/tst-protected1modb.c: Likewise.
12449 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12451         [BZ #17711]
12452         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12453         indicates it is called from do_lookup_x on relocation against
12454         protected data, skip the data definion in the executable from
12455         copy reloc.
12456         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12457         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12458         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12459         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12460         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12461         otherwise to 0.
12462         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12463         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12464         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12465         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12466         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12467         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12469 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12471         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12472         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12474 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12476         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12477         THREAD_SETMEM_NC.
12478         * sysdeps/x86_64/nptl/tls.h: Ditto.
12480 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12482         * dlfcn/tststatic.c (main): Converted to ...
12483         (do_test): ... this.
12484         (TEST_FUNCTION): New macro.
12485         Include test-skeleton.c.
12487 2015-03-26  Alan Modra  <amodra@gmail.com>
12489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12490         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12491         zero for undefined weak.
12492         (elf_machine_plt_conflict): Similarly.
12494 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12496         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12497         atanh.
12498         * math/auto-libm-test-out: Regenerated.
12499         * sysdeps/i386/fpu/libm-test-ulps: Update.
12500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12502         * math/auto-libm-test-in: Add another test of asin.
12503         * math/auto-libm-test-out: Regenerated.
12504         * sysdeps/i386/fpu/libm-test-ulps: Update.
12505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12507         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12508         Remove macro.
12509         (LLL_EBX_REG): Likewise.
12510         (LLL_ENTER_KERNEL): Likewise.
12512         * math/auto-libm-test-in: Add more tests of asin.
12513         * math/auto-libm-test-out: Regenerated.
12514         * sysdeps/i386/fpu/libm-test-ulps: Update.
12515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12517         [BZ #18138]
12518         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12519         libc_do_syscall_args): New structure.
12520         (INTERNAL_SYSCALL_MAIN_0): New macro.
12521         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12522         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12523         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12524         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12525         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12526         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12527         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12528         Replace conditional definitions by conditional definitions of ....
12529         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12530         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12531         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12532         (libpthread-sysdep_routines): Add libc-do-syscall.
12533         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12534         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12535         to __NR_futex not 240.
12537 2015-03-25  Alan Modra  <amodra@gmail.com>
12539         * NEWS: Advertise TLS optimization.
12540         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12541         (DT_PPC_NUM): Increment.
12542         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12543         (CHECK_STATIC_TLS): Use here.
12544         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12545         TLS descriptors.
12546         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12547         * sysdeps/powerpc/dl-tls.c: New file.
12548         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12549         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12550         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12551         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12556 2015-03-25  Alan Modra  <amodra@gmail.com>
12558         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12559         for overlapping .opd entries" to "support...".
12560         * sysdeps/powerpc/powerpc64/configure: Regenerate
12562 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12564         * math/auto-libm-test-in: Add more tests of acos.
12565         * math/auto-libm-test-out: Regenerated.
12566         * sysdeps/i386/fpu/libm-test-ulps: Update.
12567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12569         * math/auto-libm-test-in: Add more tests of expm1.
12570         * math/auto-libm-test-out: Regenerated.
12571         * sysdeps/i386/fpu/libm-test-ulps: Update.
12572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12574 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12576         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12577         * math/auto-libm-test-out: Regenerated.
12578         * sysdeps/i386/fpu/libm-test-ulps: Update.
12579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12581         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12584         * math/auto-libm-test-in: Add more tests of log2.
12585         * math/auto-libm-test-out: Regenerated.
12586         * sysdeps/i386/fpu/libm-test-ulps: Update.
12587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12589 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12591         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12592         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12593         _IO_IS_APPENDING bit in READ_WRITE instead.
12595 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12597         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12598         (__determine_cpumask_size): Replace extend_alloca with a
12599         variable-length array.  Do not treat res == 0 as an error.
12601 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12603         [BZ #18100]
12604         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12605         and integer overflow.
12606         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12607         (main): Add integer overflow tests.
12608         * manual/pattern.texi (Calling Wordexp): Document additional use
12609         for WRDE_SYNTAX.
12611 2015-03-23  Alan Modra  <amodra@gmail.com>
12613         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12614         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12615         and false branch of conditional.
12616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12617         Likewise.
12619 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12621         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12622         libc-modules.h
12623         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12624         unused declaration of _hurd_intr_rpc_msg_in_trap.
12625         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12626         defined instead of whether it is non-zero.
12627         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12628         input constraint instead of both input and output constraint.  Use ecx
12629         clobber instead of %ecx.
12630         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12631         mutex_unlock): Use a statement expression instead of an expression list.
12632         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12633         type to vm_size_t instead of vm_address_t.
12634         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12635         defined instead of whether it is non-zero.
12636         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12637         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12638         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12639         comparisons with mapaddr.
12640         * nscd/nscd-client.h: Include <time.h>.
12641         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12642         9th parameter to __vm_region instead of int.
12643         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12644         * scripts/check-local-headers.sh (exclude): Add device/,
12645         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12646         cthreads.h.
12648 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12650         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12651         to account for alignment padding.
12652         * sysdeps/arm/memmove.S: Likewise.
12654 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12656         * sysdeps/unix/sysv/linux/generic/README: New file.
12658 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12660         [BZ #18138]
12661         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12662         (futex_abstimed_wait)
12663         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12664         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12665         of lll_futex_timed_wait.
12667 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12669         [BZ #17542]
12670         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12672 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12674         [BZ #17090]
12675         [BZ #17620]
12676         [BZ #17621]
12677         [BZ #17628]
12678         * NEWS: Update.
12679         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12680         entries with Static TLS too.  Skip entries past the end of the
12681         allocated DTV, from Alan Modra.
12682         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12683         Static TLS DTV entry set up from...
12684         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12685         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12686         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12687         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12688         for Static TLS.
12689         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12690         that the slot we find is associated with the given map before
12691         using its generation count.
12692         * nptl_db/db_info.c: Include ldsodefs.h.
12693         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12694         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12695         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12696         (link_map::l_tls_offset): New struct field.
12697         (dtv_t::counter): Likewise.
12698         (rtld_global): New struct.
12699         (_rtld_global): New rtld variable.
12700         (dl_tls_dtv_slotinfo_list): New rtld global field.
12701         (dtv_slotinfo_list): New struct.
12702         (dtv_slotinfo): Likewise.
12703         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12704         (td_lookup): Rename to...
12705         (td_mod_lookup): ... this.  Use new mod parameter instead of
12706         LIBPTHREAD_SO.
12707         * nptl_db/td_thr_tlsbase.c: Include link.h.
12708         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12709         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12710         addresses even if the DTV is out of date or missing them.
12711         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12712         index zero-length arrays.
12713         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12714         (td_lookup): Make it a macro implemented in terms of...
12715         (td_mod_lookup): ... this declaration.
12716         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12717         (DB_MAIN_VARIABLE): Likewise.
12719 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12721         [BZ #18134]
12722         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12724 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12726         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12728 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12730         [BZ #18128]
12731         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12732         (atomic_add, atomic_increment_and_test)
12733         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12735 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12737         * stdlib/setenv.c (__add_to_environ):
12738         Dump core quickly if setenv (..., NULL, ...) is called.
12740 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12742         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12743         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12744         all the necessary asm magic in one place.
12745         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12746         using those.
12748 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12750         [BZ #14906]
12751         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12752         traced file mtime. Use consistent log message.
12753         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12754         (register_traced_file): Call install_watches. Always set mtime.
12755         (invalidate_cache): Iterate over all trace files. Call install_watches.
12756         (inotify_check_files): Don't inline. Handle watching parent
12757         directories and configuration file movement in and out.
12758         (handle_inotify_events): New function.
12759         (main_loop_poll): Call handle_inotify_events.
12760         (main_loop_epoll): Likewise.
12761         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12762         (struct traced_file): Use array of inotify fds. Add parent directory,
12763         and basename.
12764         (struct database_dyn): Remove unused file_mtime.
12765         (init_traced_file): New inline function.
12766         (define_traced_file): New macro.
12767         * nss/nss_db/db-init.c: Use define_traced_file.
12768         (_nss_db_init): Use init_traced_file.
12769         * nss/nss_files/files-init.c: Use define_traced_file.
12770         (_nss_files_init): Use init_traced_file.
12772 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12774         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12775         [_LIBC]: Do not include <stdlib.h>.
12776         [!_LIBC] (abort): Remove declaration.
12777         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12778         _FP_STATIC_ASSERT instead of conditionally calling abort.
12779         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12780         (_FP_EXTEND_CNAN): Likewise.
12781         (FP_TRUNC): Likewise.
12782         (__FP_CLZ): Likewise.
12783         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12785 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12787         * manual/string.texi (XPG basename): Fix prototype.
12789 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12791         [BZ #18080]
12792         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12793         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12794         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12795         (__setcontext): Likewise.
12796         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12797         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12798         Call rt_sigprocmask syscall one time to set new signal mask
12799         and retrieve the current signal mask instead of two calls.
12800         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12801         (__swapcontext): Likewise.
12802         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12803         * stdlib/tst-setcontext2.c: New file.
12805 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12807         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12809 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12811         [BZ #18093]
12812         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12813         the wrong size.
12815 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12817         [BZ #18043]
12818         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12820 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12822         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12823         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12824         Remove define.
12825         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12826         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12827         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12828         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12829         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12830         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12831         define.
12832         * nptl_db/td_symbol_list.c (td_lookup): Remove
12833         HAVE_ASM_GLOBAL_DOT_NAME code.
12834         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12835         HAVE_ASM_GLOBAL_DOT_NAME check.
12836         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12837         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12838         (DOT_LABEL): Remove define.
12839         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12840         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12841         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12842         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12843         (__TLS_GET_ADDR): Likewise.
12844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12845         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12847 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12849         [BZ #18111]
12850         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12851         (_FPU_SETCW): Initialize cw from fpsr before storing.
12852         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12853         (fesetexceptflag): Rewrite using fpu_control.h.
12854         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12856 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12858         [BZ #18110]
12859         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12860         asms.
12861         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12863 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12865         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12866         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12867         abort.
12868         (_FP_FMA): Likewise.
12869         (_FP_DIV): Likewise.
12871 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12873         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12874         with 0 in that case.
12875         * Makefile (summarize-tests): New canned sequence, factored out of
12876         commands for targets tests and xtests.  Display summary lines that
12877         don't start with PASS: or XFAIL: rather than ones that do start with
12878         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
12879         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
12880         do start with ERROR: or FAIL:.
12881         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
12882         (except for [$(build-shared) = yes]).
12883         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
12884         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
12885         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
12886         * nptl/Makefile: Revert 2015-03-04 changes.
12887         [$(CXX) empty] (tests-unsupported): New variable.
12888         * debug/Makefile: Likewise.
12890         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
12891         gnulib file.  Replace __attribute with __attribute__ throughout.
12893 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
12895         * sysdeps/hppa/fpu/libm-test-ulps: Update.
12897 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12899         [BZ #18104]
12900         * math/auto-libm-test-in: Add another test of pow.
12901         * math/auto-libm-test-out: Regenerated.
12903 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12905         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
12906         $(config-cflags-nofma).
12908 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12910         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
12911         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
12912         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
12913         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
12914         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
12915         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
12916         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
12917         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
12918         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
12919         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
12920         Add comment on closing #endif.
12922 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12924         * posix/wordexp.c (CHAR_IN_SET): New macro.
12925         (parse_param): Use it.
12927 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12929         * sysdeps/powerpc/fpu/libm-test-ulps: update.
12931 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12933         [BZ #18043]
12934         * posix/wordexp.c (parse_param): Fix buffer overflow.
12935         * posix/wordexp-test.c (test_case): Add test case.
12937 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12939         [BZ #18042]
12940         * posix/wordexp.c (parse_backtick): Fix off-by-one.
12941         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
12943 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12945         [BZ #18043]
12946         * posix/wordexp-test.c (test_case): Add test for BZ #18043
12947         (do_bz18043): Delete.
12948         (at_page_end): New.
12949         (testit): Refactor to have words at the edge of unreadable page.
12951 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12953         [BZ #16734]
12954         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
12955         Cleanup read-only streams as well.
12956         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
12958 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12960         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
12961         <bits/libc-lockP.h>
12963 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
12965         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
12966         on [__KERNEL__].
12967         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
12968         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
12969         * soft-fp/op-common.h (_FP_DECL): Likewise.
12971 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12973         * elf/ifuncdep2.c (global): Replace
12974         __attribute__((visibility("protected"))) with
12975         asm (".protected global").
12976         * elf/ifuncmod1.c (global): Likewise.
12977         * elf/ifuncmod5.c (global): Likewise.
12979 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
12981         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
12982         <asm/sfp-machine.h> instead of <sfp-machine.h>.
12984 2015-03-06  Roland McGrath  <roland@hack.frob.com>
12986         * manual/install.texi (Configuring and compiling):
12987         Document test-wrapper-env-only.
12988         * INSTALL: Regenerated.
12990 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12992         [BZ #18043]
12993         * posix/wordexp.c (parse_param): Fix buffer overflow.
12994         * posix/wordexp-test.c (do_bz18043): Add test case.
12996 2015-03-06  Vincent Bernat  <vincent@bernat.im>
12998         * time/tst-strptime2.c (do_test): Ensure failing tests are
12999         reported correctly.
13000         * time/tst-strptime3.c (do_test): Likewise.
13002 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13004         Fix aio_error thread-safety.
13005         * sysdeps/pthread/aio_error.c: New file
13006         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13007         synchronization.
13009 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13011         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13012         (group_number, vfprintf): Use it.
13013         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13014         (JUMP, REF): Use it.
13015         (WORK_BUFFER_SIZE): New enum constant.
13016         (process_arg, vfprintf): Use it.
13018 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13020         * manual/errno.texi (Error Messages): Complete example function
13021         by adding missing #define.
13022         (program_invocation_name): Add statement indicating GNU
13023         extension and reference which header file declares the variable.
13024         (program_invocation_short_name): Likewise.
13026 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13028         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13029         compatibility note.
13031 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13033         * Makeconfig (test-wrapper-env-only): New variable.
13034         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13035         then use that with $(test-wrapper-env-only) rather than using
13036         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13038 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13040         [BZ #18082]
13041         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13042         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13043         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13044         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13045         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13046         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13047         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13048         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13049         Likewise.
13050         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13051         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13052         Likewise.
13053         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13054         Likewise.
13055         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13056         Likewise.
13057         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13058         Likewise.
13059         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13060         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13061         Likewise.
13062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13063         Likewise.
13064         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13065         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13067 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13069         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13070         (ETH_ALEN): New macro.
13071         (struct ether_addr): Use it for length of ether_addr_octet.
13073         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13074         (setdb): Don't call __nss_configure_lookup for "rpc".
13075         (do_test): Don't call test_rpc.
13076         (output_rpcent, test_rpc): Functions moved ...
13077         * sunrpc/test-rpcent.c: ... to this new file.
13078         * sunrpc/Makefile (tests): Add it.
13080         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13081         __xpg_sigpause.
13082         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13083         * nptl/tst-signal6.c: Likewise.
13084         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13085         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13087         * configure.ac (libc_cv_cxx_link_ok): New check.
13088         Reset CXX to empty if it fails to link.
13089         * configure: Regenerated.
13090         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13091         bug-atexit3-lib only if $(CXX) is nonempty.
13092         * nptl/Makefile (tests): Likewise for tst-cancel24.
13093         (tests, tests-static): Likewise for tst-cancel24-static.
13094         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13095         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13096         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13097         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13099 2015-03-04  Andreas Schwab  <schwab@suse.de>
13101         [BZ #17631]
13102         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13103         for non-GCC compilers.
13104         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13105         Likewise.
13107 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13109         [BZ #17776]
13110         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13111         integer before bitwise and assembly operations.
13112         (feclearexcept): Likewise.
13113         * math/test-fenvinline.c: New file.
13114         * math/Makefile: Add test-fenvinline test.
13116 2015-03-03  Alan Modra  <amodra@gmail.com>
13118         [BZ #16512]
13119         * scripts/localplt.awk: Strip off symbol version.
13120         * NEWS: Mention bug fix.
13122 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13124         * sysdeps/pthread/timer_routines.c
13125         (timer_free_list, thread_free_list, thread_active_list): Make static.
13127 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13129         [BZ #17779]
13130         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13131         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13132         Undefine.
13133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13134         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13135         Likewise.
13136         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13137         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13138         Likewise.
13140 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13142         [BZ #18036]
13143         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13144         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13146 2015-03-02  Andreas Schwab  <schwab@suse.de>
13148         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13149         variable name.
13151 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13153         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13154         Return error status.
13156 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13158         [BZ #15969]
13159         * locale/findlocale.c (_nl_find_locale): Introduce const
13160         version of loc_name and drop unsafe type casts.
13162 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13164         * dlfcn/tststatic2.c (main): Converted to ...
13165         (do_test): ... this.
13166         (TEST_FUNCTION): New macro.
13167         Include test-skeleton.c.
13169 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13171         [BZ #17711]
13172         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13173         (tests-pie): Add vismain.
13174         (CFLAGS-vismain.c): New.
13175         * elf/vismain.c: Add comments for PIE requirement.
13177 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13179         [BZ #18046]
13180         [BZ #18047]
13181         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13182         0x1p-56L as threshold for just returning the argument.
13183         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13184         0x1p-32L as threshold for just returning the argument.
13185         * math/auto-libm-test-in: Add more tests of atanh.
13186         * math/auto-libm-test-out: Regenerated.
13187         * sysdeps/i386/fpu/libm-test-ulps: Update.
13188         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13190 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13192         * string/bcopy.c (bcopy): Call memmove for performance.
13194 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13196         * string/bzero.c (__bzero): Call memset for performance.
13198 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13200         [BZ #18068]
13201         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13202         to 00100000.
13204 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13206         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13208 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13210         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13211         (__kernel_standard): Use CSTR macro when setting exc.name.
13212         * sysdeps/ieee754/Makefile [$(subdir) = math]
13213         (CFLAGS-k_standard.c): Remove variable.
13215         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13216         setting p and q from "else if" to "else".
13217         (qzero): Likewise.
13218         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13219         (qone): Likewise.
13220         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13221         (qzerof): Likewise.
13222         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13223         (qonef): Likewise.
13224         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13225         (qzero): Likewise.
13226         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13227         (qone): Likewise.
13229         [BZ #18038]
13230         [BZ #18039]
13231         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13232         return pi/2 for arguments below 0x1p-113L.
13233         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13234         return pi/2 for arguments below 0x1p-106L.
13235         * math/auto-libm-test-in: Add more tests of acos.
13236         * math/auto-libm-test-out: Regenerated.
13238         [BZ #16351]
13239         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13240         (MO): New macro.
13241         (__ieee754_asin): Force underflow exception for results with small
13242         absolute value.
13243         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13244         (MO): New macro.
13245         (__ieee754_asinf): Force underflow exception for results with
13246         small absolute value.
13247         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13248         (__ieee754_asin): Force underflow exception for results with small
13249         absolute value.
13250         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13251         (__ieee754_asinf): Force underflow exception for results with
13252         small absolute value.
13253         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13254         (__ieee754_asinl): Force underflow exception for results with
13255         small absolute value.
13256         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13257         (__ieee754_asinl): Force underflow exception for results with
13258         small absolute value.
13259         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13260         (__ieee754_asinl): Force underflow exception for results with
13261         small absolute value.
13262         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13263         Include <math.h>.
13264         * math/auto-libm-test-in: Do not mark underflow exceptions as
13265         possibly missing for bug 16351.
13266         * math/auto-libm-test-out: Regenerated.
13268         [BZ #18030]
13269         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13270         of power of 2 down when low part has opposite sign.
13271         * math/libm-test.inc (logb_test_data): Add more tests.
13273 2015-02-26  Andreas Schwab  <schwab@suse.de>
13275         [BZ #18032]
13276         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13277         over collating symbol inside a bracket expression.  Minor cleanup.
13278         * posix/tst-fnmatch3.c (do_test): Add test case.
13280 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13282         [BZ #18029]
13283         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13284         Adjust exponent of power of 2 down when low part has opposite
13285         sign.
13286         * math/libm-test.inc (ilogb_test_data): Add more tests.
13288 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13290         [BZ #15969]
13291         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13292         the previous change.
13294         [BZ #15969]
13295         * locale/findlocale.c (_nl_find_locale): Retry archive search
13296         after alias expansion.
13298 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13300         * iconv/tst-iconv3.c (main): Converted to ...
13301         (do_test): ... this.
13302         (TEST_FUNCTION): New macro.
13303         Include test-skeleton.c.
13305         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13306         (convert): Make function static.
13307         (test_unalign): Likewise.  Add const to argument pointee types.
13308         (main): Replace with static function do_test.
13309         Print "Succeeded." only if RET is zero.
13310         (TEST_FUNCTION): New macro.
13311         Include test-skeleton.c.
13313         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13314         returns a null pointer.
13316 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13318         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13319         to __memcpy_ppc only for static builds.
13321 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13323         [BZ #18020]
13324         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13325         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13326         * math/auto-libm-test-in: Add more tests of asinh.
13327         * math/auto-libm-test-out: Regenerated.
13328         * sysdeps/i386/fpu/libm-test-ulps: Update.
13329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13331 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13333         [BZ #15850]
13334         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13335         and ip6_mtuinfo definitions here.
13336         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13337         in this define too.  Update comment.
13339 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13341         * elf/sprof.c (load_shobj): Tweak error message to match others.
13343 2015-02-24  Kevin Easton  <kevin@guarana.org>
13345         [BZ #16145] (partial fix)
13346         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13347         to reduce lock contention.
13349 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13351         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13352         (struct timex): Update time comment.
13353         (ADJ_SETOFFSET): Define.
13355 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13357         [BZ #18019]
13358         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13359         2**56 not 2**28 as threshold for log (2x) formula.
13360         * math/auto-libm-test-in: Add more tests of acosh.
13361         * math/auto-libm-test-out: Regenerated.
13362         * sysdeps/i386/fpu/libm-test-ulps: Update.
13363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13365 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13367         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13368         parenthesis around the buf assignment.
13369         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13371 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13373         [BZ #16783]
13374         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13375         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13376         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13377         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13378         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13379         * math/libm-test.inc (scalb_test_data): Add more tests.
13381 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13383         [BZ #17916]
13384         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13385         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13387 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13389         [BZ #17523]
13390         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13391         * io/bits/fcntl2.h (open): Use it.
13392         (openat): Likewise.
13393         * io/open.c (__libc_open): Likewise.
13394         * io/open64.c (__libc_open64): Likewise.
13395         * io/open64_2.c (__open64_2): Likewise.
13396         * io/open_2.c (__open_2): Likewise.
13397         * io/openat.c (__openat): Likewise.
13398         * io/openat64.c (__openat64): Likewise.
13399         * io/openat64_2.c (__openat64_2): Likewise.
13400         * io/openat_2.c (__openat_2): Likewise.
13401         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13402         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13403         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13404         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13405         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13406         (__open_nocancel): Likewise.
13407         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13408         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13409         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13411 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13413         [BZ #14841]
13414         * resolv/gethnamaddr.c (getanswer): Skip logging if
13415         RES_USE_DNSSEC is set.
13416         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13418 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13420         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13422 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13424         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13425         201304L, for Unicode 7.
13427 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13429         [BZ #17836]
13430         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13431         shared library.  Add gmon-start.os otherwise.
13432         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13433         $(objpfx)gmon-start.os if builing shared library.
13434         ($(objpfx)g$(static-start-installed-name)): Likewise.
13436 2015-02-23  Andreas Schwab  <schwab@suse.de>
13438         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13440 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13442         [BZ #17269]
13443         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13444         (enlarge_userbuf): Likewise.
13446 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13448         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13449         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13450         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13451         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13453 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13455         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13456         expression inside statement expression.
13458 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13460         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13461         <sysdeps/nptl/lowlevellock.h> and remove macros and
13462         functions that are now defined there.
13463         (SYS_futex): Remove.
13464         (lll_compare_and_swap): Remove.
13465         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13467 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13469         [BZ #17999]
13470         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13471         instead of scandirat.
13472         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13473         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13474         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13475         __scandirat.
13476         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13477         (__scandirat): Declare.  Use libc_hidden_proto.
13478         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13479         Remove variable.
13480         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13482 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13484         [BZ #15319]
13485         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13486         (MO): New macro.
13487         (__ieee754_atan2): For results with small absolute value, force
13488         underflow exception and remove excess range and precision from
13489         return value.
13490         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13491         (MO): New macro.
13492         (__ieee754_atan2f): For results with small absolute value, force
13493         underflow exception and remove excess range and precision from
13494         return value.
13495         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13496         (MO): New macro.
13497         (__atan): For results with small absolute value, force underflow
13498         exception and remove excess range and precision from return value.
13499         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13500         (MO): New macro.
13501         (__atanf): For results with small absolute value, force underflow
13502         exception and remove excess range and precision from return value.
13503         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13504         <math.h>.
13505         (__ieee754_atan2): Force underflow exception for results with
13506         small absolute value.
13507         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13508         <math_private.h>.
13509         (atan): Force underflow exception for results with small absolute
13510         value.
13511         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13512         (__atanf): Force underflow exception for results with small
13513         absolute value.
13514         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13515         <math.h>.
13516         (__atanl): Force underflow exception for results with small
13517         absolute value.
13518         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13519         (__atanl): Force underflow exception for results with small
13520         absolute value.
13521         * sysdeps/x86/fpu/bits/mathinline.h
13522         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13523         (__ieee754_atan2): Only define inline for long double.
13524         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13525         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13526         * math/auto-libm-test-in: Do not mark underflow exceptions as
13527         possibly missing for bug 15319.  Add more tests of atan2.
13528         * math/auto-libm-test-out: Regenerated.
13529         * math/libm-test.inc (casin_test_data): Do not mark underflow
13530         exceptions as possibly missing for bug 15319.
13531         (casinh_test_data): Likewise.
13532         * sysdeps/i386/fpu/libm-test-ulps: Update.
13534 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13536         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13537         * sysdeps/mips/bits/endian.h: Fix comments.
13539 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13541         [BZ #17996]
13542         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13543         (hdestroy_r): Likewise.
13544         (hsearch_r): Likewise.
13545         (__hcreate_r): Declare and use libc_hidden_proto.
13546         (__hdestroy_r): Likewise.
13547         (__hsearch_r): Likewise.
13548         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13549         (hcreate): Call __hcreate_r instead of hcreate_r.
13550         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13551         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13552         as weak alias of __hcreate_r.
13553         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13554         __hdestroy_r.
13555         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13556         __hsearch_r.
13557         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13558         Remove variable.
13559         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13560         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13561         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13562         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13564 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13566         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13567         arena_lock into a single arena_get.
13569 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13571         * dl-reloc.c: Inlucde libc-internal.h.
13572         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13573         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13574         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13575         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13576         (grow_heap): Likewise.
13577         * malloc/malloc.c: Include libc-internal.h.
13578         (do_check_malloc): Call powerof2.
13579         (sysmalloc): Use pagesize. Call ALIGN_UP.
13580         (systrim): Use pagesize.
13581         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13582         (__libc_valloc): Use pagesize.
13583         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13585 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13587         [BZ #17991]
13588         * include/sys/resource.h (__getrlimit64): Declare.  Use
13589         libc_hidden_proto.
13590         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13591         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13592         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13593         getrlimit64.
13594         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13595         __getrlimit64.
13596         [!getrlimit64] (getrlimit64): Define as weak alias of
13597         __getrlimit64.  Use libc_hidden_weak.
13598         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13599         using __getrlimit64 not __new_getrlimit64.
13600         (__GI_getrlimit64): Likewise.
13601         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13602         Likewise.
13603         (__GI_getrlimit64): Likewise.
13604         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13606         (getrlimit): Add __getrlimit64 alias.
13607         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13608         Likewise.
13609         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13610         Remove variable.
13611         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13612         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13614 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13616         * libio/fileops.c: Add missing sys/mman.h
13617         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13619 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13621         * manual/math.texi (Errors in Math Functions): Clarify goals
13622         regarding inexact and underflow exceptions.
13624 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13626         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13627         * sysdeps/mips/memset.S: Ditto.
13629 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13631         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13633 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13635         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13636         (__v1longjmp): Remove versioned symbol.
13637         (__v1siglongjmp): Remove alias and versioned symbol.
13638         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13639         (__v2siglongjmp): Likewise.
13641 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13643         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13645 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13647         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13649 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13651         [BZ #17987]
13652         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13653         zero result does not depend on the sign resulting from
13654         subtraction.
13655         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13656         Likewise.
13657         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13658         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13659         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13660         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13661         * math/libm-test.inc (remquo_test_data): Add more tests.
13663 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13665         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13666         Problem reported by J William Piggott.
13668 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13670         [BZ #17978]
13671         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13672         products 4 * y and 2 * y where those would overflow.
13673         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13674         Likewise.
13675         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13676         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13677         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13678         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13679         * math/libm-test.inc (remquo_test_data): Add more tests.
13681         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13683         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13684         [defined _COMPILING_NEWLIB].
13685         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13686         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13688         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13689         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13691 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13693         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13694         acquired.
13696 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13698         [BZ #17792]
13699         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13700         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13701         HOST_STACK_END_ADDR): Likewise.
13703 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13705         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13706         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13707         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13709 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13711         * sysdeps/generic/c++-types.data: New file.
13712         * sysdeps/generic/ld.abilist: New file.
13713         * sysdeps/generic/libBrokenLocale.abilist: New file.
13714         * sysdeps/generic/libanl.abilist: New file.
13715         * sysdeps/generic/libc.abilist: New file.
13716         * sysdeps/generic/libcrypt.abilist: New file.
13717         * sysdeps/generic/libdl.abilist: New file.
13718         * sysdeps/generic/libm.abilist: New file.
13719         * sysdeps/generic/libpthread.abilist: New file.
13720         * sysdeps/generic/libresolv.abilist: New file.
13721         * sysdeps/generic/librt.abilist: New file.
13723 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13725         [BZ #17569]
13726         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13727         Compute absolute value of x as modified by fmod, not original
13728         value of x.
13729         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13730         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13731         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13732         RUN_TEST_ffI_f1_mod8.
13733         (remquo_test_data): Add more tests.
13735 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13737         * sysdeps/init_array/pt-crti.S: New file.
13739 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13741         [BZ #17967]
13742         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13743         __builtin_fmaf instead of relying on contraction of a * b + c.
13745 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13747         [BZ #17969]
13748         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13749         node.
13751 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13753         [BZ #17964]
13754         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13755         __builtin_fma instead of relying on contraction of a * b + c.
13757 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13759         * Makeconfig (ASFLAGS): Add -Werror=undef.
13760         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13761         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13762         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13764         * Makeconfig (after-link): New variable.
13765         (+link-pie, +link-pie-tests): Use it.
13766         (+link-static, +link-static-tests): Likewise.
13767         (+link, +link-tests): Likewise.
13768         * Makerules (build-module, build-module-asneeded): Likewise.
13769         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13770         Likewise.
13771         * elf/Makefile ($(objpfx)ld.so): Likewise.
13773 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13775         [BZ #17965]
13776         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13777         both struct timeval and struct timespec.
13779 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13781         [BZ #16560]
13782         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13783         and redefine.
13784         (__ieee754_exp2l): Do not multiply small fractional parts by
13785         M_LN2l.
13786         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13787         small argument.
13788         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13789         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13790         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13791         * math/auto-libm-test-in: Add more tests of exp2.
13792         * math/auto-libm-test-out: Regenerated.
13794 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13796         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13797         unaligned path.
13799 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13801         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13802         little endian.
13804 2015-02-12  Andreas Schwab  <schwab@suse.de>
13806         [BZ #15790]
13807         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13808         Filter out elision flags from value returned in kind.
13809         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13810         * nptl/tst-pthread-mutexattr.c: New file.
13812 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13814         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13815         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13816         into gnu-gnu, and update comment to refer to abi-tags.
13818 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13820         [BZ #15467]
13821         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13822         (__sincos): Set errno to EDOM for infinite argument.
13823         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13824         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13825         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13826         (__sincosl): Set errno to EDOM for infinite argument.
13827         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13828         (__sincosl): Set errno to EDOM for infinite argument.
13829         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13830         (__sincosl): Set errno to EDOM for infinite argument.
13831         * math/libm-test.inc (sincos_test_data): Test errno setting.
13833 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13835         * string/strxfrm_l.c: Remove #define STRCMP.
13836         * string/strcoll_l.c: Remove #define STRLEN.
13837         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13838         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13840 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13842         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13843         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13844         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13845         * sysdeps/mips/mips64/Makefile: ... here.
13846         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13847         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13848         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13849         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13850         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13851         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13852         * sysdeps/mips/mips64/n64/Implies: Likewise.
13854 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13856         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13857         <sys/time.h>, <string.h>, and <errno.h>.
13858         (dest_offset, dest_address, value, zero): Remove unused variables.
13859         (ldouble): Remove typedef.
13860         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13861         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13862         1).  Fix code style.
13863         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13864         (check): Function removed.
13865         (CHECK): New macro.
13866         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13867         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13868         Don't call set_sigaction_FP and remove_sigaction_FP here.
13869         (ldouble_test): Just use 'long double' as macro argument, no need for
13870         the 'ldouble' typedef.
13871         (do_test): Set up SIGFPE handler at start, using plain signal rather
13872         than sigaction.  Fix code style.
13874 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13876         [BZ #17949]
13877         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13878         jump label.
13880 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13882         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
13883         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13885         * sysdeps/powerpc/configure.ac: Remove file.
13886         * sysdeps/powerpc/configure: Likewise.
13888         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13889         [sysdep_routines]: Remove wordcopy-power6 object.
13890         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13891         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
13892         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
13893         (__memmove_ppc32): Likewise.
13894         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
13895         file.
13896         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
13897         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
13898         Remove preprocessor.
13900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13901         [sysdep_routines]: Remove wide chars objects.
13902         [wcsmbs]: New rule for wide char objects.
13904         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13905         Remove wordcopy-power6 obejct.
13906         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
13907         Use local call for wordcopy and memcpy symbols.
13908         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
13909         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
13910         implementation for loader.
13911         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
13913         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13914         Remove wordcopy-power7 object.
13915         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
13916         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
13917         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
13918         (_wordcopy_fwd_dest_aligned): Likewise.
13919         (_wordcopy_bwd_aligned): Likewise.
13920         (_wordcopy_bwd_dest_aligned): Likewise.
13922         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
13923         Rewrite to call __memmove_ppc instead of include default
13924         implementation.
13926         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13927         Remove wide chars objects.
13928         [wcsmbs]: New rule for wide char objects.
13930 2015-02-09  Andreas Schwab  <schwab@suse.de>
13932         [BZ #17912]
13933         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13934         in terms of __O_DIRECTORY.
13936 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13938         * time/getdate.c: Include <stdbool.h>.
13939         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
13940         call PTR_MANGLE.
13941         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
13942         PTR_DEMANGLE.
13944 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
13946         Add ersatz _Static_assert on older C hosts
13947         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
13948         pre-C11 C platform that is not known to support _Static_assert.
13950 2015-02-07  Richard Braun  <rbraun@sceen.net>
13952         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
13953         sigstate.
13954         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
13956 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13958         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
13959         priority against unexistent AIO_PRIO_DELTA_MAX.
13960         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
13961         instead of int.
13962         * misc/fchflags.c (fchflags): Likewise.
13963         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
13964         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
13965         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
13966         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
13967         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
13968         Declare macros.
13969         [__USE_MISC] (chflags, fchflags): Declare functions.
13970         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
13971         EINVAL when nfds is greater than FD_SETSIZE.
13972         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
13973         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
13974         45.
13975         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
13976         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
13977         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
13978         MACH_RCV_TIMED_OUT.
13979         * hurd/hurd/signal.h (_hurd_self_sigstate,
13980         _hurd_critical_section_lock, _hurd_critical_section_unlock):
13981         Explicit casts from void *.
13982         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
13983         * abi-tags: Rename gnu-gnu os into gnu.
13985         [BZ #4719]
13986         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
13987         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
13988         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
13989         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
13990         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
13991         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
13993         [BZ #17944]
13994         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
13995         duplicates ADDR->sun_path with sockaddr LEN limitation.
13996         * sysdeps/mach/hurd/connect.c: Include <string.h>
13997         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
13998         * sysdeps/mach/hurd/sendmsg.c: Likewise.
13999         * sysdeps/mach/hurd/sendto.c: Likewise.
14000         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14001         implementing it by hand.
14003 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14005         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14006         Use sfi_breg on ldr.
14007         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14008         Likewise.
14010         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14011         it's defined.
14012         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14013         Test SIGSETXID only if it's defined.
14015         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14017         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14018         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14020         * nptl/tst-align2.c: Moved ...
14021         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14022         * nptl/Makefile (tests): Remove tst-align2.
14023         * sysdeps/unix/sysv/linux/Makefile
14024         [$(subdir) = nptl] (tests): Add tst-align-clone.
14025         * nptl/tst-getpid1.c: Moved ...
14026         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14027         * nptl/tst-getpid2.c: Moved ...
14028         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14029         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14030         * sysdeps/unix/sysv/linux/Makefile
14031         [$(subdir) = nptl] (tests): ... here.
14032         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14033         * sysdeps/unix/sysv/linux/Makefile
14034         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14036         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14037         Drop trailing \n from perror argument.  Use return rather than exit.
14039         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14040         on [SA_SIGINFO].
14041         * nptl/tst-cancel21.c (do_test): Likewise.
14042         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14043         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14044         [!SA_SIGINFO]: Make it a stub test.
14046         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14047         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14049         * posix/tst-getlogin.c: Move to ...
14050         * login/tst-getlogin.c: ... here.
14051         * posix/Makefile (tests): Move tst-getlogin to ...
14052         * login/Makefile (tests): ... here.
14054         * libio/tst-atime.c (do_test): Move local variables SV and E
14055         inside [ST_NOATIME] conditional.
14057         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14059         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14061         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14062         (wait_code): New function replaces macro.
14063         Call nanosleep rather than syscall.
14065         * nptl/pt-system.c: Rewritten.  Put everything under
14066         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14067         Use IFUNC to redirect when possible.
14069         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14070         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14071         Use IFUNC to redirect when possible.
14073         * nptl/pt-fork.c: Rewritten.  Put everything under
14074         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14075         Use IFUNC to redirect when possible.
14076         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14079         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14080         unconditionally nowadays.  This included the only reference to
14081         __vdso_clock_gettime that appears outside libc proper.
14082         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14083         Remove version set (containing only __vdso_clock_gettime).
14084         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14085         Add attribute_hidden.
14086         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14087         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14088         libc_hidden_data_def.
14089         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14090         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14092         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14093         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14094         setrpcent, and getrpcport to ...
14095         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14096         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14097         getrpcbynumber_r, and getrpcent_r to ...
14098         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14099         * inet/getrpcbyname.c: Moved ...
14100         * sunrpc/getrpcbyname.c: ... here.
14101         * inet/getrpcbyname_r.c: Moved ...
14102         * sunrpc/getrpcbyname_r.c: ... here.
14103         * inet/getrpcbynumber.c: Moved ...
14104         * sunrpc/getrpcbynumber.c: ... here.
14105         * inet/getrpcbynumber_r.c: Moved ...
14106         * sunrpc/getrpcbynumber_r.c: ... here.
14107         * inet/getrpcent.c: Moved ...
14108         * sunrpc/getrpcent.c: ... here.
14109         * inet/getrpcent_r.c: Moved ...
14110         * sunrpc/getrpcent_r.c: ... here.
14111         * inet/Makefile (routines): Move those to ...
14112         * sunrpc/Makefile (routines): ... here.
14113         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14114         the $(subdirs) list.
14115         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14116         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14117         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14118         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14120         * elf/Makefile (routines): Include $(all-dl-routines), not just
14121         $(dl-routines).
14122         (rtld-routines): Likewise.  Use = rather than :=.
14123         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14124         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14125         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14126         * sysdeps/arm/Makefile: Likewise.
14127         * sysdeps/i386/Makefile: Likewise.
14128         * sysdeps/x86_64/Makefile: Likewise.
14129         * sysdeps/hppa/Makefile [$(subdir) = elf]
14130         (sysdep_routines, sysdep-rtld-routines): Don't add
14131         $(sysdep-dl-routines) to these.
14132         * sysdeps/ia64/Makefile: Likewise.
14133         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14134         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14135         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14136         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14137         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14138         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14139         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14140         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14141         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14142         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14143         these; sysdep-dl-routines alone is enough.
14145 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14147         [BZ #17932]
14148         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14149         where multiplication results in zero and third argument is finite
14150         and nonzero.
14151         * math/auto-libm-test-in: Add more tests of fma.
14152         * math/auto-libm-test-out: Regenerated.
14154         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14155         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14156         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14157         (_FP_CMP_EQ): Likewise.
14158         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14160         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14161         extra argument CHECK_NAN.  Redefine as wrapper around
14162         _FP_EXTEND_CNAN.
14164 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14166         * version.h (RELEASE): Set to "stable".
14167         (VERSION): Set to "2.21"
14168         * include/features.h (__GLIBC_MINOR__): Set to 21.
14170         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14172 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14173             Paul Eggert  <eggert@cs.ucla.edu>
14175         [BZ #16618]
14176         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14177         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14178         size in bytes. Store needed elements in wpmax. Use needed size
14179         in bytes for extend_alloca.
14181 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14183         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14184         binutls 2.25, and texinfo 5.2.
14185         * INSTALL: Regenerate.
14186         * sysdeps/nios2/configure: Regenerate.
14187         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14188         * manual/contrib.texi: Update.
14189         * po/be.po: Update.
14190         * po/bg.po: Update.
14191         * po/ca.po: Update.
14192         * po/cs.po: Update.
14193         * po/da.po: Update.
14194         * po/de.po: Update.
14195         * po/el.po: Update.
14196         * po/eo.po: Update.
14197         * po/es.po: Update.
14198         * po/fi.po: Update.
14199         * po/fr.po: Update.
14200         * po/gl.po: Update.
14201         * po/hr.po: Update.
14202         * po/hu.po: Update.
14203         * po/ia.po: Update.
14204         * po/id.po: Update.
14205         * po/it.po: Update.
14206         * po/ja.po: Update.
14207         * po/ko.po: Update.
14208         * po/lt.po: Update.
14209         * po/nb.po: Update.
14210         * po/nl.po: Update.
14211         * po/pl.po: Update.
14212         * po/pt_BR.po: Update.
14213         * po/ru.po: Update.
14214         * po/rw.po: Update.
14215         * po/sk.po: Update.
14216         * po/sl.po: Update.
14217         * po/sv.po: Update.
14218         * po/tr.po: Update.
14219         * po/uk.po: Update.
14220         * po/vi.po: Update.
14221         * po/zh_CN.po: Update.
14222         * po/zh_TW.po: Update.
14224         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14225         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14226         * sysdeps/hppa/dl-irel.h: Remove #warning.
14227         * sysdeps/hppa/entry.h: Provide prototype for
14228         __canonicalize_funcptr_for_compare and cast argument.
14229         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14230         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14231         * sysdeps/hppa/sotruss-lib.c: New file.
14232         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14233         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14234         (atomic_compare_and_exchange_bool_acq): Likewise.
14235         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14236         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14238         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14239         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14240         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14242 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14244         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14245         called function in non-PIC case.
14247 2015-01-31  David S. Miller  <davem@davemloft.net>
14249         * sysdeps/sparc/sparc32/bits/atomic.h
14250         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14251         unlock not after it.
14252         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14253         volatile register usage warnings from the compiler.
14255         * sysdeps/sparc/nptl/sem_init.c: Delete.
14256         * sysdeps/sparc/nptl/sem_post.c: Delete.
14257         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14258         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14259         * sysdeps/sparc/sparc32/sem_init.c: New file.
14260         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14261         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14262         padding explicitly initialized.
14263         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14264         padding for in-semaphore spinlock.
14265         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14266         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14267         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14268         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14269         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14270         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14271         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14272         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14273         version.
14274         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14275         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14277 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14279         [BZ #17801]
14280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14281         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14282         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14283         New.
14284         (index_AVX_Fast_Unaligned_Load): Likewise.
14285         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14286         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14287         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14288         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14289         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14290         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14291         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14292         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14293         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14295 2015-01-29  Andreas Schwab  <schwab@suse.de>
14297         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14299 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14301         [BZ #17892]
14302         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14304 2015-01-28  Martin Sebor  <msebor@redhat.com>
14306         * math/README.libm-test: Clarify. Add "How to read the test output."
14308 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14310         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14311         Define to 0.
14313 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14315         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14316         (__HAVE_64B_ATOMICS): Define to 0.
14318 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14320         [BZ #17885]
14321         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14322         value to set as new flag.
14324         [BZ #16576]
14325         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14326         and use _ARCH_PPCSQ instead.
14327         (__ieee754_sqrt): Likewise.
14328         (__ieee754_sqrtf): Likewise.
14329         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14330         _ARCH_PPCSQ is defined.
14331         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14332         fsqrt instruction.
14333         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14334         _ARCH_PPCSQ is defined.
14335         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14336         fsqrts instruction.
14337         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14339 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14341         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14342         bug (GCC BZ #64739).
14344 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14346         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14347         Mark _retval as used.
14348         (lll_futex_wake_unlock): Likewise.
14349         (lll_futex_timed_wait_requeue_pi): Likewise.
14351         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14352         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14353         register variables.
14355         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14356         libm_hidden_def.
14358         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14359         (__bswap_64): Mark as __always_inline.
14361 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14363         [BZ #15378]
14364         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14365         when none of the search directories exist.
14367 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14369         [BZ #17869]
14370         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14371         power8 in .machine directive.
14373         [BZ #17868]
14374         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14375         set dependency from opd value.
14377 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14380         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14381         architecture.
14383 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14385         [BZ #17870]
14386         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14387         with uint64_t.
14388         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14389         (uint64_t) 1.
14390         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14391         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14392         Replace 1UL with (uint64_t) 1.
14393         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14394         int with uint64_t.
14396 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14398         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14399         (if_freenameindex): Likewise.
14401         * resource/getrlimit64.c: Add missing libc_hidden_def.
14403 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14405         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14406         __label__.
14407         (_FP_FMA): Likewise.
14408         (_FP_TO_INT_ROUND): Likewise.
14409         (_FP_FROM_INT): Likewise.
14411 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14413         [BZ #16418]
14414         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14415         Make code racy and cancel safe.
14417 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14419         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14420         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14421         attribution.
14423         * pwd/tst-getpw.c: Rewrite.
14425         [BZ #17702]
14426         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14427         (modules-names): Add moddummy1 and moddummy2.
14428         ($(objpfx)tst-rec-dlopen): Define.
14429         * dlfcn/moddummy1.c: New file.
14430         * dlfcn/moddummy2.c: New file.
14431         * dlfcn/tst-rec-dlopen.c: New file.
14432         * elf/dl-cache.c (_dl_load_cache_lookup):
14433         Return char*. Copy result with alloca/strcpy/strdup.
14434         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14435         returns char*. Free cached. If not saving realname
14436         free cached.
14437         * elf/dl-open.c (dl_open_worker): Do not assert that
14438         _r_debug->r_state is RT_CONSISTENT.
14439         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14440         returns char*.
14442 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14443             Carlos O'Donell  <carlos@redhat.com>
14445         [BZ #12674]
14446         * nptl/sem_waitcommon.c: New file.
14447         * nptl/sem_wait.c: Include sem_waitcommon.c.
14448         (__sem_wait_cleanup, do_futex_wait): Remove.
14449         (__new_sem_wait): Adapt.
14450         (__new_sem_trywait): New function.
14451         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14452         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14453         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14454         (sem_timedwait): Adapt.
14455         * nptl/sem_post.c (__new_sem_post): Adapt.
14456         (futex_wake): New function.
14457         (__old_sem_post): Add release MO fence.
14458         * nptl/sem_open.c (sem_open): Adapt.
14459         * nptl/sem_init.c (__new_sem_init): Adapt.
14460         (futex_private_if_supported): New function.
14461         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14462         (__old_sem_getvalue): Add using previous code.
14463         * sysdeps/nptl/internaltypes.h: Adapt.
14464         * nptl/tst-sem13.c (do_test): Adapt.
14465         * nptl/tst-sem11.c (main): Adapt.
14466         * nptl/sem_trywait.c: Remove.
14467         * nptl/DESIGN-sem.txt: Remove.
14468         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14469         (gen-as-const-headers): Remove structsem.sym.
14470         * nptl/structsem.sym: Remove.
14471         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14472         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14473         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14474         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14475         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14476         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14477         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14478         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14479         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14480         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14481         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14482         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14483         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14484         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14485         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14486         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14487         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14488         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14489         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14490         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14491         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14492         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14494 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14496         * INSTALL: Regenerated.
14498         * po/libc.pot: Regenerated.
14500 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14501             Sandra Loosemore  <sandra@codesourcery.com>
14502             Andrew Jenner  <andrew@codesourcery.com>
14503             Joseph Myers  <joseph@codesourcery.com>
14504             Nathan Sidwell  <nathan@codesourcery.com>
14506         * NEWS: Mention new Nios II port.
14507         * sysdeps/nios2/Implies: New file.
14508         * sysdeps/nios2/Makefile: New file.
14509         * sysdeps/nios2/Subdirs: New file.
14510         * sysdeps/nios2/Versions: New file.
14511         * sysdeps/nios2/__longjmp.S: New file.
14512         * sysdeps/nios2/abort-instr.h: New file.
14513         * sysdeps/nios2/backtrace.c: New file.
14514         * sysdeps/nios2/bits/endian.h: New file.
14515         * sysdeps/nios2/bits/fenv.h: New file.
14516         * sysdeps/nios2/bits/link.h: New file.
14517         * sysdeps/nios2/bits/setjmp.h: New file.
14518         * sysdeps/nios2/bsd-_setjmp.S: New file.
14519         * sysdeps/nios2/bsd-setjmp.S: New file.
14520         * sysdeps/nios2/configure: New generated file.
14521         * sysdeps/nios2/configure.ac: New file.
14522         * sysdeps/nios2/crti.S: New file.
14523         * sysdeps/nios2/crtn.S: New file.
14524         * sysdeps/nios2/dl-init.c: New file.
14525         * sysdeps/nios2/dl-machine.h: New file.
14526         * sysdeps/nios2/dl-sysdep.h: New file.
14527         * sysdeps/nios2/dl-tls.h: New file.
14528         * sysdeps/nios2/dl-trampoline.S: New file.
14529         * sysdeps/nios2/gccframe.h: New file.
14530         * sysdeps/nios2/gmp-mparam.h: New file.
14531         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14532         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14533         * sysdeps/nios2/ldsodefs.h: New file.
14534         * sysdeps/nios2/libc-tls.c: New file.
14535         * sysdeps/nios2/libm-test-ulps: New file.
14536         * sysdeps/nios2/machine-gmon.h: New file.
14537         * sysdeps/nios2/math-tests.h: New file.
14538         * sysdeps/nios2/math_private.h: New file.
14539         * sysdeps/nios2/memusage.h: New file.
14540         * sysdeps/nios2/nptl/Makefile: New file.
14541         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14542         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14543         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14544         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14545         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14546         * sysdeps/nios2/nptl/tls.h: New file.
14547         * sysdeps/nios2/preconfigure: New file.
14548         * sysdeps/nios2/s_fma.c: New file.
14549         * sysdeps/nios2/s_fmaf.c: New file.
14550         * sysdeps/nios2/setjmp.S: New file.
14551         * sysdeps/nios2/sfp-machine.h: New file.
14552         * sysdeps/nios2/sotruss-lib.c: New file.
14553         * sysdeps/nios2/stackguard-macros.h: New file.
14554         * sysdeps/nios2/stackinfo.h: New file.
14555         * sysdeps/nios2/start.S: New file.
14556         * sysdeps/nios2/sysdep.h: New file.
14557         * sysdeps/nios2/tls-macros.h: New file.
14558         * sysdeps/nios2/tst-audit.h: New file.
14559         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14560         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14561         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14562         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14563         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14564         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14565         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14566         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14567         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14568         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14569         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14570         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14571         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14572         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14573         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14574         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14575         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14576         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14577         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14578         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14579         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14580         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14581         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14582         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14583         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14584         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14585         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14586         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14587         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14588         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14589         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14590         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14591         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14592         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14593         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14594         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14595         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14596         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14597         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14598         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14599         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14600         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14601         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14602         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14604 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14606         [BZ #17844]
14607         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14608         (getutent): Use weak_alias in non SHARED case
14609         and default_symbol_version in SHARED case.
14610         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14611         (getutent_r, pututline): Likewise.
14612         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14613         (getutid): Likewise.
14614         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14615         (getutid_r): Likewise.
14616         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14617         (getutline): Likewise.
14618         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14619         (getutline_r): Likewise.
14620         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14621         (updwtmp): Likewise.
14623 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14625         [BZ #17848]
14626         * sysdeps/s390/s390-32/memcmp.S
14627         (memcmp_g5): Rename to __memcmp_g5.
14628         * sysdeps/s390/s390-32/memcpy.S
14629         (memcpy_g5): Rename to __memcpy_g5.
14630         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14631         (memcpy_mvcle) Rename to __memcpy_mvcle.
14632         * sysdeps/s390/s390-32/memset.S
14633         (memset_g5): Rename to __memset_g5.
14634         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14635         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14636         and use prefixed functions.
14637         * sysdeps/s390/s390-32/multiarch/memcmp.S
14638         (memcmp_z196): Rename to __memcmp_z196.
14639         (memcmp_z10): Rename to __memcmp_z10.
14640         (memcmp): Set alias to __memcmp_g5.
14641         (bcmp): Set alias to __memcmp_g5.
14642         * sysdeps/s390/s390-32/multiarch/memcpy.S
14643         (memcpy_z196): Rename to __memcpy_z196.
14644         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14645         (memcpy_z10): Rename to __memcpy_z10.
14646         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14647         (memcpy): Set alias to __memcpy_g5.
14648         * sysdeps/s390/s390-32/multiarch/memset.S
14649         (memset_z196): Rename to __memset_z196.
14650         Jump to __memset_mvcle instead of memset_mvcle.
14651         (memset_z10): Rename to __memset_z10.
14652         Jump to __memset_mvcle instead of memset_mvcle.
14653         (memset_mvcle) Rename to __memset_mvcle.
14654         (memset): Set alias to __memset_g5.
14655         * sysdeps/s390/s390-64/memcmp.S
14656         (memcmp_z900): Rename to __memcmp_z900.
14657         * sysdeps/s390/s390-64/memcpy.S
14658         (memcpy_z900): Rename to __memcpy_z900.
14659         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14660         (memcpy_mvcle) Rename to __memcpy_mvcle.
14661         * sysdeps/s390/s390-64/memset.S
14662         (memset_z900): Rename to __memset_z900.
14663         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14664         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14665         and use prefixed functions.
14666         * sysdeps/s390/s390-64/multiarch/memcmp.S
14667         (memcmp_z196): Rename to __memcmp_z196.
14668         (memcmp_z10): Rename to __memcmp_z10.
14669         (memcmp): Set alias to __memcmp_z900.
14670         (bcmp): Set alias to __memcmp_z900.
14671         * sysdeps/s390/s390-64/multiarch/memcpy.S
14672         (memcpy_z196): Rename to __memcpy_z196.
14673         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14674         (memcpy_z10): Rename to __memcpy_z10.
14675         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14676         (memcpy): Set alias to __memcpy_z900.
14677         * sysdeps/s390/s390-64/multiarch/memset.S
14678         (memset_z196): Rename to __memset_z196.
14679         Jump to __memset_mvcle instead of memset_mvcle.
14680         (memset_z10): Rename to __memset_z10.
14681         Jump to __memset_mvcle instead of memset_mvcle.
14682         (memset_mvcle) Rename to __memset_mvcle.
14683         (memset): Set alias to __memset_z900.
14685 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14687         [BZ #17748]
14688         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14689         __fesetenv instead of fesetenv.
14691 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14693         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14694         macro.
14696 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14698         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14699         regression on LE.
14701         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14702         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14704         strncmp-power8 object.
14705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14706         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14707         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14708         * NEWS: Update.
14710 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14711             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14713         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14714         trailing byte check.
14716 2015-01-13  David S. Miller  <davem@davemloft.net>
14718         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14720 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14722         * login/logout.c (logout): Use memset rather than bzero.
14723         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14724         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14725         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14726         (_gethtbyaddr): Likewise.
14727         * locale/programs/simple-hash.c (bcopy): Macro removed.
14729 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14731         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14732         Add strcmp-power8 object.
14733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14734         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14735         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14736         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14737         __strcmp_power8 implementation.
14738         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14739         * NEWS: Update.
14741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14742         Add strncpy-power8 and stpncpy-power8 objects.
14743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14744         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14745         implementations.
14746         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14747         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14748         __stpncpy_power8 implementation.
14749         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14750         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14751         __strncpy_power8 implementation.
14752         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14753         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14754         * NEWS: Update.
14756         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14757         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14758         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14760         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14761         strncat-power8 object.
14762         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14763         __strcat_power8 implementation.
14764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14765         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14766         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14767         optimized strcat for power8.
14769         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14770         strcpy-power8 and stpcpy-power8 objects.
14771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14772         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14773         implementations.
14774         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14775         multiarch stpcpy implementation for POWER8.
14776         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14777         multiarch strcpy implementation for POWER8.
14778         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14779         __strcpy_power8 function.
14780         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14781         stpcpy for POWER8.
14782         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14783         strcpy for POWER8.
14784         * NEWS: Update.
14786 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14788         [BZ #16009]
14789         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14790         weights and rules. Use do_xfrm_cached if data fits in cache,
14791         do_xfrm otherwise.  Moved former main loop to...
14792         * (do_xfrm_cached): New function.
14793         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14794         find_idx, find_position and stack_push.
14795         * (find_idx): New function.
14796         * (find_position): Likewise.
14797         * localedata/sort-test.sh: Added test run for do_xfrm.
14798         * localedata/xfrm-test.c (main): Added command line option
14799         -nocache to run the test with strings that are too large for
14800         the STRXFRM cache.
14802 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14804         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14805         variable to lll_futex_wake call, not the value itself.
14807 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14809         [BZ #17803]
14810         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14811         twom64.  Adjust value to 0x1p-64L.
14812         (__scalblnl): Only return standard underflowing result for K <=
14813         -64 not K <= -63; adjust exponent for underflowing result by 64
14814         not 63.
14815         * math/libm-test.inc (scalbn_test_data): Add more tests.
14816         (scalbln_test_data): Likewise.
14818         [BZ #17834]
14819         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14820         0x1p63L.
14821         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14822         not HX.
14823         * math/libm-test.inc (scalbn_test_data): Add more tests.
14824         (scalbln_test_data): Likewise.
14826 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14827             Stefani Seibold  <stefani@seibold.net>
14829         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14830         (sysdep_routines): Add dl-vdso here, ...
14831         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14832         (sysdep_routines): ... not here.
14833         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14834         fallback when vDSO is not presented.
14835         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14836         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14837         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14838         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14839         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14840         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14841         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14842         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14843         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14844         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14845         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14846         fallback configurable symbol when vDSO is not available.
14847         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14848         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14849         be able to redefine fallback symbol when vDSO is not available.
14850         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14851         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14853 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14855         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14856         (TLS_INIT_TP): Add tm_capable initialization.
14857         (TLS_DEFINE_INIT_TP): Likewise.
14858         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14859         TCB.
14860         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14861         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14862         calculation.
14863         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14864         transactoion is lock elision is built and TCB tm_capable is set.
14865         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14867         (INTERNAL_SYSCALL_NCS): Likewise.
14868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14869         (INTERNAL_SYSCALL_NCS): Likewise.
14870         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14872         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14873         for powerpc.
14874         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14875         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14876         and remove it for 32 bits case.
14877         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
14879         initialization.
14880         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
14881         Disable lock elision with rdlocks if elision is not available.
14883         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
14884         (sysdep_routines): Add lock elision objects.
14885         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14886         [pthread_mutex_t] (__spins): Rework to add lock elision field.
14887         [pthread_mutex_t] (__elision): Add field.
14888         [__PTHREAD_SPINS]: Adjust to init lock elision field.
14889         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
14890         elision definitions for powerpc.
14891         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
14892         implementation of lock elision for powerpc.
14893         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
14894         implementation of timed lock elision for powerpc.
14895         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
14896         implementation of trylock with lock elision for powerpc.
14897         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
14898         implementaion of unlock for lock elision for powerpc.
14899         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
14900         automatic enable lock elision for mutexes.
14901         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
14902         transaction execution definitions for powerpc.
14903         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
14904         definitions.
14905         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
14906         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
14907         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
14908         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
14909         * NEWS: Update.
14911 2015-01-09  Roland McGrath  <roland@hack.frob.com>
14913         * sysdeps/posix/shm-directory.c: Use <> rather than ""
14914         for #include of <shm-directory.h>.
14916 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
14918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
14919         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
14921 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
14923         [BZ #17791]
14924         * NEWS: Mention bug fix.
14925         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
14926         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
14927         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
14929 2015-01-09  Torvald Riegel <triegel@redhat.com>
14931         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
14933 2015-01-09  Torvald Riegel <triegel@redhat.com>
14935         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
14937 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14939         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
14940         pointer and cast to uintptr_t.
14942 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14944         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
14945         removed.
14946         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
14948 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14950         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
14951         of 0.
14953 2015-01-08  Roland McGrath  <roland@hack.frob.com>
14955         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
14956         <nptl/pthreadP.h> instead.
14957         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
14959         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
14960         already defined.
14961         [__SIGRTMIN] (init): Function removed.
14962         [__SIGRTMIN] (initialized): Variable removed.
14963         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
14964         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
14965         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
14966         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
14967         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
14968         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
14969         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
14970         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
14971         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
14972         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
14973         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
14974         * sysdeps/nptl/allocrtsig.c: New file.
14975         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
14976         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
14977         * sysdeps/generic/testrtsig.h: File removed.
14979         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
14980         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
14982         * nptl/nptl-init.c (pthread_functions): Conditionalize
14983         .ptr__nptl_setxid initialization on [SIGSETXID].
14985         * sysdeps/nptl/sys/procfs.h: New file.
14986         * nptl_db/Makefile (headers): Add it.
14987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
14989         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
14990         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
14991         * nptl/pthread_attr_setaffinity.c: Include it.
14992         * nptl/pthread_setattr_default_np.c: Likewise.
14993         * nptl/check-cpuset.h: New file.
14995 2015-01-08  Richard Henderson  <rth@redhat.com>
14997         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
14998         (CFLAGS-tst-execstack-prog.c): Likewise.
14999         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15001 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15002             Sandra Loosemore  <sandra@codesourcery.com>
15003             Andrew Jenner  <andrew@codesourcery.com>
15004             Joseph Myers  <joseph@codesourcery.com>
15005             Nathan Sidwell  <nathan@codesourcery.com>
15007         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15008         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15009         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15010         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15011         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15012         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15013         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15014         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15015         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15016         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15017         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15018         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15019         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15020         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15021         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15022         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15023         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15025 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15027         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15028         timespec struct member in syscall macro.
15029         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15030         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15031         first timeval struct member in syscall macro.
15032         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15034 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15036         [BZ #17748]
15037         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15038         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15039         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15040         __feupdateenv and define as weak alias of __feupdateenv.  Use
15041         libm_hidden_weak.
15042         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15043         libm_hidden_def.
15044         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15045         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15046         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15047         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15048         libm_hidden_def.
15049         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15050         __feupdateenv and define as weak alias of __feupdateenv.  Use
15051         libm_hidden_weak.
15052         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15053         libm_hidden_def.
15054         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15055         __feupdateenv and define as weak alias of __feupdateenv.  Use
15056         libm_hidden_weak.
15057         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15058         libm_hidden_def.
15059         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15060         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15061         (__feupdateenv): Likewise.
15062         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15063         __feupdateenv and define as weak alias of __feupdateenv.  Use
15064         libm_hidden_weak.
15065         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15066         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15067         libm_hidden_def.
15068         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15069         function.
15070         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15071         libm_hidden_def.
15072         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15073         __feupdateenv instead of feupdateenv.
15074         (default_libc_feupdateenv_test): Likewise.
15075         (libc_feresetround_ctx): Likewise.
15077 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15079         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15080         prototype.
15082 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15084         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15085         COLL_SYM in a couple of places to avoid uninitialized variable
15086         wanings on tilegx gcc 4.8.2.
15088 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15090         * sysdeps/aarch64/strcpy.S: New file.
15091         * sysdeps/aarch64/stpcpy.S: New file.
15092         * NEWS: Updated.
15094 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15096         * sysdeps/aarch64/strrchr.S: New file.
15097         * NEWS: Updated.
15099 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15101         [BZ #17658]
15102         * stdlib/setenv.c: Fix memory leak when setting large,
15103         duplicate string.
15105 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15107         [BZ #17273]
15108         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15109         and tabs from buffer before parsing fstab entry.
15110         * misc/tst-mntent.c (main): Add test for mount entry with
15111         trailing spaces and tabs.
15113 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15115         [BZ #17748]
15116         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15117         * math/fesetround.c (fesetround): Rename to __fesetround and
15118         define as weak alias of __fesetround.  Use libm_hidden_weak.
15119         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15120         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15121         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15122         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15123         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15124         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15125         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15126         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15127         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15128         __fesetround_inline.
15129         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15130         __fesetround_inline instead of __fesetround.
15131         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15132         __fesetround and define as weak alias of __fesetround.  Use
15133         libm_hidden_weak.  Call __fesetround_inline instead of
15134         __fesetround.
15135         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15136         __fesetround and define as weak alias of __fesetround.  Use
15137         libm_hidden_weak.
15138         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15139         Likewise.
15140         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15141         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15142         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15143         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15144         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15145         __fesetround and define as weak alias of __fesetround.  Use
15146         libm_hidden_weak.
15147         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15148         __fesetround instead of fesetround.
15149         (default_libc_feholdexcept_setround): Likewise.
15150         (libc_feholdsetround_ctx): Likewise.
15151         (libc_feholdsetround_noex_ctx): Likewise.
15153         [BZ #17748]
15154         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15155         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15156         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15157         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15158         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15159         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15160         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15161         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15162         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15163         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15164         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15165         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15166         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15167         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15168         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15169         libm_hidden_def.
15170         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15171         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15172         Likewise.
15173         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15174         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15175         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15176         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15177         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15178         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15179         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15180         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15181         __fesetenv instead of fesetenv.
15182         (libc_feresetround_noex_ctx): Likewise.
15183         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15184         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15185         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15186         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15187         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15188         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15189         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15190         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15191         (__feupdateenv): Likewise.
15192         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15193         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15194         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15195         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15197 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15199         [BZ #17806]
15200         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15201         addresses have been freed.
15203 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15205         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15206         and nservall.
15208 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15210         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15211         Clean up check_pf allocation pattern. addresses
15213 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15215         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15216         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15217         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15218         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15219         * nptl/pthread_join.c (pthread_join): Likewise.
15220         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15221         * sysdeps/posix/waitid.c (__waitid): Likewise.
15222         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15223         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15224         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15225         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15226         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15227         Likewise.
15228         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15229         (__libc_pread64): Likewise.
15230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15231         (__libc_pwrite): Likewise.
15232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15233         (__libc_pwrite64): Likewsie.
15234         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15235         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15236         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15237         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15238         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15239         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15240         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15242         Likewise.
15243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15244         (__libc_pread64): Likewise.
15245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15246         Likewise.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15248         (__libc_pwrite64): Likewise.
15249         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15250         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15251         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15252         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15253         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15254         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15255         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15256         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15257         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15258         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15259         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15260         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15261         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15262         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15263         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15264         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15265         Likewise.
15267 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15269         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15270         (CFLAGS-test-double.c): Likewise.
15271         (CFLAGS-test-ldouble.c): Likewise.
15272         (CPPFLAGS-test-ifloat.c): Likewise.
15273         (CPPFLAGS-test-idouble.c): Likewise.
15274         (CPPFLAGS-test-ildoubl.c): Likewise.
15275         (CFLAGS-test-test-fenv.c): Remove variable.
15276         (CFLAGS-test-misc.c): Likewise.
15278 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15280         [BZ #17797]
15281         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15282         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15283         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15284         CLOCKS_PER_SEC == 1000000.
15285         * time/clocktest.c (main): Replace %ld with %jd and cast to
15286         intmax_t.
15288 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15290         * sysdeps/generic/unwind-resume.h: New file.
15291         * sysdeps/gnu/unwind-resume.c: Include it.
15292         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15293         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15294         argument list.
15295         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15296         global rather than static.
15297         (_Unwind_Resume): Update user.
15298         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15299         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15300         rather than static.  Add __attribute__ ((cold)).
15301         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15302         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15303         * sysdeps/arm/arm-unwind-resume.S: New file.
15304         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15305         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15306         * sysdeps/arm/Makefile [$(subdir) = csu]
15307         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15308         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15309         Add rt-arm-unwind-resume.
15310         [$(subdir) = nptl]
15311         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15312         Add pt-arm-unwind-resume.
15313         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15314         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15316 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15318         [BZ #17748]
15319         * include/fenv.h (__feholdexcept): Declare.  Use
15320         libm_hidden_proto.
15321         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15322         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15323         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15324         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15325         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15326         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15327         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15328         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15329         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15330         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15331         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15332         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15333         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15334         (feholdexcept): Likewise.
15335         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15336         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15337         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15338         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15339         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15340         __feholdexcept instead of feholdexcept.
15341         (default_libc_feholdexcept_setround): Likewise.
15343 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15345         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15346         to avoid using stl/str to align destination.
15348 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15350         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15352 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15354         [BZ #17796]
15355         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15356         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15357         Define as weak alias not strong alias.
15359 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15361         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15362         bltzal with addiupc.
15363         (RTLD_START): Ditto.
15365 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15367         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15368         for __vdso_* functions in declarations.
15369         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15370         definitions.
15371         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15372         INTERNAL_VSYSCALL): Use struct return types to check for error.
15374         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15375         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15376         function with cast from llround().
15377         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15378         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15379         Define.
15381 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15383         [BZ #17793]
15384         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15385         Define as weak alias not strong alias.
15387         [BZ #17635]
15388         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15389         ...
15390         * ctype/ctype-extn.c: ... here.
15391         (__isblank_l): Move to ...
15392         * ctype/ctype-c99_l.c: ... here.  New file.
15393         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15394         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15395         Remove variable.
15396         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15397         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15398         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15399         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15400         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15402         [BZ #17777]
15403         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15404         (posix_fadvise64): Define as weak alias not strong alias.
15405         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15406         (posix_fallocate64): Likewise.
15407         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15408         Remove variable.
15409         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15410         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15411         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15412         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15413         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15415 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15417         [BZ #16191]
15418         * NEWS: Mention bug fix.
15419         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15420         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15421         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15422         (HOST_STACK_END_ADDR): Likewise.
15424 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15426         [BZ #17748]
15427         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15428         * math/fegetround.c (fegetround): Rename to __fegetround and
15429         define as weak alias of __fegetround.  Use libm_hidden_weak.
15430         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15431         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15432         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15433         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15434         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15435         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15436         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15437         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15438         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15439         Undefine after rather than before function definition; use
15440         parentheses around function name in definition.
15441         (__fegetround): Also undefine macro after function definition.
15442         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15443         __fegetround and define as weak alias of __fegetround.  Use
15444         libm_hidden_weak.  Do not undefine as macro.
15445         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15446         Likewise.
15447         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15448         __fegetround and define as weak alias of __fegetround.  Use
15449         libm_hidden_weak.
15450         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15451         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15452         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15453         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15454         __fegetround and define as weak alias of __fegetround.  Use
15455         libm_hidden_weak.
15456         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15457         __fegetround instead of fegetround.
15459         [BZ #17782]
15460         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15461         Condition macro definition on [__USE_MISC].
15463         [BZ #17781]
15464         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15465         (struct sigaction): Change type of sa_flags field to int.
15467         [BZ #17780]
15468         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15469         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15470         __glibc_reserved0.
15472         * nptl/version.c (banner): Use single year in copyright notice.
15474         * NEWS: Update copyright dates.
15475         * catgets/gencat.c (print_version): Likewise.
15476         * csu/version.c (banner): Likewise.
15477         * debug/catchsegv.sh: Likewise.
15478         * debug/pcprofiledump.c (print_version): Likewise.
15479         * debug/xtrace.sh (do_version): Likewise.
15480         * elf/ldconfig.c (print_version): Likewise.
15481         * elf/ldd.bash.in: Likewise.
15482         * elf/pldd.c (print_version): Likewise.
15483         * elf/sotruss.sh: Likewise.
15484         * elf/sprof.c (print_version): Likewise.
15485         * iconv/iconv_prog.c (print_version): Likewise.
15486         * iconv/iconvconfig.c (print_version): Likewise.
15487         * locale/programs/locale.c (print_version): Likewise.
15488         * locale/programs/localedef.c (print_version): Likewise.
15489         * login/programs/pt_chown.c (print_version): Likewise.
15490         * malloc/memusage.sh (do_version): Likewise.
15491         * malloc/memusagestat.c (print_version): Likewise.
15492         * malloc/mtrace.pl: Likewise.
15493         * manual/libc.texinfo: Likewise.
15494         * nptl/version.c (banner): Likewise.
15495         * nscd/nscd.c (print_version): Likewise.
15496         * nss/getent.c (print_version): Likewise.
15497         * nss/makedb.c (print_version): Likewise.
15498         * posix/getconf.c (main): Likewise.
15499         * scripts/test-installation.pl: Likewise.
15500         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15502 2015-01-02  Will Newton  <will.newton@linaro.org>
15504         * sysdeps/arm/armv7/configure: Removed.
15505         * sysdeps/arm/armv7/configure.ac: Likewise.
15507 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15509         * All files with FSF copyright notices: Update copyright dates
15510         using scripts/update-copyrights.
15511         * intl/plural.c: Regenerated.
15512         * locale/programs/charmap-kw.h: Likewise.
15513         * locale/programs/locfile-kw.h: Likewise.
15515 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15517         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15519 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15521         [BZ #17748]
15522         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15523         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15524         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15525         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15526         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15527         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15528         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15529         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15530         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15531         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15532         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15533         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15534         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15535         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15536         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15537         libm_hidden_def.
15538         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15539         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15540         Likewise.
15541         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15542         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15543         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15544         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15545         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15546         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15547         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15548         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15549         __fegetenv instead of fegetenv.
15550         (libc_feholdsetround_noex_ctx): Likewise.
15552 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15554         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15555         (Elf_MIPS_ABIFlags_v0): New structure.
15556         (EF_MIPS_FP64): Define.
15557         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15558         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15559         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15560         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15561         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15562         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15563         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15564         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15565         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15566         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15567         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15568         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15569         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15570         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15571         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15572         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15573         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15574         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15575         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15576         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15577         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15578         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15579         field.
15580         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15581         EF_MIPS_FP64.
15582         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15583         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15584         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15585         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15586         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15587         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15588         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15589         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15590         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15591         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15592         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15593         record the current FP ABI extension.
15594         (mips-mode-switch): Define to show if kernel headers support mode
15595         switching.
15596         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15597         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15598         supported SYSV ABI version to 3.
15599         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15600         feature.
15602 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15603             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15605         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15606         path.
15607         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15609 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15611         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15612         __fegetround and redefine to call __fegetround.  Remove condition
15613         on [!__NO_MATH_INLINES].
15614         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15615         function.
15616         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15617         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15618         Remove macro.
15619         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15620         instead of <fenv_libc.h>.
15621         (__llrintl): Call fegetround instead of __fegetround.
15622         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15623         instead of <fenv_libc.h>.
15624         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15625         (__lrintl): Call fegetround instead of __fegetround.
15626         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15627         instead of <fenv_libc.h>.
15628         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15629         (__rintl): Call fegetround instead of __fegetround.
15631 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15633         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15634         arrays.
15636 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15638         [BZ #17775]
15639         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15640         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15641         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15643 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15645         * sysdeps/i386/tls-macros.h: Include <features.h>.
15646         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15647         (TLS_IE): Likewise.
15648         (TLS_LD): Likewise.
15649         (TLS_GD): Likewise.
15650         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15651         define for GCC >= 5.0.
15653 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15655         * math/test-fenv.c (test_single_exception, set_single_exc,
15656         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15657         feexcp_mask_test, feenable_test, fe_single_test): Add
15658         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15659         case where they are not used.
15660         * math/libm-test.inc: Likewise.
15661         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15662         unused in the absence of FP rounding/exception support.
15663         * stdio-common/tst-printf-round.c: Likewise.
15664         * stdlib/tst-strtod-round.c: Likewise.
15665         * stdlib/tst-strtod-underflow.c: Likewise.
15667 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15669         [BZ #17723]
15670         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15671         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15672         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15673         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15674         libm_hidden_weak.
15675         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15676         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15677         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15678         libm_hidden_def.
15679         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15680         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15681         libm_hidden_weak.
15682         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15683         Likewise.
15684         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15685         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15686         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15687         libm_hidden_weak.
15688         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15689         libm_hidden_def.
15690         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15691         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15692         (__feraiseexcept): Likewise.
15693         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15694         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15695         libm_hidden_weak.
15696         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15697         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15698         libm_hidden_def.
15699         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15700         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15701         Use libm_hidden_def.
15702         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15703         libm_hidden_def.
15704         (feraiseexcept): Define as weak not strong alias.  Use
15705         libm_hidden_weak.
15706         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15707         New inline function.  Factored out of ...
15708         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15709         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15710         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15711         feraiseexcept.
15712         * math/w_acos.c (__acos): Likewise.
15713         * math/w_asin.c (__asin): Likewise.
15714         * math/w_ilogb.c (__ilogb): Likewise.
15715         * math/w_j0.c (y0): Likewise.
15716         * math/w_j1.c (y1): Likewise.
15717         * math/w_jn.c (yn): Likewise.
15718         * math/w_log.c (__log): Likewise.
15719         * math/w_log10.c (__log10): Likewise.
15720         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15721         * sysdeps/aarch64/fpu/math_private.h
15722         (libc_feupdateenv_test_aarch64): Likewise.
15723         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15724         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15725         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15726         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15727         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15728         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15729         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15730         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15731         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15732         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15734 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15736         [BZ #17732]
15737         * io/test-utime.c (main): Replace %ld with %jd and cast to
15738         intmax_t.
15739         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15740         * nptl/tst-mutex5.c: Include <stdint.h>.
15741         (do_test): Replace %ld with %jd and cast to intmax_t.
15742         * posix/tst-regex.c (run_test): Likewise.
15743         (run_test_backwards): Likewise.
15744         * rt/tst-clock.c: Include <stdint.h>.
15745         (clock_test): Replace %ld with %jd and cast to intmax_t.
15746         * rt/tst-cpuclock1.c: Include <stdint.h>.
15747         (do_test): Replace %lu with %ju and cast to uintmax_t.
15748         * rt/tst-cpuclock2.c: Include <stdint.h>.
15749         (do_test): Replace %lu with %ju and cast to uintmax_t.
15750         * rt/tst-mqueue1.c: Include <stdint.h>.
15751         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15752         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15753         intmax_t.
15754         * rt/tst-mqueue4.c (do_test): Likewise.
15755         * rt/tst-timer4.c: Include <stdint.h>.
15756         (check_ts): Replace %ld with %jd and cast to intmax_t.
15757         (do_test): Likewise.
15758         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15759         and cast to intmax_t.
15760         * sysdeps/pthread/tst-timer.c (main): Likewise.
15761         * time/clocktest.c (main): Likewise.
15762         * time/tst-posixtz.c (do_test): Likewise.
15763         * timezone/tst-timezone.c (main): Likewise.
15765 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15766             H.J. Lu  <hongjiu.lu@intel.com>
15768         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15769         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15770         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15771         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15772         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15773         version if bit_Fast_Unaligned_Load is set.
15774         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15775         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15776         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15777         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15778         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15779         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15780         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15781         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15782         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15783         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15784         to 4.
15785         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15786         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15787         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15788         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15790 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15792         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15793         instead of #if to avoid a Wundef warning.
15794         * stdlib/tst-limits.c (do_test): Likewise.
15796         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15797         parallel other exception macros.
15798         (fegetenv): Convert from macro to extern inline so that it applies
15799         retroactively to inline functions already seen by the compiler.
15800         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15802         * posix/Makefile (before-compile): Use $(objpfx) for
15803         posix-conf-vars-def.h.
15805 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15807         * posix/getconf.c (main): Use size_t for type of I.
15808         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15809         NSPEC.
15811         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15812         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15813         * posix/posix-envs.def: Likewise.
15814         * sysdeps/posix/sysconf.c: Likewise.
15815         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15816         (specs): Remove array.
15817         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15818         array.
15820         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15821         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15822         (__sysconf): Use CONF_IS_* macros.
15824         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15825         ($(objpfx)posix-conf-vars-def.h): New target.
15826         * posix/posix-conf-vars.list: New file.
15827         * posix/posix-conf-vars.h: New file.
15828         * posix/confstr.c: Include posix-conf-vars.h.
15829         (confstr): Use CONF_IS_* macros.
15830         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15831         CONF_IS_* macros.
15832         * scripts/gen-posix-conf-vars.awk: New file.
15834 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15836         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15837         fegetround): Add no-op macros to avoid linknamespace issues.
15839         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15840         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15842         * sysdeps/unix/sysv/linux/tile/sysdep.h
15843         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15844         assembly-specific section to avoid a redefinition warning.
15846         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15847         long before casting to pointer to avoid a cast warning.
15849 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15851         * sysdeps/tile/tilegx/Implies: New file.
15853 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15855         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15857 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15859         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15861 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15863         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15864         not define.
15865         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15866         <kernel-features.h>.
15867         (__utimes) [__NR_utimes]: Make code unconditional.
15868         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15869         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15870         (__ASSUME_UTIMES): Do not undefine.
15871         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15872         (__ASSUME_UTIMES): Likewise.
15873         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15874         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15875         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15876         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15878 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15880         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
15882 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
15884         [BZ #17747]
15885         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
15886         alias to weak alias for j0l, y0l.
15887         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
15888         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
15890         [BZ #17746]
15891         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
15892         conversion.
15894 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15896         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
15897         to zero if not already defined.
15899 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15901         [BZ #17724]
15902         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
15903         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
15904         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
15905         (char *) casts added.
15906         * sysdeps/ieee754/k_standardf.c: New file.
15907         * sysdeps/ieee754/k_standardl.c: Likewise.
15908         * math/Makefile (libm-support): Remove k_standard.
15909         (libm-calls): Add k_standard.
15911 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15913         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15914         Optimize to avoid an unnecessary FPCR read.
15916 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15918         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15919         Optimize to reduce FPCR/FPSR accesses.
15921 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15923         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
15924         Call libc_fetestexcept_aarch64.
15926 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15928         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
15929         Call libc_fesetround_aarch64.
15931 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15933         [BZ #17733]
15934         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
15935         (__bind): Do not define as weak alias.
15936         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
15937         define.
15938         (__getsockname): Do not define as weak alias.
15940 2014-12-22  Will Newton  <will.newton@linaro.org>
15942         * manual/install.texi: Document that we require bison 2.7
15943         or above.
15944         * INSTALL: Regenerate.
15945         * configure.ac: Use AC_CHECK_PROG_VER instead of
15946         AC_PATH_PROG when checking for bison and check for
15947         version 2.7 or above.
15948         * configure: Regenerate.
15950 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
15952         [BZ #17745]
15953         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
15954         * sysdeps/tile/ffsll.c (ffsll): To here.
15956         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
15958 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15960         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
15961         if not defined.
15962         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
15963         definition.
15964         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15965         hidden ___tls_get_addr.
15966         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15967         hidden __tls_get_addr.
15968         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
15969         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
15970         Likewise.
15972 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
15974         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
15975         _dl_init call.
15977 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15979         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
15980         from "call _dl_init@PLT".
15981         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
15983 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
15985         * manual/search.texi: (Array Sort Function): Clarify stable sorting
15986         guarantees.
15988 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
15990         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
15992 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15994         [BZ #17744]
15995         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
15996         strnlen.
15998 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16000         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16001         of multu on MIPSr6.
16002         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16003         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16004         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16005         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16006         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16008 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16010         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16011         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16012         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16013         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16014         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16015         mips32r6/mips64r6.
16016         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16018 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16020         * string/strncat.c (STRNCAT): Simplify implementation.
16022 2014-12-19  David S. Miller  <davem@davemloft.net>
16024         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16025         access the quad as both a long double and as a series of 4 words.
16027         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16028         link_map->l_info array access.
16030 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16032         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16034         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16035         * math/atest-exp2.c (TIMEOUT): Likewise.
16036         * math/atest-sincos.c (TIMEOUT): Likewise.
16038 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16040         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16041         -Wno-error with -fno-builtin-lround.
16043 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16045         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16046         Contains futex constants and functions moved over from ...
16047         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16048         <lowlevellock-futex.h>.
16049         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16050         (lll_timedwait_tid): Add comments and parentheses around macro
16051         arguments.
16053 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16055         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16056         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16057         (__lll_private_flag): Remove.
16058         (lll_futex_wait): Likewise.
16059         (lll_futex_timed_wait): Likewise.
16060         (lll_futex_wake): Likewise.
16061         (lll_futex_requeue): Likewise.
16062         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16063         (__lll_timedwait_tid): Spell out argument names.
16064         (lll_timedwait_tid): Add comments and parentheses around macro
16065         arguments.
16066         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16067         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16069 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16071         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16072         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16073         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16074         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16075         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16076         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16077         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16078         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16079         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16080         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16081         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16082         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16083         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16084         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16085         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16086         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16087         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16088         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16089         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16091 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16093         * sysdeps/x86_64/x32/Makefile: New file.
16095 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16097         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16098         1L with (mp_limb_t) 1.
16100 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16102         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16103         * nptl/libc_pthread_init.c: ... here.
16104         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16105         * nptl/register-atfork.c: ... here.
16107         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16108         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16109         Use assert_perror to check its return value.
16110         (__gai_create_helper_thread): Likewise.
16112         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16114         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16116 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16118         [BZ #17725]
16119         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16120         __profil_counter.
16121         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16122         Likewise.
16123         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16124         Likewise.
16125         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16126         Likewise.
16127         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16128         (profil_counter): Likewise.
16129         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16130         (profil_counter): Likewise.
16131         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16132         Likewise.
16133         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16134         Likewise.
16135         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16136         (profil_counter): Likewise.
16137         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16138         Likewise.
16139         [!__profil_counter] (profil_counter): Define as weak alias of
16140         __profil_counter.
16141         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16142         (profil_counter): Rename to __profil_counter.
16143         [!__profil_counter] (profil_counter): Define as weak alias of
16144         __profil_counter.
16145         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16146         (profil_counter): Rename to __profil_counter.
16147         [!__profil_counter] (profil_counter): Define as weak alias of
16148         __profil_counter.
16149         * sysdeps/posix/profil.c: Update comment referring to
16150         profil_counter.
16151         (__profil): Use __profil_counter instead of profil_counter.
16152         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16153         __profil_counter.  Use __profil_counter_ushort and
16154         __profil_counter_uint in definitions.
16155         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16156         instead of profil_counter_uint and profil_counter_ushort.
16158         [BZ #17722]
16159         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16160         define as weak alias of __inet_makeaddr.
16161         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16162         as weak alias of __inet_addr.
16163         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16164         as weak alias of __inet_pton.  Use libc_hidden_weak.
16165         * include/arpa/inet.h (__inet_pton): Declare.  Use
16166         libc_hidden_proto.
16167         (inet_makeaddr): Don't use libc_hidden_proto.
16168         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16169         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16170         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16171         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16172         Remove variable.
16173         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16174         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16176 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16178         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16180 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16182         * stdio-common/bug-vfprintf-nargs.c (do_test):
16183         Cast value to intptr_t to avoid format warning
16184         for usage with PRIdPTR printing macro.
16186 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16188         * libio/tst-widetext.c (do_test):
16189         Use format type %td instead of %Zd for ptrdiff_t
16190         in order to avoid format warning.
16192 2014-12-17  Andreas Schwab  <schwab@suse.de>
16194         * nscd/mem.c (gc): Add size_t cast to match printf format.
16196 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16198         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16199         (init): Apply PTR_MANGLE to pointers before storing them.
16200         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16201         before using them.
16203 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16205         [BZ #17719]
16206         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16207         define as weak alias of __memrchr.
16208         (__memrchr): Do not define as strong alias of memrchr.
16209         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16210         Remove variable.
16211         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16212         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16213         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16215         [BZ #17717]
16216         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16217         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16218         (if_indextoname): Rename to __if_indextoname and define as weak
16219         alias of __if_indextoname.  Use libc_hidden_weak.
16220         (if_freenameindex): Rename to __if_freenameindex and define as
16221         weak alias of __if_freenameindex.
16222         (if_nameindex): Rename to __if_nameindex and define as weak alias
16223         of __if_nameindex.
16224         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16225         __if_nametoindex and define as weak alias of __if_nametoindex.
16226         Use libc_hidden_weak.
16227         (if_freenameindex): Rename to __if_freenameindex and define as
16228         weak alias of __if_freenameindex.
16229         (if_nameindex): Rename to __if_nameindex and define as weak alias
16230         of __if_nameindex.
16231         (if_indextoname): Rename to __if_indextoname and define as weak
16232         alias of __if_indextoname.  Use libc_hidden_weak.
16233         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16234         __if_nametoindex and define as weak alias of __if_nametoindex.
16235         Use libc_hidden_weak.
16236         (if_freenameindex): Rename to __if_freenameindex and define as
16237         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16238         (if_nameindex_netlink): Use __if_freenameindex instead of
16239         if_freenameindex.
16240         (if_nameindex): Rename to __if_nameindex and define as weak alias
16241         of __if_nameindex.  Use libc_hidden_weak.
16242         (if_indextoname): Rename to __if_indextoname and define as weak
16243         alias of __if_indextoname.  Use libc_hidden_weak.
16244         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16245         libc_hidden_proto.
16246         [!_ISOMAC] (__if_freenameindex): Likewise.
16247         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16248         if_nametoindex.
16249         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16250         variable.
16251         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16252         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16253         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16254         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16255         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16256         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16257         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16259         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16260         Remove variable.
16261         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16262         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16264 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16266         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16267         subscript above bounds'
16269         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16270         bounds.
16272 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16274         * libio/tst-fopenloc.c: Use test-skeleton.c.
16276         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16277         (entry): Rename to ITEM.
16278         (do_test, comp): Adjust.
16280         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16282 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16284         * string/tester.c: Include <libc-internal.h>.
16285         (test_memset): Ignore -Wmemset-transposed-args.
16287 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16289         * misc/tst-mntent2.c (do_test): Fix warning.
16291 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16293         * elf/tst-unique4lib.cc(a): Mark as used.
16295 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16297         [BZ #17630]
16298         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16299         names.
16301 2014-12-16  Allan McRae  <allan@archlinux.org>
16303         * stdio-common/Makefile (tests): Re-add bug26.
16305 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16307         [BZ #17657]
16308         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16309         static array.
16311 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16313         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16314         (__lll_lock_wait): Likewise.
16315         (__lll_timedlock_wait): Likewise.
16316         (__lll_timedwait_tid): Likewise.
16317         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16318         (__lll_robust_timedlock_wait): Likewise.
16319         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16320         (lll_cond_trylock): Likewise.
16321         (__lll_lock): Likewise.
16322         (__lll_robust_lock): Likewise.
16323         (__lll_cond_lock): Likewise.
16324         (lll_robust_cond_lock): Likewise.
16325         (__lll_timedlock): Likewise.
16326         (__lll_robust_timedlock): Likewise.
16327         (__lll_unlock): Likewise.
16328         (__lll_robust_unlock): Likewise.
16329         (lll_wait_tid): Likewise.
16330         (lll_timedwait_tid): Likewise.
16332 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16334         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16336 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16338         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16340 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16342         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16343         * stdio-common/tst-sprintf.c: Likewise.
16345 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16347         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16349 2014-12-15  Jeff Law  <law@redhat.com>
16351         [BZ #16617]
16352         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16353         on the heap.  (CVE-2012-3406)
16354         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16355         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16356         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16358 2014-12-15  Will Newton  <will.newton@linaro.org>
16360         * manual/install.texi: Bump required version of texinfo
16361         to 4.7 from 4.5.
16362         * INSTALL: Regenerated.
16363         * configure.ac: Check for makeinfo version 4.7 and above.
16364         * configure: Regenerated.
16366 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16368         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16369         PREFIX, string constant to insert between directory and name.
16370         * sysdeps/posix/shm_open.c: Update caller.
16371         * sysdeps/posix/shm_unlink.c: Likewise.
16372         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16373         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16374         (SEM_SHM_PREFIX): New macro.
16375         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16376         [$(have-thread-library) = no].
16377         * nptl/Makefile (libpthread-routines): Add shm-directory.
16378         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16379         * sysdeps/nptl/shm-directory.h: New file.
16380         * sysdeps/posix/shm-directory.c
16381         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16382         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16383         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16384         INTERNAL_SYSCALL.
16385         (__where_is_shmfs): Function removed.
16386         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16387         Variables removed.
16388         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16389         Use SHM_GET_NAME.
16390         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16392         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16393         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16394         unconditional for use inside libpthread.
16395         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16397 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16399         * nptl/pthread_getaffinity.c: New file.
16400         * nptl/pthread_setaffinity.c: New file.
16401         * nptl/pthread_getname.c: New file.
16402         * nptl/pthread_setname.c: New file.
16404         * nptl/pthread_create.c (START_THREAD_DEFN)
16405         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16407 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16408             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16410         * resolv/res_send.c (send_vc): Disable warning resplen may
16411         be used uninitialized.
16413 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16415         * nptl/tst-mutex6.c
16416         (ATTR_NULL): New define checks ATTR against NULL.
16417         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16418         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16420 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16422         [BZ #17581]
16423         * malloc/hooks.c
16424         (mem2mem_check): Revert my previous change.
16425         (malloc_check_get_size): Revert my previous change.
16426         (mem2chunk_check): Revert my previous change.
16428 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16430         * sysdeps/posix/shm-directory.c: New file.
16431         * sysdeps/posix/shm-directory.h: New file.
16432         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16433         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16434         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16435         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16436         Transmute EPERM to EACCES.
16437         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16438         from ...
16439         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16440         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16442 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16444         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16445         pointer and cast to uintptr_t.
16446         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16447         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16448         Add cast to avoid warning.
16449         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16451 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16453         * nptl/semaphore.h: Move to ...
16454         * sysdeps/pthread/semaphore.h: ... here.
16455         * Makefile (installed-headers): Change nptl/semaphore.h to
16456         sysdeps/pthread/semaphore.h.
16458 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16460         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16461         generated error format strings.
16463         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16464         -Wformat-extra-args warnings for scanf formats.
16465         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16466         test of zero-length format (duh).
16467         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16468         corner-case scanf format test.
16469         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16470         generated fprintf format string.
16471         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16472         corner-case sprintf format tests.
16473         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16474         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16475         -Wformat-extra-args warnings throughout.
16476         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16477         (CFLAGS-scanf4.c): Likewise.
16478         (CFLAGS-scanf7.c): Likewise.
16479         (CFLAGS-tst-sprintf.c): Likewise.
16480         (CFLAGS-tst-printf.c): Likewise.
16481         (CFLAGS-tst-printfsz.c): Likewise.
16483 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16485         * include/cpio.h: New file.
16486         * include/fmtmsg.h: Likewise.
16488         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16489         corresponding format argument to size_t.
16490         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16491         arguments.
16492         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16493         corresponding format argument to size_t.
16494         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16495         arguments.
16496         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16497         corresponding format argument to size_t.
16498         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16499         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16500         (CFLAGS-tst-mbswcs2.c): Likewise.
16501         (CFLAGS-tst-mbswcs3.c): Likewise.
16502         (CFLAGS-tst-mbswcs4.c): Likewise.
16503         (CFLAGS-tst-mbswcs5.c): Likewise.
16504         (CFLAGS-tst-trans.c): Likewise
16506 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16508         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16509         rather than assuming they won't contain any '%'s.
16511 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16513         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16514         inhibit_loop_to_libcall to avoid recursive calls.
16515         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16516         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16518 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16520         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16521         prototype.
16523 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16525         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16526         integer value instead of boolean.
16528 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16530         * malloc/malloc.c: Fix powerof2 check.
16532 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16534         * locale/programs/locfile.h (maybe_swap_uint32):
16535         Remove inline and add unused attribute.
16537 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16539         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16540         Truncating assembler expression to a .long expression.
16542 2014-12-11  Andreas Schwab  <schwab@suse.de>
16544         * elf/rtld.c (struct map_args): Constify str member.
16545         (do_preload): Constify fname argument.
16547 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16549         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16550         constants definition.
16552 2014-12-11  Andreas Schwab  <schwab@suse.de>
16554         [BZ #16657]
16555         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16556         FORCE_ELISION instead of DO_ELISION.
16557         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16558         Remove.
16559         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16560         Likewise.
16562         * iconvdata/gconv-modules: Remove duplicate entry.
16564 2014-12-11  Will Newton  <will.newton@linaro.org>
16566         Merge gettext 0.19.3 into intl/.
16568         This involves a number of cosmetic changes to comments
16569         and ANSI function definitions and prototypes throughout
16570         all the files. The gettext copyright header is used but
16571         with the date ranges taken from the glibc copy.
16573         * NEWS: Add gettext merge to 2.21.
16574         * intl/bindtextdom.c: Switch to gettext copyright.
16575         Use ANSI definitions and prototypes.
16576         Use gl_* locking primitives rather than __libc_* ones.
16577         Use __builtin_expect rather than __glibc_likely/unlikely.
16578         * intl/dcgettext.c: Switch to gettext copyright.
16579         Use ANSI definitions and prototypes.
16580         * intl/dcigettext.c: Switch to gettext copyright.
16581         Use ANSI definitions and prototypes.
16582         (INTDIV0_RAISES_SIGFPE): New define.
16583         Use gl_* locking primitives rather than __libc_* ones.
16584         Include eval-plural.h instead of plural-eval.c.
16585         Use __builtin_expect rather than __glibc_likely/unlikely.
16586         * intl/dcngettext.c: Switch to gettext copyright.
16587         Use ANSI definitions and prototypes.
16588         * intl/dgettext.c: Likewise.
16589         * intl/dngettext.c: Likewise.
16590         * intl/plural-eval.c: Renamed to...
16591         * intl/eval-plural.h: ...this.
16592         * intl/explodename.c: Switch to gettext copyright.
16593         Use ANSI definitions and prototypes.
16594         (_nl_explode_name): Use strchr instead of __rawmemchr.
16595         * intl/finddomain.c: Switch to gettext copyright.
16596         Use ANSI definitions and prototypes.
16597         Use gl_* locking primitives rather than __libc_* ones.
16598         (_nl_find_domain): Use malloc rather than alloca for
16599         allocation of temporary locale name.
16600         * intl/gettext.c: Switch to gettext copyright.
16601         Use ANSI definitions and prototypes.
16602         * intl/gettextP.h: Switch to gettext copyright.
16603         Use ANSI definitions and prototypes.
16604         Use gl_* locking primitives rather than __libc_* ones.
16605         * intl/gmo.h: Switch to gettext copyright.
16606         (struct sysdep_string): Move struct segment_pair outside of
16607         struct definition.
16608         * intl/hash-string.c: Use ANSI definitions and prototypes.
16609         * intl/hash-string.h: Switch to gettext copyright.
16610         Use ANSI definitions and prototypes.
16611         * intl/l10nflist.c: Switch to gettext copyright.
16612         Use ANSI definitions and prototypes.
16613         (_nl_normalize_codeset): Avoid integer overflow.
16614         * intl/loadinfo.h: Switch to gettext copyright.
16615         Use ANSI definitions and prototypes.
16616         (LIBINTL_DLL_EXPORTED): New define.
16617         (PATH_SEPARATOR): New define.
16618         * intl/loadmsgcat.c: Switch to gettext copyright.
16619         * intl/localealias.c: Switch to gettext copyright.
16620         Use ANSI definitions and prototypes.
16621         (_nl_expand_alias): Use PATH_SEPARATOR.
16622         * intl/ngettext.c: Switch to gettext copyright.
16623         Use ANSI definitions and prototypes.
16624         * intl/plural-exp.c: Likewise.
16625         * intl/plural-exp.h: Switch to gettext copyright.
16626         Use ANSI definitions and prototypes.
16627         (struct expression): Move definition of enum operator outside
16628         of struct definition.
16629         * intl/plural.c: Regenerate.
16630         * intl/plural.y: Switch to gettext copyright.
16631         Use ANSI definitions and prototypes.
16632         Port to bison 3.0.
16633         * intl/textdomain.c: Switch to gettext copyright.
16634         Use ANSI definitions and prototypes.
16635         Use gl_* locking primitives rather than __libc_* ones.
16637 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16639         * debug/warning-nop.c: Add used atrribute.
16641 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16643         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16645         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16646         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16647         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16649 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16650             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16652         [BZ #17634]
16653         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16654         Undefine after defining function.  Define as weak alias of
16655         __wcschr.  Use libc_hidden_weak.
16656         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16657         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16658         (libc_hidden_def): Also define __GI___wcschr alias.
16659         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16660         __wcschr and define as weak alias of __wcschr.
16661         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16662         __wcschr.
16663         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16664         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16665         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16666         libc_hidden_weak.  Do not use libc_hidden_def.
16667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16668         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16669         __GI___wcschr alias.
16670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16671         [IS_IN (libc)] (wcschr): Define as macro expanding to
16672         __redirect_wcschr.
16673         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16674         [IS_IN (libc)] (__wcschr_power6): Likewise.
16675         [IS_IN (libc)] (__wcschr_power7): Likewise.
16676         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16677         instead of wcschr.
16678         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16679         __libc_wcschr.
16680         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16681         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16682         __wcschr and define as weak alias of __wcschr.  Use
16683         libc_hidden_builtin_def.
16684         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16685         as weak alias of __wcschr.  Use libc_hidden_weak.
16686         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16687         wcschr.
16688         * time/era.c (_nl_init_era_entries): Likewise.
16689         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16690         variable.
16691         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16692         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16694 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16696         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16697         format for long int variable.
16699 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16701         [BZ #10672]
16702         * manual/search.texi: (Array Sort Function): Remove claim how to make
16703         qsort stable.
16705 2014-12-10  Andreas Schwab  <schwab@suse.de>
16707         [BZ #12847]
16708         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16709         user-controlled locks.
16711 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16713         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16714         register.
16716 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16718         * configure.ac (--disable-werror): New configure option.
16719         (enable_werror): New AC_SUBST.
16720         * configure: Regenerated.
16721         * config.make.in (enable-werror): New variable.
16722         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16723         -Wno-error=undef.
16724         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16725         * manual/install.texi (Configuring and compiling): Document
16726         --disable-werror.
16727         * INSTALL: Regenerated.
16728         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16729         (CFLAGS-tst-chk2.c): Likewise.
16730         (CFLAGS-tst-chk3.c): Likewise.
16731         (CFLAGS-tst-chk4.cc): Likewise.
16732         (CFLAGS-tst-chk5.cc): Likewise.
16733         (CFLAGS-tst-chk6.cc): Likewise.
16734         (CFLAGS-tst-lfschk1.c): Likewise.
16735         (CFLAGS-tst-lfschk2.c): Likewise.
16736         (CFLAGS-tst-lfschk3.c): Likewise.
16737         (CFLAGS-tst-lfschk4.cc): Likewise.
16738         (CFLAGS-tst-lfschk5.cc): Likewise.
16739         (CFLAGS-tst-lfschk6.cc): Likewise.
16741         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16742         (main): Disable -Wdeprecated-declarations around calls to
16743         register_printf_function.
16745         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16746         (do_test): Disable -Wdiv-by-zero around some calls to
16747         fwrite_unlocked and fread_unlocked.
16749         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16750         (DIAG_POP_NEEDS_COMMENT): Likewise.
16751         (_DIAG_STR1): Likewise.
16752         (_DIAG_STR): Likewise.
16753         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16754         * stdio-common/bug21.c: Include <libc-internal.h>.
16755         (do_test): Disable -Wformat around call to sscanf.
16756         * stdio-common/scanf14.c: Include <libc-internal.h>.
16757         (main): Disable -Wformat around some calls to scanf functions.
16759 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16761         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16763 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16765         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16766         stack variable alignment.
16768 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16770         [BZ #17682]
16771         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16772         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16773         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16774         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16775         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16776         __getrlimit instead of getrlimit.
16777         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16778         __gettimeofday instead of gettimeofday.
16779         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16780         Likewise.
16781         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16782         Likewise.
16783         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16784         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16785         Remove variable.
16786         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16787         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16789 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16791         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16792         for wide-character tests.
16794 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16796         * io/openat64.c: #include <libc-internal.h>
16797         (__openat64): Prototypify.  Use ignore_value on MODE.
16798         * io/openat.c: Likewise.
16799         * misc/reboot.c: #include <libc-internal.h>
16800         (reboot): Prototypify.  Use ignore_value on HOWTO.
16801         * misc/ptrace.c: #include <libc-internal.h>
16802         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16804 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16806         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16807         XPG4, UNIX98 and XOPEN2K.
16808         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16809         Remove variable.
16810         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16812 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16814         * libio/fileops.c: Use ISO C style for function definitions.
16815         * libio/iofopen.c: Likewise.
16816         * libio/wfileops.c: Likewise.
16818         [BZ #17653]
16819         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16820         offset on EOF.
16821         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16822         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16823         (fgets_func): Function pointer to fgets and fgetws.
16824         (do_ftell_test): Add test to verify ftell value after read
16825         EOF.
16826         (do_test): Set fgets_func.
16828         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16829         O_TRUNC flag for w and w+ modes.
16830         (do_rewind_test): Likewise.
16831         (do_ftell_test): Likewise.
16832         (do_write_test): Likewise.
16834         [BZ #17647]
16835         * libio/fileops.c (do_ftell): Seek only when there are
16836         unflushed writes.
16837         * libio/wfileops.c (do_ftell_wide): Likewise.
16838         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16839         test case.
16840         (do_one_test): Call it.
16842 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16844         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16845         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16846         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16847         Remove variable.
16848         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16849         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16850         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16852 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16854         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16855         Remove variable.
16856         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16858         [BZ #17668]
16859         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16860         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16861         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16862         __freeifaddrs.  Use libc_hidden_weak.
16863         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16864         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16865         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16866         __freeifaddrs.  Use libc_hidden_weak.
16867         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16868         __getifaddrs and define as weak alias of __getifaddrs.  Use
16869         libc_hidden_weak.
16870         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16871         __freeifaddrs.  Use libc_hidden_weak.
16872         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16873         Remove variable.
16874         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16875         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16877 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16879         [BZ #17601]
16880         * sysdeps/mips/start.S (__start): Use indirect jump to call
16881         __libc_start_main.
16883 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16885         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
16887         * nptl/tst-mutex1.c: Include <stdbool.h>.
16888         [!ATTR] (ATTR_NULL): New macro.
16889         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
16890         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
16891         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
16893         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
16894         to char *.
16896         [BZ #17665]
16897         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
16898         Change conditional to [__USE_MISC].
16900         [BZ #17664]
16901         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
16902         fgets_unlocked.
16903         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
16904         __fgets_unlocked.
16905         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
16906         fgets_unlocked.
16907         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
16908         Remove variable.
16909         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16910         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16911         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16912         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16913         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16914         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16915         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16916         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16917         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16919         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
16921 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16923         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16924         Remove strpbrk objects.
16925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16926         (__libc_ifunc_impl_list): Remove strpbrk implementation.
16927         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
16928         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
16929         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
16930         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
16932         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16933         Remove strcspn objects.
16934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16935         (__libc_ifunc_impl_list): Remove strcspn implementation.
16936         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
16937         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
16938         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
16939         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
16941         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16942         Remove strspn objetcs.
16943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16944         (__libc_ifunc_impl_list): Remove strspn implementation.
16945         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
16946         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16947         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
16948         * sysdeps/powerpc/powerpc64/strspn.S: New file.
16950 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
16952         [BZ #17581]
16953         * malloc/hooks.c
16954         (mem2mem_check): Add a terminator to the chain of checking blocks.
16955         (malloc_check_get_size): Use it here.
16956         (mem2chunk_check): Ditto.
16958 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16960         * sysdeps/powerpc/powerpc64/strtok.S: New file.
16961         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
16963 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
16965         * bits/ioctl-types.h: Indent preprocessor directives correctly.
16967         * nptl/nptl-init.c: Include libc-internal.h.
16968         (__pthread_initialize_minimal_internal): Use ROUND_UP.
16970         * elf/ldconfig.c (search_dir): Expand comment.
16972 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
16974         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
16975         variable.
16976         (linknamespace-symlist-stdlibs-tests): Likewise.
16977         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
16978         instead of $(objpfx)symlist-stdlibs.
16979         (linknamespace-libs-isoc): New variable.
16980         (linknamespace-libs): Use $(linknamespace-libs-isoc).
16981         (linknamespace-libs-ISO): New variable.
16982         (linknamespace-libs-ISO99): Likewise.
16983         (linknamespace-libs-ISO11): Likewise.
16984         (linknamespace-libs-XPG3): Likewise.
16985         (linknamespace-libs-XPG4): Likewise.
16986         (linknamespace-libs-POSIX): Likewise.
16987         (linknamespace-libs-UNIX98): Likewise.
16988         (linknamespace-libs-XOPEN2K): Likewise.
16989         (linknamespace-libs-POSIX2008): Likewise.
16990         (linknamespace-libs-XOPEN2K8): Likewise.
16991         ($(objpfx)symlist-stdlibs): Replace by
16992         $(linknamespace-symlist-stdlibs-tests).  Use
16993         $(linknamespace-libs-$*) as set of libraries.
16994         ($(linknamespace-header-tests)): Update dependencies.  Use
16995         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
16996         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
16997         * conform/linknamespace.pl: Remove comment about considering
16998         definitions of symbols from irrelevant libraries.
17000 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17002         [BZ #13862]
17003         * elf/dl-tls.c: Include <atomic.h>.
17004         (oom): Remove #ifdef SHARED/#endif.
17005         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17006         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17007         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17008         big enough.
17009         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17010         * nptl/Makefile (tests): Add tst-stack4.
17011         (modules-names): Add tst-stack4mod.
17012         ($(objpfx)tst-stack4): New.
17013         (tst-stack4mod.sos): Likewise.
17014         ($(objpfx)tst-stack4.out): Likewise.
17015         ($(tst-stack4mod.sos)): Likewise.
17016         (clean): Likewise.
17017         * nptl/tst-stack4.c: New file.
17018         * nptl/tst-stack4mod.c: Likewise.
17020 2014-11-27  J. Brown  <jb999@gmx.de>
17022         * sysdeps/x86/bits/string.h: Add recent CPUs.
17024 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17026         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17027         sigblock.
17029         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17030         feof.
17032         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17033         variable.
17035 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17037         * nscd/connections.c: Include libc-internal.h because of macro
17038         usage ignore_value.
17040 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17042         * string/bits/string3.h (__warn_memset_zero_len): Don't
17043         declare for gcc newer than 5.0.
17044         (memset): Don't test for zero-length __LEN for gcc newer than
17045         5.0.
17047 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17049         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17050         size_t for %zu format.
17052         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17053         difference, not %ju.
17055 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17057         * include/libc-internal.h (ignore_value): New macro.
17058         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17059         with ignore_value.
17061         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17062         definition.
17064         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17065         pthread_cleanup_push to void *.
17067         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17068         Undefine.
17070         [BZ #16619]
17071         [BZ #16740]
17072         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17073         instead of 1L << 52.
17075         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17076         * libio/bug-rewind2.c (do_test): Likewise.
17078         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17079         * debug/test-strcpy_chk-ifunc.c: Likewise.
17080         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17081         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17082         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17083         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17084         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17085         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17086         * Rules [$(multi-arch) = no] (tests): Do not filter out
17087         $(tests-ifunc).
17088         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17089         * debug/Makefile (tests-ifunc): Remove variable.
17090         (tests): Do not add $(tests-ifunc).
17091         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17092         (tests): Do not add $(tests-ifunc).
17093         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17094         [TEST_IFUNC]: Remove conditionals.
17095         * string/test-string.h (TEST_IFUNC): Remove macro.
17096         [TEST_IFUNC]: Remove conditionals.
17098         * string/test-strchr.c [!WIDE] (L): New macro.
17099         [WIDE] (L): Likewise.
17100         (check1): Use CHAR instead of char.  Use L on string and character
17101         constants.
17103 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17105         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17106         tests.
17107         * sysdeps/powerpc/bits/atomic.h
17108         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17109         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17110         (atomic_exchange_and_add_acq): Likewise.
17111         (atomic_exchange_and_add_rel): Likewise.
17112         * sysdeps/powerpc/powerpc32/bits/atomic.h
17113         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17114         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17115         * sysdeps/powerpc/powerpc64/bits/atomic.h
17116         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17117         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17119 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17121         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17122         Change synchronization of __sched_fifo_min_prio and
17123         __sched_fifo_max_prio.
17124         * nptl/pthread_mutexattr_getprioceiling.c
17125         (pthread_mutexattr_getprioceiling): Likewise.
17126         * nptl/pthread_mutexattr_setprioceiling.c
17127         (pthread_mutexattr_setprioceiling): Likewise.
17128         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17129         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17130         Likewise.
17132 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17134         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17135         void.
17137 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17139         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17140         third argument const.
17142 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17144         fnmatch: work around GCC compiler warning bug with uninit var
17145         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17146         This works around a bug with x86-64 GCC 4.9.2 and earlier
17147         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17148         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17149         used uninitialized in this function [-Wmaybe-uninitialized]".
17151 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17153         * posix/bug-regex31.c (main): Return RES not 0.
17155 2014-11-25  Anton Blanchard <anton@samba.org>
17157         * sysdeps/powerpc/bits/atomic.h
17158         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17160 2014-11-24  Sterling Augustine  <saugustine@google.com>
17162         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17164 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17166         [BZ #17608]
17167         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17169 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17171         [BZ #17633]
17172         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17173         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17174         variable.
17175         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17176         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17178 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17180         * string/strncpy.c (strncpy): Improve performance by using memset.
17182 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17184         * string/strcpy.c (strcpy):
17185         Improve performance by using strlen and memcpy.
17187 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17189         * string/strcoll_l.c (get_next_seq): __always_inline.
17190         * string/strcoll_l.c (do_compare): __always_inline.
17192 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17194         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17195         defined.
17196         * include/mqueue.h: Likewise.
17197         * include/stdlib.h: Likewise.
17199         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17200         (get_null_defines): Adjust.
17201         * sunrpc/Makefile: Adjust comment.
17202         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17203         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17204         (CFLAGS-interp.c): Likewise.
17205         (CFLAGS-ldconfig.c): Likewise.
17206         (CPPFLAGS-.os): Likewise.
17207         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17208         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17209         * extra-modules.mk (extra-modules.mk): Likewise.
17210         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17211         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17212         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17213         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17214         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17215         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17216         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17217         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17218         * iconvdata/Makefile (CPPFLAGS): Likewise.
17219         (cpp-srcs-left): Add libof for all iconvdata routines.
17220         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17221         * include/assert.h: Likewise.
17222         * include/ctype.h: Likewise.
17223         * include/errno.h: Likewise.
17224         * include/libc-symbols.h: Likewise.
17225         * include/math.h: Likewise.
17226         * include/netdb.h: Likewise.
17227         * include/resolv.h: Likewise.
17228         * include/stdio.h: Likewise.
17229         * include/stdlib.h: Likewise.
17230         * include/string.h: Likewise.
17231         * include/sys/stat.h: Likewise.
17232         * include/wctype.h: Likewise.
17233         * intl/l10nflist.c: Likewise.
17234         * libidn/idn-stub.c: Likewise.
17235         * libio/libioP.h: Likewise.
17236         * nptl/libc_multiple_threads.c: Likewise.
17237         * nptl/pthreadP.h: Likewise.
17238         * posix/regex_internal.h: Likewise.
17239         * resolv/res_hconf.c: Likewise.
17240         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17241         * sysdeps/arm/memmove.S: Likewise.
17242         * sysdeps/arm/sysdep.h: Likewise.
17243         * sysdeps/generic/_itoa.h: Likewise.
17244         * sysdeps/generic/symbol-hacks.h: Likewise.
17245         * sysdeps/gnu/errlist.awk: Likewise.
17246         * sysdeps/gnu/errlist.c: Likewise.
17247         * sysdeps/i386/i586/memcpy.S: Likewise.
17248         * sysdeps/i386/i586/memset.S: Likewise.
17249         * sysdeps/i386/i686/memcpy.S: Likewise.
17250         * sysdeps/i386/i686/memmove.S: Likewise.
17251         * sysdeps/i386/i686/mempcpy.S: Likewise.
17252         * sysdeps/i386/i686/memset.S: Likewise.
17253         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17254         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17255         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17256         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17257         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17258         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17259         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17260         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17261         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17262         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17263         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17264         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17265         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17266         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17267         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17268         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17269         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17270         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17271         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17272         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17273         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17274         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17275         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17276         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17277         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17278         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17279         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17280         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17281         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17282         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17283         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17284         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17285         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17286         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17287         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17288         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17289         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17290         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17291         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17292         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17293         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17294         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17295         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17296         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17297         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17298         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17299         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17300         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17301         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17302         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17303         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17304         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17305         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17306         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17307         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17308         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17309         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17310         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17311         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17312         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17313         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17314         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17315         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17316         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17317         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17318         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17319         * sysdeps/posix/closedir.c: Likewise.
17320         * sysdeps/posix/opendir.c: Likewise.
17321         * sysdeps/posix/readdir.c: Likewise.
17322         * sysdeps/posix/rewinddir.c: Likewise.
17323         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17324         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17325         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17326         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17327         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17328         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17329         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17334         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17335         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17336         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17337         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17338         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17339         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17340         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17341         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17342         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17343         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17344         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17345         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17346         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17347         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17348         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17349         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17350         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17351         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17353         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17358         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17359         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17360         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17361         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17362         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17363         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17364         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17365         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17366         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17367         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17368         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17369         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17370         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17371         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17372         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17373         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17374         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17377         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17378         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17379         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17380         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17381         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17382         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17383         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17384         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17385         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17386         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17387         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17388         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17389         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17390         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17391         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17392         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17393         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17394         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17395         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17396         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17397         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17398         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17399         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17400         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17401         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17402         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17403         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17404         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17405         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17406         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17407         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17408         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17409         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17410         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17411         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17412         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17413         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17414         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17415         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17417         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17418         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17419         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17420         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17421         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17422         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17423         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17424         * sysdeps/unix/alpha/sysdep.S: Likewise.
17425         * sysdeps/unix/alpha/sysdep.h: Likewise.
17426         * sysdeps/unix/make-syscalls.sh: Likewise.
17427         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17428         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17429         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17430         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17431         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17432         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17433         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17434         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17435         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17436         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17437         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17438         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17439         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17440         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17441         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17442         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17443         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17444         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17445         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17446         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17447         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17448         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17449         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17450         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17451         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17452         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17453         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17456         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17457         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17459         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17461         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17463         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17464         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17465         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17466         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17467         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17468         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17469         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17470         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17471         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17472         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17473         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17474         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17475         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17476         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17477         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17478         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17479         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17480         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17481         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17482         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17483         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17485         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17486         * sysdeps/x86_64/memcpy.S: Likewise.
17487         * sysdeps/x86_64/memmove.c: Likewise.
17488         * sysdeps/x86_64/memset.S: Likewise.
17489         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17490         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17491         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17492         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17493         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17494         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17495         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17496         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17497         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17498         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17499         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17500         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17501         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17502         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17503         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17504         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17505         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17506         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17507         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17508         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17509         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17510         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17511         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17512         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17513         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17514         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17515         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17516         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17517         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17518         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17519         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17520         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17521         * sysdeps/x86_64/strcmp.S: Likewise.
17523         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17525         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17526         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17527         * elf/rtld-Rules: Likewise.
17528         * elf/setup-vdso.h: Likewise.
17529         * include/assert.h: Likewise.
17530         * include/bits/stdlib-float.h: Likewise.
17531         * include/errno.h: Likewise.
17532         * include/sys/stat.h: Likewise.
17533         * include/unistd.h: Likewise.
17534         * sysdeps/aarch64/setjmp.S: Likewise.
17535         * sysdeps/alpha/setjmp.S: Likewise.
17536         * sysdeps/arm/__longjmp.S: Likewise.
17537         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17538         * sysdeps/arm/setjmp.S: Likewise.
17539         * sysdeps/arm/sysdep.h: Likewise.
17540         * sysdeps/generic/_itoa.h: Likewise.
17541         * sysdeps/generic/dl-sysdep.h: Likewise.
17542         * sysdeps/generic/ldsodefs.h: Likewise.
17543         * sysdeps/i386/dl-tls.h: Likewise.
17544         * sysdeps/i386/setjmp.S: Likewise.
17545         * sysdeps/m68k/setjmp.c: Likewise.
17546         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17547         * sysdeps/mach/hurd/opendir.c: Likewise.
17548         * sysdeps/posix/getcwd.c: Likewise.
17549         * sysdeps/posix/opendir.c: Likewise.
17550         * sysdeps/posix/profil.c: Likewise.
17551         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17552         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17553         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17554         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17555         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17556         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17557         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17558         * sysdeps/s390/dl-tls.h: Likewise.
17559         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17560         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17561         * sysdeps/sh/sh3/setjmp.S: Likewise.
17562         * sysdeps/sh/sh4/setjmp.S: Likewise.
17563         * sysdeps/unix/alpha/sysdep.h: Likewise.
17564         * sysdeps/unix/arm/sysdep.S: Likewise.
17565         * sysdeps/unix/i386/sysdep.S: Likewise.
17566         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17567         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17568         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17569         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17570         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17571         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17572         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17573         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17574         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17575         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17576         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17577         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17578         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17581         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17584         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17585         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17586         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17587         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17588         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17589         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17590         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17591         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17593         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17594         * sysdeps/x86_64/setjmp.S: Likewise.
17596         * include/math.h: Use IS_IN instead of IS_IN_libm.
17597         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17598         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17599         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17600         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17601         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17602         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17603         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17604         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17605         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17606         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17607         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17608         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17609         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17610         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17611         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17612         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17613         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17614         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17615         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17616         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17617         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17618         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17619         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17620         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17621         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17622         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17623         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17624         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17625         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17626         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17627         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17628         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17629         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17631         Likewise.
17632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17633         Likewise.
17634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17635         Likewise.
17636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17637         Likewise.
17638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17639         Likewise.
17640         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17641         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17642         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17643         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17644         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17645         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17651         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17652         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17653         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17654         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17655         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17656         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17657         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17658         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17659         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17660         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17661         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17662         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17663         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17664         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17666         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17668         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17669         * nptl/pthreadP.h: Likewise.
17670         * nptl_db/structs.def: Likewise.
17671         * sysdeps/arm/sysdep.h: Likewise.
17672         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17673         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17674         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17675         * sysdeps/unix/alpha/sysdep.h: Likewise.
17676         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17677         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17678         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17679         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17680         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17681         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17683         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17684         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17685         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17686         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17687         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17688         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17689         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17694         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17696         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17697         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17698         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17699         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17700         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17701         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17703         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17704         * nptl/pthreadP.h: Likewise.
17705         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17706         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17707         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17708         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17709         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17710         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17711         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17712         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17713         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17714         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17715         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17716         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17718         Likewise.
17719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17720         Likewise.
17721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17723         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17726         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17727         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17728         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17730         * dlfcn/dladdr.c: Use IS_IN.
17731         * dlfcn/dladdr1.c: Likewise.
17732         * dlfcn/dlclose.c: Likewise.
17733         * dlfcn/dlerror.c: Likewise.
17734         * dlfcn/dlinfo.c: Likewise.
17735         * dlfcn/dlmopen.c: Likewise.
17736         * dlfcn/dlopen.c: Likewise.
17737         * dlfcn/dlsym.c: Likewise.
17738         * dlfcn/dlvsym.c: Likewise.
17740         * include/ifaddrs.h: Use IS_IN.
17741         * inet/check_pf.c: Likewise.
17742         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17743         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17745         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17746         IS_IN_ldconfig.
17747         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17748         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17750         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17751         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17752         IS_IN (libc).
17754         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17756         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17757         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17758         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17759         * include/libc-symbols.h (IS_IN_LIB): New macro.
17760         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17761         * include/netdb.h: Likewise.
17762         * include/stap-probe.h: Remove all uses of IN_LIB.
17764         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17765         instead of IN_MODULE.
17766         * include/libc-symbols.h (IN_MODULE): Define using
17767         MODULE_NAME.
17768         (PASTE_NAME, PASTE_NAME1): New macros.
17769         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17770         of IN_LIB.
17771         (STAP_PROBE_ASM): Likewise.
17773 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17775         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17776         __mach_init in dlopened libc.
17778 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17780         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17781         * sysdeps/arm/preconfigure: Regenerate.
17783 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17785         * nptl/pthread_create.c (__pthread_create_2_1): Set
17786         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17787         when copying values from IATTR into PD.
17789 2014-11-21  Will Newton  <will.newton@linaro.org>
17790             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17792         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17793         Refactor inline-asm.  Also add comment.
17795         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17796         ElfW macro instead of hardcoded Elf64 types.
17797         (la_aarch64_gnu_pltenter): Likewise.
17798         * sysdeps/aarch64/dl-machine.h
17799         (elf_machine_runtime_setup): Use ElfW(Addr).
17801         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17802         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17803         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17804         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17805         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17806         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17807         (R_AARCH64_TLS_DTPMOD): This.
17808         (R_AARCH64_TLS_DTPREL64): Rename to ...
17809         (R_AARCH64_TLS_DTPREL): This.
17810         (R_AARCH64_TLS_TPREL64): Rename to ...
17811         (R_AARCH64_TLS_TPREL): This.
17812         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17813         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17814         R_AARCH64_TLS_TPREL64.
17815         (elf_machine_rela): Likewise.
17817 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17819         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17820         by setting it to 0.  64b atomics are not supported currently.
17822 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17824         [BZ #16469]
17825         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17826         search domain names.
17828 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17830         [BZ #16469]
17831         * NEWS: Update.
17832         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17833         trailing dot.
17834         * posix/tst-getaddrinfo5.c: New.
17835         * posix/Makefile (tests): Add it.
17837 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17839         [BZ #14498]
17840         * NEWS: Fixed.
17841         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17842         after parsing line but before break_if_match.
17843         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17844         if there is a protocol mismatch.
17846 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17848         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17849         because the potential race is on the user-supplied stream.
17851 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17853         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17854         string literal if not passed a buffer.
17855         * manual/job.texi (ctermid): Update reasoning, note deviation
17856         from posix, suggest mtasurace when not passed a buffer, for
17857         future non-preliminary safety notes.
17859 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17861         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17862         of not passing it a buffer.
17863         Reported by Peng Haitao.
17865 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17867         * manual/Makefile ($(objpfx)stamp-summary): Require
17868         check-safety.sh to pass.
17869         * manual/check-safety.sh: Wish for verification that every
17870         @deftypefn and @deftypefun is followed by a @safety remark.
17872 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17874         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17876         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17877         PTHREAD_CANCEL_ASYNCHRONOUS.
17878         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
17879         send SIGCANCEL.
17881         * nptl/default-sched.h: New file.
17882         * sysdeps/unix/sysv/linux/default-sched.h: New file.
17883         * nptl/pthread_create.c: Include it.
17884         (__pthread_create_2_1): Use collect_default_sched instead of making
17885         Linux syscalls here directly.
17887 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17889         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
17890         __pthread_once): Use C11 atomics.
17892 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17894         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
17896 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17898         * include/atomic.h (__atomic_link_error, __atomic_check_size,
17899         atomic_thread_fence_acquire, atomic_thread_fence_release,
17900         atomic_thread_fence_seq_cst, atomic_load_relaxed,
17901         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
17902         atomic_compare_exchange_weak_relaxed,
17903         atomic_compare_exchange_weak_acquire,
17904         atomic_compare_exchange_weak_release,
17905         atomic_exchange_acquire, atomic_exchange_release,
17906         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
17907         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
17908         atomic_fetch_and_acquire,
17909         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
17911 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17913         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
17914         USE_ATOMIC_COMPILER_BUILTINS): Define.
17915         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
17916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17917         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
17918         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17919         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
17920         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17921         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
17922         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17923         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
17924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17925         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
17926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17927         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
17928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17929         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
17930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17931         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17933         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17935         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
17936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17937         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17939         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
17940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17941         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17943         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
17944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17945         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
17946         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17947         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
17948         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17949         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17950         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17951         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
17952         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17953         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
17954         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17956 2014-11-19  Roland McGrath  <roland@hack.frob.com>
17958         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
17959         the sched_priority value here.  It was already checked when the user
17960         called pthread_attr_setschedparam.
17962         * nptl/tst-bad-schedattr.c: New file.
17963         * nptl/Makefile (tests): Add it.
17965 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
17966             Florian Weimer  <fweimer@redhat.com>
17967             Joseph Myers  <joseph@codesourcery.com>
17968             Adam Conrad  <adconrad@0c3.net>
17969             Andreas Schwab  <schwab@suse.de>
17970             Brooks  <bmoses@google.com>
17972         [BZ #17625]
17973         * wordexp-test.c (__dso_handle): Add prototype.
17974         (__register_atfork): Likewise.
17975         (__app_register_atfork): New function.
17976         (registered_forks): New global.
17977         (register_fork): New function.
17978         (test_case): Add 3 new tests for WRDE_CMDSUB.
17979         (main): Call __app_register_atfork.
17980         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
17981         fork count is non-zero fail the test.
17982         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
17983         is set.
17984         (parse_dollars): Remove check for WRDE_NOCMD.
17985         (parse_dquote): Likewise.
17987 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17989         * Makeconfig (built-modules): List non-library modules to be
17990         built.
17991         (module-cppflags): Include libc-modules.h for
17992         everything except shlib-versions.v.i.
17993         (CPPFLAGS): Use it.
17994         (before-compile): Add libc-modules.h.
17995         ($(common-objpfx)libc-modules.h,
17996         $(common-objpfx)libc-modules.stmp): New targets.
17997         (common-generated): Add libc-modules.h and libc-modules.stmp.
17998         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
17999         * include/libc-symbols.h: Don't include libc-modules.h.
18000         * include/libc-modules.h: Remove file.
18001         * scripts/gen-libc-modules.awk: New script to generate
18002         libc-modules.h.
18003         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18004         Depend on libc-modules.stmp.
18006         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18008         * Makeconfig (in-module): Get value of libof set for the
18009         translation unit.
18010         (CPPFLAGS): Use $(in-module).
18011         * Makerules: Don't suffix routine names for nonlib.
18012         * include/libc-modules.h: New file.
18013         * include/libc-symbols.h: Include libc-modules.h
18014         (IS_IN): New macro to replace IS_IN_* macros.
18015         * elf/Makefile: Set libof-* for each routine.
18016         * elf/rtld-Rules: Likewise.
18017         * extra-modules.mk: Likewise.
18018         * iconv/Makefile: Likewise.
18019         * iconvdata/Makefile: Likewise.
18020         * locale/Makefile: Likewise.
18021         * malloc/Makefile: Likewise.
18022         * nss/Makefile: Likewise.
18023         * sysdeps/gnu/Makefile: Likewise.
18024         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18025         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18026         * sysdeps/s390/s390-64/Makefile: Likewise.
18027         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18028         CPPFLAGS for nscd instead of nonlib.
18030 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18032         * nptl/createthread.c: New file.
18034         * nptl/createthread.c: Moved ...
18035         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18037         * nptl/createthread.c: Add proper top-line comment.
18038         (do_clone): Folded into ...
18039         (create_thread): ... here.  Take new arguments STOPPED_START and
18040         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18041         increment __nptl_threads, do event-reporting logic, do
18042         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18043         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18044         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18045         just send SIGCANCEL.
18046         * nptl/pthread_create.c: Forward-declare create_thread before
18047         including createthread.c.
18048         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18049         declaration, and new macro START_THREAD_SELF to replace argument.
18050         Remove return statement.
18051         (report_thread_creation): New function.
18052         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18053         synchronization logic, and __nptl_nthreads increment here, around
18054         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18055         PD->parent_cancelhandling here, before create_thread.  When
18056         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18057         __deallocate_stack, and ENOMEM translation here.
18059 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18061         [BZ #17616]
18062         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18063         (mptwo): Rename to __mptwo.
18064         (__inv): Use __mptwo instead of mptwo.
18065         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18066         (mptwo): Rename to __mptwo.
18067         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18068         of mpone and __mptwo instead of mptwo.
18069         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18070         instead of mpone.
18071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18072         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18073         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18074         of mpone and __mptwo instead of mptwo.
18075         (__mpranred): Use __mpone instead of mpone.
18076         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18077         variable.
18078         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18079         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18080         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18081         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18082         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18083         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18084         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18085         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18086         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18087         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18088         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18089         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18090         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18091         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18092         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18093         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18094         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18095         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18096         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18098 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18100         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18101         replace BSD Handler xref with BSD Signal Handling.
18103 2014-11-17  Richard Henderson  <rth@redhat.com>
18105         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18106         (_FP_PACK_RAW_2): Remove.
18107         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18108         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18109         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18110         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18111         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18112         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18113         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18114         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18115         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18116         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18117         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18118         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18119         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18120         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18121         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18122         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18124 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18126         * signal/signal.h [__USE_MISC]
18127         (struct sigvec): Remove type.
18128         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18129         (sigvec): Remove declaration.
18130         * sysdeps/posix/sigvec.c: Moved ...
18131         * signal/sigvec.c: ... here, replacing old file.
18132         (struct sigvec): New type, copied from old signal.h definition.
18133         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18134         (__sigvec): Convert definition to prototype.
18135         (sigvec): Replace weak_alias with compat_symbol.
18136         * signal/Versions (libc: GLIBC_2.21): New version set.
18137         * include/signal.h: Remove __sigvec declaration.
18138         * sysdeps/unix/bsd/sigvec.c: Remove file.
18139         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18140         * manual/signal.texi (BSD Handler): Remove subsection.
18141         Move siginterrupt up to ...
18142         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18143         (Blocking in BSD): Fold subsection into its parent.
18144         * NEWS: Mention sigvec removal.
18146 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18148         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18149         (DLA_FMS): Make definition conditional only on [__FMA4__].
18150         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18151         definition.
18153         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18154         Make definition conditional only on [PROF].
18155         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18156         definition.
18157         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18158         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18160         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18161         !__GNUC__].
18162         * include/signal.h (__sigpause): Move declaration above call to
18163         libc_hidden_proto.
18164         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18165         variable.
18166         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18167         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18169 2014-11-14  David S. Miller  <davem@davemloft.net>
18171         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18172         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18174 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18176         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18177         * configure: Regenerated.
18178         * manual/install.texi (Tools for Compilation): Document a
18179         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18180         compiler verified to work.
18181         * INSTALL: Regenerated.
18183         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18184         redeclare with asm name.
18185         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18186         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18187         including <string.h>.
18188         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18189         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18190         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18191         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18192         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18193         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18194         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18196 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18198         * stdlib/strtol.c (__strtol): Use prototype definition.
18200         [BZ #17594]
18201         * stdlib/strtol.c (SYM__): New macro.
18202         (SYM__1): Likewise.
18203         (__strtol): Likewise.
18204         (strtol): Rename to __strtol and define as weak alias of
18205         __strtol.  Use libc_hidden_weak.
18207 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18209         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18210         Use numbered labels in inline assembly.
18212 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18214         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18215         Add setjmp LIBC_PROBE.
18216         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18217         Likewise.
18218         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18219         Add longjmp, longjmp_target LIBC_PROBE.
18220         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18221         Likewise.
18223 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18225         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18226         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18227         to get rid of unused variable warning.
18229 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18231         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18232         Check for unwind_backtrace ==  NULL only in SHARED case.
18233         (__backchain_backtrace): Compile only in SHARED case.
18234         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18235         Likewise.
18236         (__backchain_backtrace): Declare as static.
18238 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18240         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18241         (__libc_multiple_threads_ptr): Variable moved ...
18242         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18244 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18246         * conform/GlibcConform.pm: New file.
18247         * conform/conformtest.pl: Use GlibcConform module.
18248         * conform/linknamespace.pl: New file.
18249         * conform/list-header-symbols.pl: Likewise.
18250         * conform/Makefile (linknamespace-symlists-base): New variable.
18251         (linknamespace-symlists-tests): Likewise.
18252         (linknamespace-header-base): Likewise.
18253         (linknamespace-header-tests): Likewise.
18254         (tests-special): Add new tests.
18255         ($(linknamespace-symlists-tests)): New rule.
18256         (linknamespace-libs): New variable.
18257         ($(objpfx)symlist-stdlibs): New rule.
18258         ($(linknamespace-header-tests)): Likewise.
18259         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18260         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18261         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18262         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18263         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18264         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18265         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18266         (test-xfail-ISO/math.h/linknamespace): Likewise.
18267         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18268         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18269         (test-xfail-ISO/time.h/linknamespace): Likewise.
18270         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18271         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18272         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18273         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18274         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18275         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18276         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18277         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18278         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18279         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18280         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18281         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18282         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18283         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18284         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18285         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18286         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18287         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18288         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18289         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18290         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18291         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18292         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18293         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18294         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18295         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18296         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18297         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18298         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18299         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18300         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18301         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18302         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18303         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18304         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18305         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18306         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18307         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18308         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18309         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18310         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18311         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18312         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18313         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18314         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18315         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18316         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18317         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18318         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18319         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18320         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18321         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18322         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18323         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18324         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18325         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18326         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18327         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18328         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18329         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18330         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18331         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18332         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18333         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18334         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18335         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18336         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18337         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18338         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18339         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18340         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18341         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18342         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18343         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18344         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18345         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18346         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18347         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18348         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18349         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18350         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18351         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18352         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18353         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18354         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18355         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18356         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18357         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18358         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18359         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18360         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18361         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18362         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18363         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18364         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18365         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18366         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18367         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18368         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18369         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18370         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18371         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18372         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18373         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18374         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18375         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18376         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18377         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18378         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18379         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18380         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18381         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18382         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18383         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18384         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18385         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18386         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18387         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18388         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18389         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18390         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18391         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18392         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18393         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18394         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18395         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18396         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18397         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18398         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18399         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18400         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18401         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18402         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18403         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18404         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18405         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18406         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18407         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18408         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18409         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18410         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18411         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18412         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18413         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18414         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18415         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18416         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18417         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18418         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18419         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18421         [BZ #17589]
18422         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18423         of fgets_unlocked.
18425         [BZ #17585]
18426         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18427         (memmem): Rename to __memmem and define as weak alias of
18428         __memmem.  Use libc_hidden_weak.
18429         (__memmem): Use libc_hidden_def.
18430         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18431         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18432         memmem.
18434         [BZ #17582]
18435         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18436         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18437         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18438         and define as weak alias of __fgets_unlocked.  Use
18439         libc_hidden_weak.
18440         (__fgets_unlocked): Use libc_hidden_def.
18441         * include/stdio.h (__fgets_unlocked): Declare.  Use
18442         libc_hidden_proto.
18443         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18444         __fgets_unlocked instead of fgets_unlocked.
18445         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18446         (GET_NPROCS_CONF_PARSER): Likewise.
18447         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18448         (GET_NPROCS_CONF_PARSER): Likewise.
18450         [BZ #17574]
18451         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18452         weak alias of __wmemset.  Use libc_hidden_weak.
18453         (__wmemset): Use libc_hidden_def.
18454         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18455         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18456         of wmemset.
18458         [BZ #17573]
18459         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18460         with asm name __mempcpy.
18461         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18463         [BZ #17572]
18464         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18465         and define as weak alias of __rawmemchr.
18466         (__rawmemchr): Do not define as strong alias of rawmemchr.
18468         [BZ #17571]
18469         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18470         alias of __qsort_r.
18471         (qsort): Call __qsort_r instead of qsort_r.
18472         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18473         (__qsort_r): Declare.  Call libc_hidden_proto.
18474         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18475         instead of qsort_r.
18476         * nscd/gai.c (__qsort_r): Define to qsort_r.
18477         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18478         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18479         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18481         [BZ #17570]
18482         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18483         define as weak alias of __malloc_info.
18485         [BZ #17584]
18486         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18487         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18488         (__rewinddir): Use libc_hidden_def.
18489         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18490         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18491         (__rewinddir): Use libc_hidden_def.
18492         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18493         weak alias of __rewinddir.  Don't use libc_hidden_def.
18494         (__rewinddir): Use libc_hidden_def.
18495         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18496         (__rewinddir): Use libc_hidden_proto.
18497         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18498         rewinddir.
18499         (__getcwd): Use __rewinddir instead of rewinddir.
18501         [BZ #17583]
18502         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18503         alias of __fileno.  Use libc_hidden_weak.
18504         (__fileno): Use libc_hidden_def.
18505         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18506         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18507         alias of __ftello.
18508         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18509         __ftello.
18510         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18511         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18512         libc_hidden_def.
18513         (fread_unlocked): Don't use libc_hidden_ver.
18514         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18515         and define as weak alias of __fread_unlocked.  Don't use
18516         libc_hidden_def.
18517         (__fread_unlocked): Use libc_hidden_def.
18518         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18519         (ftello): Don't use libc_hidden_proto.
18520         (__ftello): Declare.  Use libc_hidden_proto.
18521         (fread_unlocked): Don't use libc_hidden_proto.
18522         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18523         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18524         and __ftello instead of fileno, fread_unlocked and ftello.
18526 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18528         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18529         GOT12.
18530         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18531         Likewise.
18532         (_dl_start_user): Likewise.
18533         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18535 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18536             Siddhesh Poyarekar  <siddhesh@redhat.com>
18538         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18539         Move argv and envp down instead of moving argc up.
18540         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18542 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18544         [BZ #17506]
18545         * test-skeleton.c (main): Return successful if one of
18546         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18547         * string/tst-strcoll-overflow.c: Define expected status.
18549 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18551         [BZ #17475]
18552         * locale/iso-639.def: Define Bhili and Tulu language codes.
18554 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18556         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18558 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18560         [BZ #17555]
18561         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18563 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18565         * configure.ac: Updated check of minimal required version to
18566         2.22.
18567         * manual/install.texi (Tools for Compilation): Updated version
18568         number.
18569         * configure: Regenerated.
18570         * INSTALL: Likewise.
18572 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18574         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18575         __tls_get_addr.
18577 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18579         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18580         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18581         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18582         libc_hidden_weak.
18583         (waitpid): Define as alias of __waitpid.
18584         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18585         __waitpid.
18586         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18587         libc_hidden_weak.
18588         (waitpid): Define as alias of __waitpid.
18589         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18590         __libc_waitpid alias.
18591         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18592         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18593         Likewise.
18594         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18595         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18596         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18597         alias.
18598         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18599         __waitpid.
18600         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18601         libc_hidden_weak.
18602         (waitpid): Define as alias of __waitpid.
18604 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18606         * manual/llio.texi: Add comment that write safety has been
18607         fixed in Linux.
18609         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18610         (localplt-build-dso): Add elf/ld.so.
18611         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18612         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18613         and free for ld.so.
18614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18615         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18617         Likewise.
18618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18619         Likewise.
18620         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18621         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18622         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18623         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18624         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18625         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18626         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18627         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18628         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18629         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18630         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18632 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18634         [BZ #14132]
18635         * include/libc-symbols.h (INTUSE): Remove macro.
18636         (INTDEF): Likewise.
18637         (INTVARDEF): Likewise.
18638         (_INTVARDEF): Likewise.
18639         (INTDEF2): Likewise.
18640         (INTVARDEF2): Likewise.
18641         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18642         rtld_hidden_def instead of INTVARDEF.
18643         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18644         (_dl_starting_up_internal): Remove declaration.
18645         (_dl_starting_up): Use rtld_hidden_proto.
18646         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18647         declaration.
18648         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18649         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18650         _dl_starting_up.
18651         * elf/dl-writev.h (_dl_writev): Likewise.
18652         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18653         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18654         _dl_starting_up_internal.
18656 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18658         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18659         test-skeleton.c.
18661 2014-11-05  Will Newton  <will.newton@linaro.org>
18663         * benchtests/Makefile: (bench-malloc): Add malloc thread
18664         scalability benchmark.
18665         * benchtests/bench-malloc-threads.c: New file.
18667 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18669         * sysdeps/aarch64/strchrnul.S: New file.
18671 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18673         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18674         definition.
18675         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18676         Likwise.
18677         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18678         Likewise.
18679         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18680         Likewise.
18681         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18682         Likewise.
18683         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18684         Likewise.
18686 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18688         * catgets/test-gencat.c: Use test-skeleton.c.
18689         * catgets/tst-catgets.c: Likewise.
18690         * csu/tst-empty.c: Likewise.
18691         * elf/tst-audit2.c: Likewise.
18692         * elf/tst-global1.c: Likewise.
18693         * elf/tst-pathopt.c: Likewise.
18694         * elf/tst-piemod1.c: Likewise.
18695         * elf/tst-tls10.c: Likewise.
18696         * elf/tst-tls11.c: Likewise.
18697         * elf/tst-tls12.c: Likewise.
18698         * gnulib/tst-gcc.c: Likewise.
18699         * iconvdata/tst-e2big.c: Likewise.
18700         * iconvdata/tst-loading.c: Likewise.
18701         * iconv/tst-iconv1.c: Likewise.
18702         * iconv/tst-iconv2.c: Likewise.
18703         * inet/test-inet6_opt.c: Likewise.
18704         * inet/tst-gethnm.c: Likewise.
18705         * inet/tst-network.c: Likewise.
18706         * inet/tst-ntoa.c: Likewise.
18707         * intl/tst-codeset.c: Likewise.
18708         * intl/tst-gettext2.c: Likewise.
18709         * intl/tst-gettext3.c: Likewise.
18710         * intl/tst-ngettext.c: Likewise.
18711         * intl/tst-translit.c: Likewise.
18712         * io/test-stat.c: Likewise.
18713         * libio/test-fmemopen.c: Likewise.
18714         * libio/tst-freopen.c: Likewise.
18715         * libio/tst-sscanf.c: Likewise.
18716         * libio/tst-ungetwc1.c: Likewise.
18717         * libio/tst-ungetwc2.c: Likewise.
18718         * libio/tst-widetext.c: Likewise.
18719         * localedata/tst-ctype.c: Likewise.
18720         * localedata/tst-digits.c: Likewise.
18721         * localedata/tst-leaks.c: Likewise.
18722         * localedata/tst-mbswcs1.c: Likewise.
18723         * localedata/tst-mbswcs2.c: Likewise.
18724         * localedata/tst-mbswcs3.c: Likewise.
18725         * localedata/tst-mbswcs4.c: Likewise.
18726         * localedata/tst-mbswcs5.c: Likewise.
18727         * localedata/tst-setlocale.c: Likewise.
18728         * localedata/tst-trans.c: Likewise.
18729         * localedata/tst-wctype.c: Likewise.
18730         * localedata/tst-xlocale1.c: Likewise.
18731         * login/tst-grantpt.c: Likewise.
18732         * malloc/tst-calloc.c: Likewise.
18733         * malloc/tst-malloc.c: Likewise.
18734         * malloc/tst-mallocstate.c: Likewise.
18735         * malloc/tst-mcheck.c: Likewise.
18736         * malloc/tst-mtrace.c: Likewise.
18737         * malloc/tst-obstack.c: Likewise.
18738         * math/atest-exp2.c: Likewise.
18739         * math/atest-exp.c: Likewise.
18740         * math/atest-sincos.c: Likewise.
18741         * math/test-matherr.c: Likewise.
18742         * math/test-misc.c: Likewise.
18743         * math/test-powl.c: Likewise.
18744         * math/tst-definitions.c: Likewise.
18745         * misc/tst-dirname.c: Likewise.
18746         * misc/tst-efgcvt.c: Likewise.
18747         * misc/tst-fdset.c: Likewise.
18748         * misc/tst-hsearch.c: Likewise.
18749         * misc/tst-mntent2.c: Likewise.
18750         * nptl/tst-sem7.c: Likewise.
18751         * nptl/tst-sem8.c: Likewise.
18752         * nptl/tst-sem9.c: Likewise.
18753         * nss/test-netdb.c: Likewise.
18754         * posix/tst-fnmatch.c: Likewise.
18755         * posix/tst-getlogin.c: Likewise.
18756         * posix/tst-gnuglob.c: Likewise.
18757         * posix/tst-mmap.c: Likewise.
18758         * pwd/tst-getpw.c: Likewise.
18759         * resolv/tst-inet_ntop.c: Likewise.
18760         * rt/tst-timer.c: Likewise.
18761         * stdio-common/test-fseek.c: Likewise.
18762         * stdio-common/test-popen.c: Likewise.
18763         * stdio-common/test-vfprintf.c: Likewise.
18764         * stdio-common/tst-cookie.c: Likewise.
18765         * stdio-common/tst-fileno.c: Likewise.
18766         * stdio-common/tst-gets.c: Likewise.
18767         * stdio-common/tst-obprintf.c: Likewise.
18768         * stdio-common/tst-perror.c: Likewise.
18769         * stdio-common/tst-sprintf2.c: Likewise.
18770         * stdio-common/tst-sprintf3.c: Likewise.
18771         * stdio-common/tst-sprintf.c: Likewise.
18772         * stdio-common/tst-swprintf.c: Likewise.
18773         * stdio-common/tst-tmpnam.c: Likewise.
18774         * stdio-common/tst-unbputc.c: Likewise.
18775         * stdio-common/tst-wc-printf.c: Likewise.
18776         * stdlib/tst-environ.c: Likewise.
18777         * stdlib/tst-fmtmsg.c: Likewise.
18778         * stdlib/tst-limits.c: Likewise.
18779         * stdlib/tst-rand48-2.c: Likewise.
18780         * stdlib/tst-rand48.c: Likewise.
18781         * stdlib/tst-random2.c: Likewise.
18782         * stdlib/tst-random.c: Likewise.
18783         * stdlib/tst-strtol.c: Likewise.
18784         * stdlib/tst-strtoll.c: Likewise.
18785         * stdlib/tst-tls-atexit.c: Likewise.
18786         * stdlib/tst-xpg-basename.c: Likewise.
18787         * string/test-ffs.c: Likewise.
18788         * string/tst-bswap.c: Likewise.
18789         * string/tst-inlcall.c: Likewise.
18790         * string/tst-strtok.c: Likewise.
18791         * string/tst-strxfrm.c: Likewise.
18792         * sysdeps/x86_64/tst-audit10.c: Likewise.
18793         * sysdeps/x86_64/tst-audit3.c: Likewise.
18794         * sysdeps/x86_64/tst-audit4.c: Likewise.
18795         * sysdeps/x86_64/tst-audit5.c: Likewise.
18796         * time/tst-ftime_l.c: Likewise.
18797         * time/tst-getdate.c: Likewise.
18798         * time/tst-mktime3.c: Likewise.
18799         * time/tst-mktime.c: Likewise.
18800         * time/tst-posixtz.c: Likewise.
18801         * time/tst-strptime2.c: Likewise.
18802         * time/tst-strptime3.c: Likewise.
18803         * wcsmbs/tst-btowc.c: Likewise.
18804         * wcsmbs/tst-mbrtowc.c: Likewise.
18805         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18806         * wcsmbs/tst-wchar-h.c: Likewise.
18807         * wcsmbs/tst-wcpncpy.c: Likewise.
18808         * wcsmbs/tst-wcrtomb.c: Likewise.
18809         * wcsmbs/tst-wcsnlen.c: Likewise.
18810         * wcsmbs/tst-wcstof.c: Likewise.
18812 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18814         [BZ #14132]
18815         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18816         INTDEF.
18817         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18818         declaration.
18819         (_dl_mcount): Use rtld_hidden_proto.
18820         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18821         _dl_mcount.
18822         * elf/rtld.c (_rtld_global_ro): Likewise.
18824         [BZ #14132]
18825         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18826         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18827         of _dl_init_internal.
18828         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18829         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18830         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18831         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18832         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18833         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18834         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18835         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18836         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18837         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18838         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18839         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18840         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18841         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18842         * sysdeps/tile/dl-start.S (_start): Likewise.
18843         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18844         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18846         [BZ #14132]
18847         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18848         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18849         (rtld_progname): Make macro definition unconditional.
18850         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18851         INTDEF.
18852         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18853         (dl_main): Likewise.
18854         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18855         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18856         instead of _dl_argv_internal.
18857         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18858         __GI__dl_argv instead of INTUSE(_dl_argv).
18859         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18860         __GI__dl_argv instead of _dl_argv_internal.
18862         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18863         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18864         macro.
18865         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18866         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18867         New macro.
18868         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18869         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18870         macro.
18871         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18872         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18874 2014-11-04  Andreas Schwab  <schwab@suse.de>
18876         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18878 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18880         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
18881         mtvsrd instruction in binary form.
18883 2014-11-03  Andreas Schwab  <schwab@suse.de>
18885         [BZ #17522]
18886         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
18887         for less than MB_LEN_MAX use a local buffer of that size.
18888         * libio/tst-fputws.c: New file.
18889         * libio/Makefile (tests): Add tst-fputws.
18891 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
18893         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
18894         the size of the fpu_fr.fpu_dregs[] array.
18896 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
18898         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
18899         (__nanosleep): Do not define as alias.
18900         (nanosleep): Define as alias of __nanosleep.
18901         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
18902         __libc_nanosleep name.
18904 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18906         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
18907         install.texi in comment.
18909 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18911         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
18912         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
18913         ... add here and use lwsync or sync ...
18914         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
18915         ... and add here using lwsync.
18917 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18919         * elf/dl-machine-reject-phdr.h: New file.
18920         * elf/dl-load.c: #include that.
18921         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
18922         if that returned true.
18924 2014-10-31  Roland McGrath  <roland@hack.frob.com>
18926         [BZ #17496]
18927         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
18928         gen-as-const-headers chunk.  Add a big scare comment after the last
18929         safe place to touch before-compile.
18931 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18933         * manual/install.texi (Tools for Compilation): Update autoconf
18934         version requirements.
18935         * INSTALL: Regenerated.
18937         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
18938         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
18939         (__libc_pselect): Likewise.
18941         [BZ #14138]
18942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
18943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18947 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18949         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
18950         correct barrier instruction.
18951         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
18952         Likewise.
18953         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
18954         Likewise.
18956 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18958         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
18959         after defining inlines.  Instead, just use parens to defeat macro
18960         expansion of __isctype in its declaration.
18962 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18964         * include/sys/uio.h (__libc_readv): Remove declaration.
18965         (__libc_writev): Likewise.
18966         * misc/readv.c (__libc_readv): Rename to __readv.
18967         (__readv): Do not define as alias.
18968         (readv): Define as alias of __readv.
18969         * misc/writev.c (__libc_writev): Rename to __writev.
18970         (__writev): Do not define as alias.
18971         (writev): Define as alias of __writev.
18972         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
18973         (__readv): Do not define as alias.
18974         (readv): Define unconditionally as alias of __readv.
18975         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
18976         (__writev): Do not define as alias.
18977         (writev): Define unconditionally as alias of __writev.
18978         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
18979         name.
18980         (writev): Do not define __libc_writev name.
18982 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18984         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
18985         (convert_charseq): New function, broken out of ...
18986         (use_from_charmap): ... here.  Call it.
18987         (use_to_charmap): Use convert_charseq and free instead of duplicating
18988         its code with a variable-length stack struct.
18990 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18992         * include/fcntl.h (__libc_creat): Remove declaration.
18993         * io/creat.c (__libc_creat): Rename to creat.
18994         (creat): Do not define as alias.
18995         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
18996         of creat instead of __libc_creat.
18997         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
18998         to creat.
18999         (creat): Do not define as alias.
19000         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19001         __libc_creat.
19002         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19003         __libc_creat name.
19004         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19005         Likewise.
19007 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19009         * manual/llio.texi: Add comments discussing why write() may be
19010         considered MT-unsafe on Linux.
19012 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19014         * dl-load.c (local_strdup): Remove.
19015         (expand_dynamic_string_token): Use __strdup.
19016         (decompose_rpath): Likewise.
19017         (_dl_map_object): Likewise.
19019 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19021         [BZ #14132]
19022         * sysdeps/generic/unwind-dw2-fde.c
19023         (__register_frame_info_bases_internal): Do not declare.
19024         (__register_frame_info_table_bases_internal): Likewise.
19025         (__deregister_frame_info_bases_internal): Likewise.
19026         (__register_frame_info_bases): Declare and use hidden_proto before
19027         definition.  Use hidden_def instead of INTDEF.
19028         (__register_frame_info_table_bases): Likewise.
19029         (__deregister_frame_info_bases): Likewise.
19030         (__register_frame_info): Do not use INTUSE.
19031         (__register_frame): Likewise.
19032         (__register_frame_info_table): Likewise.
19033         (__register_frame_table): Likewise.
19034         (__deregister_frame_info): Likewise.
19035         (__deregister_frame): Likewise.
19037 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19039         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19040         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19041         not undefine.
19042         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19043         Likewise.
19044         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19045         Likewise.
19047 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19049         [BZ #14138]
19050         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19051         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19052         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19053         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19054         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19055         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19056         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19057         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19058         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19059         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19060         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19061         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19062         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19063         syscall.
19064         (setfsuid): Likewise.
19065         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19066         (setfsuid): Likewise.
19067         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19068         (setfsuid): Likewise.
19069         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19070         Likewise.
19071         (setfsuid): Likewise.
19072         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19073         (setfsuid): Likewise.
19074         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19075         Likewise.
19076         (setfsuid): Likewise.
19078 2014-10-27  Andreas Schwab  <schwab@suse.de>
19080         [BZ #17501]
19081         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19082         check for Slow_SSE4_2 feature bit.
19083         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19084         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19085         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19086         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19088 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19090         * configure.ac: Validate compiler version with a empirical test of
19091         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19092         $CC -v output.
19093         * configure: Regenerated.
19095         * inet/htons.c (htons): Prototypify.
19096         * inet/htonl.c (htonl): Likewise.
19098 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19100         * string/strncat.c (strncat): Improve performance by using strlen.
19102 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19104         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19106 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19108         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19109         Call libc_fetestexcept_aarch64.
19111 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19113         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19114         Call libc_feholdexcept_aarch64.
19116 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19118         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19119         Call get_rounding_mode.
19121 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19123         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19124         Simplify logic.
19126 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19128         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19129         Simplify logic.
19131 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19133         [BZ #14138]
19134         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19135         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19136         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19137         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19138         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19139         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19140         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19141         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19142         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19143         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19144         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19145         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19146         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19147         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19148         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19149         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19150         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19151         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19152         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19153         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19154         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19155         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19156         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19157         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19158         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19159         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19160         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19161         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19162         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19163         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19164         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19165         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19166         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19167         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19168         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19169         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19170         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19171         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19172         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19173         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19174         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19175         syscall.
19176         (geteuid): Likewise.
19177         (getgid): Likewise.
19178         (getuid): Likewise.
19179         (getresgid): Likewise.
19180         (getresuid): Likewise.
19181         (getgroups): Likewise.
19182         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19183         (geteuid): Likewise.
19184         (getgid): Likewise.
19185         (getuid): Likewise.
19186         (getresgid): Likewise.
19187         (getresuid): Likewise.
19188         (getgroups): Likewise.
19189         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19190         (geteuid): Likewise.
19191         (getgid): Likewise.
19192         (getuid): Likewise.
19193         (getresgid): Likewise.
19194         (getresuid): Likewise.
19195         (getgroups): Likewise.
19196         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19197         Likewise.
19198         (geteuid): Likewise.
19199         (getgid): Likewise.
19200         (getuid): Likewise.
19201         (getresgid): Likewise.
19202         (getresuid): Likewise.
19203         (getgroups): Likewise.
19204         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19205         (geteuid): Likewise.
19206         (getgid): Likewise.
19207         (getuid): Likewise.
19208         (getresgid): Likewise.
19209         (getresuid): Likewise.
19210         (getgroups): Likewise.
19211         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19212         Likewise.
19213         (geteuid): Likewise.
19214         (getgid): Likewise.
19215         (getuid): Likewise.
19216         (getgroups): Likewise.
19218         [BZ #14138]
19219         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19220         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19221         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19222         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19223         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19224         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19225         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19226         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19227         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19228         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19229         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19230         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19231         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19232         __chown.
19233         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19234         (lchown): Likewise.
19235         (fchown): Likewise.
19236         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19237         Likewise.
19238         (lchown): Likewise.
19239         (fchown): Likewise.
19240         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19241         (lchown): Likewise.
19242         (fchown): Likewise.
19243         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19244         Likewise.
19245         (lchown): Likewise.
19246         (fchown): Likewise.
19248 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19250         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19251         Simplify logic.
19253 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19255         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19256         Cleanup logic.
19258 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19260         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19261         Remove unused include.
19263 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19265         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19266         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19267         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19268         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19270 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19271             Helge Deller <deller@gmx.de>
19273         [BZ #17508]
19274         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19275         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19276         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19278 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19280         [BZ #14132]
19281         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19282         Remove macro definition.
19283         (__ashrdi3_v_glibc20): Likewise.
19284         (__lshrdi3_v_glibc20): Likewise.
19285         (__cmpdi2_v_glibc20): Likewise.
19286         (__ucmpdi2_v_glibc20): Likewise.
19287         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19288         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19289         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19290         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19291         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19292         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19294 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19296         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19297         old GNU extension [0] syntax.
19298         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19299         alloca rather than an array member with variable length.
19300         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19301         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19302         (parse_opt): ... here.  Likewise use alloca there.
19303         Validate the -i argument before checking for rootness.
19304         (send_shutdown): New function, broken out of ...
19305         (parse_opt): ... here.
19307 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19309         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19310         macro to get at the _rt_local_ro field.
19311         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19312         ([PIC] case) or _dl_hwcap ([!PIC] case).
19313         * sysdeps/arm/setjmp.S: Likewise.
19315         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19316         * sysdeps/arm/configure.ac: New check to define it.
19317         * sysdeps/arm/configure: Regenerated.
19318         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19319         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19320         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19321         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19322         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19323         Use move/movt pair instead of a load.
19324         (LDST_GLOBAL): Macro removed.
19325         (LDR_GLOBAL): New macro replaces it.
19326         (LDR_HIDDEN): New macro.
19327         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19328         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19330         * setjmp/tst-setjmp-static.c: New file.
19331         * setjmp/Makefile (tests): Add it.
19332         (tests-static): New variable.
19334 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19336         [BZ #17485]
19337         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19339 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19341         [BZ #14132]
19342         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19344 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19346         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19348 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19350         * io/fts.c (dirent_not_directory): New function.
19351         (fts_build): Call it.
19353 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19355         * nptl/version.c (__nptl_main): Use normal __write rather than
19356         INTERNAL_SYSCALL.
19357         (banner): Update copyright years.
19359         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19360         gettimeofday.
19361         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19362         * nptl/pthread_cond_timedwait.c: Likewise.
19363         * nptl/pthread_mutex_timedlock.c: Likewise.
19364         * nptl/sem_timedwait.c: Likewise.
19366         * sysdeps/nptl/bits/libc-lock.h
19367         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19368         (__libc_lock_init_recursive): Return void, not 0.
19369         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19370         (__libc_rwlock_init): Likewise.
19371         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19373 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19375         [BZ #15215]
19376         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19377         (__pthread_once_slow): ... here.
19378         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19379         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19381 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19383         [BZ #15215]
19384         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19385         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19386         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19387         * nptl/pthread_once.c (__pthread_once): Likewise.
19388         Update comments.
19390 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19392         [BZ #14138]
19393         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19394         name.
19395         (writev): Use __libc_writev as strong name.
19396         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19397         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19399 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19401         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19403         * sysdeps/i386/nptl/tls.h
19404         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19405         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19406         New macros.
19407         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19408         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19409         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19410         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19411         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19412         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19414         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19415         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19416         on [__NR_futex].
19417         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19418         broken out of ...
19419         (__pthread_mutex_init): ... here.  Call it.
19420         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19421         Conditionalize PI cases on [__NR_futex].
19422         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19423         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19424         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19426         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19427         conditional on [SIGSETXID].
19428         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19429         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19430         is defined.  Likewise for SIGSETXID.
19431         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19432         Conditionalize definitions on [SIGSETXID].
19433         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19434         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19435         unblocking on [SIGCANCEL].
19437         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19438         [__NR_set_robust_list].
19440 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19442         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19443         (do_compare): Likewise.
19445 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19447         [BZ #15884]
19448         * string/strcoll_l.c: Don't include stdio.h.
19449         (coll_seq): Remove members idxarr and rulearr.
19450         (get_next_seq_cached): Remove function.
19451         (get_next_seq): Likewise.
19452         (get_next_seq_nocache): Rename to get_next_seq.
19453         (do_compare): Remove function.
19454         (do_compare_nocache): Rename to do_compare.
19455         (STRCOLL): Remove weight and rules cache.
19457 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19459         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19460         * sysdeps/arm/sfp-machine.h: ... to here.
19461         * sysdeps/arm/Implies: Remove arm/soft-fp.
19463 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19465         * conform/data/sys/utsname.h-data (*_t): Allow.
19466         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19467         [POSIX] (WEXITED): Do not expect constant.
19468         [POSIX] (WSTOPPED): Likewise.
19469         [POSIX] (WNOHANG): Likewise.
19470         [POSIX] (WNOWAIT): Likewise.
19471         [POSIX] (siginfo_t): Do not expect type or elements.
19472         [POSIX] (pid_t): Do not expect type.
19473         [POSIX] (signal.h): Do not allow header.
19474         [POSIX] (sys/resource.h): Likewise.
19475         [POSIX] (si_*): Do not allow pattern.
19476         [POSIX] (W*): Likewise.
19477         [POSIX] (P_*): Likewise.
19478         [POSIX] (BUS_*): Likewise.
19479         [POSIX] (CLD_*): Likewise.
19480         [POSIX] (FPE_*): Likewise.
19481         [POSIX] (ILL_*): Likewise.
19482         [POSIX] (POLL_*): Likewise.
19483         [POSIX] (SEGV_*): Likewise.
19484         [POSIX] (SI_*): Likewise.
19485         [POSIX] (TRAP_*): Likewise.
19486         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19487         variable.
19489 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19491         [BZ #12926]
19492         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19493         infinite loop when __recvmsg returns 0.
19495 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19497         * CANCEL-FCT-WAIVE: Remove file.
19498         * CANCEL-FILE-WAIVE: Likewise.
19500         [BZ #14132]
19501         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19502         instead of INTVARDEF.
19503         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19504         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19505         rtld_hidden_data_def instead of INTVARDEF.
19506         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19507         * elf/dl-deps.c (expand_dst): Likewise.
19508         * elf/dl-load.c (_dl_dst_count): Likewise.
19509         (_dl_dst_substitute): Likewise.
19510         (decompose_rpath): Likewise.
19511         (_dl_init_paths): Likewise.
19512         (open_path): Likewise.
19513         (_dl_map_object): Likewise.
19514         * elf/rtld.c (dl_main): Likewise.
19515         (process_dl_audit): Likewise.
19516         (process_envvars): Likewise.
19517         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19518         Remove declaration.
19519         (__libc_enable_secure): Use rtld_hidden_proto.
19521 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19523         * elf/dl-load.c
19524         (add_path): New function broken out of _dl_rtld_di_serinfo.
19525         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19527 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19529         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19530         parentheses around macro arguments.
19531         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19532         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19533         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19534         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19535         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19536         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19537         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19538         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19539         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19540         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19541         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19542         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19543         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19544         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19545         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19546         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19547         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19548         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19549         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19550         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19551         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19552         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19553         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19556         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19557         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19558         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19560         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19561         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19562         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19563         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19564         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19565         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19566         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19567         Likewise.
19568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19569         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19570         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19573         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19575         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19576         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19577         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19578         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19579         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19580         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19587         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19589         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19590         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19591         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19592         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19593         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19594         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19595         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19596         (_FP_FRAC_SRS_1): Likewise.
19597         (_FP_FRAC_CLZ_1): Likewise.
19598         (_FP_MUL_MEAT_1_imm): Likewise.
19599         (_FP_MUL_MEAT_1_wide): Likewise.
19600         (_FP_MUL_MEAT_1_hard): Likewise.
19601         (_FP_SQRT_MEAT_1): Likewise.
19602         (_FP_FRAC_ASSEMBLE_1): Likewise.
19603         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19604         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19605         (__FP_CLZ_2): Likewise.
19606         (_FP_MUL_MEAT_2_wide): Likewise.
19607         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19608         (_FP_MUL_MEAT_2_gmp): Likewise.
19609         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19610         (_FP_SQRT_MEAT_2): Likewise.
19611         (_FP_FRAC_ASSEMBLE_2): Likewise.
19612         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19613         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19614         (_FP_FRAC_CLZ_4): Likewise.
19615         (_FP_MUL_MEAT_4_wide): Likewise.
19616         (_FP_MUL_MEAT_4_gmp): Likewise.
19617         (_FP_SQRT_MEAT_4): Likewise.
19618         (_FP_FRAC_ASSEMBLE_4): Likewise.
19619         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19620         * soft-fp/op-common.h (_FP_CMP): Likewise.
19621         (_FP_CMP_EQ): Likewise.
19622         (_FP_CMP_UNORD): Likewise.
19623         (_FP_TO_INT): Likewise.
19624         (_FP_FROM_INT): Likewise.
19625         [!__FP_CLZ] (__FP_CLZ): Likewise.
19626         (_FP_DIV_HELP_imm): Likewise.
19627         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19628         Likewise.
19629         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19630         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19631         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19632         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19633         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19634         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19635         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19636         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19637         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19638         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19639         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19640         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19641         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19642         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19643         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19644         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19645         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19646         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19647         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19648         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19649         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19658         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19659         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19660         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19661         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19662         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19663         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19664         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19665         (FP_UNPACK_RAW_SP): Likewise.
19666         (FP_PACK_RAW_S): Likewise.
19667         (FP_PACK_RAW_SP): Likewise.
19668         (FP_UNPACK_S): Likewise.
19669         (FP_UNPACK_SP): Likewise.
19670         (FP_UNPACK_SEMIRAW_S): Likewise.
19671         (FP_UNPACK_SEMIRAW_SP): Likewise.
19672         (FP_PACK_S): Likewise.
19673         (FP_PACK_SP): Likewise.
19674         (FP_PACK_SEMIRAW_S): Likewise.
19675         (FP_PACK_SEMIRAW_SP): Likewise.
19676         (_FP_SQRT_MEAT_S): Likewise.
19677         (FP_CMP_S): Likewise.
19678         (FP_CMP_EQ_S): Likewise.
19679         (FP_CMP_UNORD_S): Likewise.
19680         (FP_TO_INT_S): Likewise.
19681         (FP_FROM_INT_S): Likewise.
19683         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19685         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19686         (FP_EX_INVALID_IMZ): Likewise.
19687         (FP_EX_INVALID_IMZ_FMA): Likewise.
19688         (FP_EX_INVALID_ISI): Likewise.
19689         (FP_EX_INVALID_ZDZ): Likewise.
19690         (FP_EX_INVALID_IDI): Likewise.
19691         (FP_EX_INVALID_SQRT): Likewise.
19692         (FP_EX_INVALID_CVI): Likewise.
19693         (FP_EX_INVALID_VC): Likewise.
19694         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19695         "invalid" exceptions.
19696         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19697         (_FP_ADD_INTERNAL): Likewise.
19698         (_FP_MUL): Likewise.
19699         (_FP_FMA): Likewise.
19700         (_FP_DIV): Likewise.
19701         (_FP_CMP_CHECK_NAN): Likewise.
19702         (_FP_SQRT): Likewise.
19703         (_FP_TO_INT): Likewise.
19704         (FP_EXTEND): Likewise.
19706 2014-10-09  Allan McRae  <allan@archlinux.org>
19708         * po/fr.po: Update French translation from translation project.
19710 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19712         [BZ #14132]
19713         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19714         of INTDEF.
19715         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19716         (__cxa_atexit): Use libc_hidden_proto.
19717         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19719         [BZ #14132]
19720         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19721         declaration.
19722         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19723         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19724         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19725         [!_ISOMAC] (__iswctype_internal): Likewise.
19726         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19727         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19728         alias.
19729         (fcntl): Remove __fcntl_internal alias.
19730         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19731         __connect_internal alias.
19732         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19733         Likewise.
19735         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19736         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19737         FP_DENORM_ZERO.
19738         (_FP_CHECK_FLUSH_ZERO): New macro.
19739         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19740         (_FP_CMP): Likewise.
19741         (_FP_CMP_EQ): Likewise.
19742         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19743         FP_DENORM_ZERO.
19744         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19745         (FP_TRUNC): Likewise.
19747         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19748         treated as invalid conversion, not as normal exponent.
19750         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19751         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19752         (_FP_CMP_EQ): Likewise.
19753         (_FP_CMP_UNORD): Likewise.
19754         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19755         (FP_CMP_EQ_D): Likewise.
19756         (FP_CMP_UNORD_D): Likewise.
19757         * soft-fp/extended.h (FP_CMP_E): Likewise.
19758         (FP_CMP_EQ_E): Likewise.
19759         (FP_CMP_UNORD_E): Likewise.
19760         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19761         (FP_CMP_EQ_Q): Likewise.
19762         (FP_CMP_UNORD_Q): Likewise.
19763         * soft-fp/single.h (FP_CMP_S): Likewise.
19764         (FP_CMP_EQ_S): Likewise.
19765         (FP_CMP_UNORD_S): Likewise.
19766         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19767         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19768         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19769         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19770         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19771         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19772         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19773         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19774         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19775         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19776         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19777         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19778         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19779         to FP_CMP_Q.
19780         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19781         FP_CMP_Q.
19782         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19783         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19784         FP_CMP_EQ_Q.
19785         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19786         FP_CMP_Q.
19787         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19788         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19789         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19790         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19791         FP_CMP_EQ_Q.
19792         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19793         FP_CMP_Q.
19794         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19795         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19796         FP_CMP_EQ_Q.
19797         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19798         FP_CMP_Q.
19799         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19800         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19801         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19802         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19803         FP_CMP_EQ_Q.
19805         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19806         a subnormal result, set the underflow exception if trapping on
19807         underflow is enabled.
19808         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19809         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19810         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19811         redefine to 0.
19812         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19813         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19814         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19815         * soft-fp/extendxftf2.c (__extendxftf2): Use
19816         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19818         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19819         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19820         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19821         FP_HANDLE_EXCEPTIONS.
19822         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19823         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19824         FP_HANDLE_EXCEPTIONS.
19825         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19826         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19827         FP_HANDLE_EXCEPTIONS.
19828         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19829         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19830         FP_HANDLE_EXCEPTIONS.
19832 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19834         [BZ #14132]
19835         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19836         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19837         use INTUSE.
19838         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19839         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19840         Remove alias.
19841         (__adjtimex): Define using libc_hidden_ver.
19842         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19843         Remove declaration.
19844         (ntp_gettime): Call __adjtimex directly.
19845         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19846         Remove declaration.
19847         (ntp_gettimex): Call __adjtimex directly.
19848         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19849         __adjtimex_internal alias.
19851 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19853         [BZ #17460]
19854         * nscd/nscd.c (more_help): Rewrite list of tables collection
19855         using xstrdup and asprintf.
19857         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19859 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19860             Roland McGrath  <roland@hack.frob.com>
19862         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19863         (do_lookup_unique): ... local function 'enter' here; update callers.
19865 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19867         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19868         compat_symbol calls on [SHARED].
19869         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19870         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19871         Remove.
19872         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19873         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19874         (oldsetrlimit): Remove.
19875         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19877         (lchown): New syscall entry.
19878         (oldsetrlimit): Remove.
19879         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19880         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
19881         (oldsetrlimit): Remove.
19882         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19884         [BZ #14138]
19885         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
19886         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
19887         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
19888         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
19889         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19890         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
19891         (fchown): Likewise.
19892         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
19893         (fchown): Likewise.
19894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
19895         Likewise.
19897 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19899         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
19900         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
19901         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
19902         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
19903         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
19904         Likewise.
19905         (__old_sem_post): Likewise.
19907 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
19909         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
19910         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
19911         HAVE_CLOCK_GETTIME_VSYSCALL macros.
19912         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
19913         Use INLINE_VSYSCALL macro.
19914         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
19915         __vdso_clock_gettime.
19916         * sysdeps/unix/sysv/linux/tile/init-first.c
19917         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
19918         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
19919         __vdso_clock_gettime.
19921         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
19922         to set up frame more cleanly.
19924         * sysdeps/tile/memcmp.c: New file.
19926         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
19928         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
19929         * sysdeps/tile/tilegx/strcasestr.c: New file.
19930         * sysdeps/tile/tilegx/strnlen.c: New file.
19931         * sysdeps/tile/tilegx/strstr.c: New file.
19933         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
19935 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
19937         * nptl/tst-setuid3.c: Write errors to stdout.
19939 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19941         * elf/dl-deps.c
19942         (preload): New functions broken out of _dl_map_object_deps.
19943         (_dl_map_object_deps):  Remove a nested function. Update call sites.
19945 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
19947         [BZ #14138]
19948         * sysdeps/unix/sysv/linux/execve.c: Remove file.
19949         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
19951 2014-10-01  Steve Ellcey  <sellcey@mips.com>
19953         * sysdeps/mips/strcmp.S: New.
19955 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
19957         [BZ #14138]
19958         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
19959         (linkat): Likewise.
19960         (mkdirat): Likewise.
19961         (readlinkat): Likewise.
19962         (renameat): Likewise.
19963         (symlinkat): Likewise.
19964         (unlinkat): Likewise.
19965         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
19966         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
19967         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
19968         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
19969         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
19970         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
19971         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
19973 2014-09-30  Will Newton  <will.newton@linaro.org>
19975         * math/math.h: Define long double math functions if
19976         _LIBC_TEST is defined.
19977         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
19979         * localedata/Makefile: Move assignment to tests-special
19980         into an ifdef testing run-built-tests.
19981         * timezone/Makefile: Likewise.
19983 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
19985         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
19986         with $(BASH) not $(SHELL).
19988 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
19989             Matthew LeGendre  <legendre1@llnl.gov>
19991         [BZ #17411]
19992         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
19993         l_reloc_result.
19995 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19997         * stdio-common/printf_fp.c
19998         (hack_digit): New function, broken out of ...
19999         (__printf_fp): ... local function here.  Update call sites.
20000         hack_digit now takes an additional parameter that is a pointer
20001         to a struct of the referenced locals.  Those locals moved inside
20002         the struct and references updated.
20004 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20006         * aclocal.m4: Require autoconf 2.69.
20007         * configure: Regenerated.
20008         * sysdeps/aarch64/configure: Likewise.
20009         * sysdeps/alpha/configure: Likewise.
20010         * sysdeps/arm/armv7/configure: Likewise.
20011         * sysdeps/arm/configure: Likewise.
20012         * sysdeps/ia64/configure: Likewise.
20013         * sysdeps/mach/configure: Likewise.
20014         * sysdeps/mips/configure: Likewise.
20015         * sysdeps/s390/configure: Likewise.
20016         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20019         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20020         file.
20021         * sysdeps/ia64/configure.ac: Likewise.
20023 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20026         specify symbol version for ld.so.  Do not include entry for
20027         libpthread.
20028         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20029         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20030         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20032         [BZ #14171]
20033         * Makeconfig [$(build-shared) = yes]
20034         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20035         makefiles.
20036         [$(build-shared) = yes && $(soversions.mk-done) = t]
20037         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20038         [$(build-shared) = yes && $(soversions.mk-done) = t]
20039         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20040         to Makerules.
20041         [$(build-shared) = yes && $(soversions.mk-done) = t]
20042         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20043         here.
20044         [$(build-shared) = yes && $(soversions.mk-done) = t]
20045         (common-generated): Don't append gnu/lib-names.h and
20046         gnu/lib-names.stmp here.
20047         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20048         (lib-names-h-abi): New variable.
20049         [$(build-shared) = yes && $(soversions.mk-done) = t]
20050         (lib-names-stmp-abi): Likewise.
20051         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20052         abi-variants] (before-compile): Append
20053         $(common-objpfx)$(lib-names-h-abi).
20054         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20055         abi-variants] (common-generated): Append gnu/lib-names.h.
20056         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20057         abi-variants] (install-others-nosubdir): Depend on
20058         $(inst_includedir)/$(lib-names-h-abi).
20059         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20060         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20061         [$(build-shared) = yes && $(soversions.mk-done) = t]
20062         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20063         [$(build-shared) = yes && $(soversions.mk-done) = t]
20064         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20065         [$(build-shared) = yes && $(soversions.mk-done) = t]
20066         (common-generated): Append $(lib-names-h-abi) and
20067         $(lib-names-stmp-abi).
20068         * scripts/lib-names.awk: Do not handle multi being set.
20069         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20070         Remove variable.
20071         (abi-lp64_be-ld-soname): Likewise.
20072         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20073         Likewise.
20074         (abi-hard-ld-soname): Likewise.
20075         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20076         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20077         Remove variable.
20078         (abi-o32_hard-ld-soname): Likewise.
20079         (abi-o32_soft_2008-ld-soname): Likewise.
20080         (abi-o32_hard_2008-ld-soname): Likewise.
20081         (abi-n32_soft-ld-soname): Likewise.
20082         (abi-n32_hard-ld-soname): Likewise.
20083         (abi-n32_soft_2008-ld-soname): Likewise.
20084         (abi-n32_hard_2008-ld-soname): Likewise.
20085         (abi-n64_soft-ld-soname): Likewise.
20086         (abi-n64_hard-ld-soname): Likewise.
20087         (abi-n64_soft_2008-ld-soname): Likewise.
20088         (abi-n64_hard_2008-ld-soname): Likewise.
20089         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20090         Likewise.
20091         (abi-64-v2-ld-soname): Likewise.
20092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20093         ld.so entries.
20094         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20095         variable.
20096         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20097         entry.
20098         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20099         variable.
20100         (abi-64-ld-soname): Likewise.
20101         (abi-x32-ld-soname): Likewise.
20102         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20103         entry.
20104         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20106 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20108         [BZ #14138]
20109         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20110         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20111         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20112         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20113         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20114         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20115         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20116         syscall entry for GLIBC_2.2 symbol version.
20117         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20118         Likewise.
20119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20120         (setrlimit): Likewise.
20121         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20122         Likewise.
20124 2014-09-23  Will Newton  <will.newton@linaro.org>
20126         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20127         _LINUX_ARM_SYSDEP_H include guard too.
20128         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20129         define.
20131 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20133         * sysdeps/unix/sysv/linux/eventfd.c:
20134         Make first argument unsigned.
20135         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20136         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20138 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20140         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20141         * socket/sys/socket.h: Likewise
20142         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20144 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20146         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20148 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20150         * time/tst-ftime.c: New test.
20151         * time/Makefile (tests): Add tst-ftime.
20153 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20155         * soft-fp/extended.h: Fix comment formatting.
20156         * soft-fp/op-1.h: Likewise.
20157         * soft-fp/op-2.h: Likewise.
20158         * soft-fp/op-4.h: Likewise.
20159         * soft-fp/op-8.h: Likewise.
20160         * soft-fp/op-common.h: Likewise.
20161         * soft-fp/soft-fp.h: Likewise.
20163         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20165 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20167         [BZ #6652]
20168         * Makeconfig (soversions-default-setname): Remove variable.
20169         ($(common-objpfx)soversions.i): Don't pass default_setname to
20170         soversions.awk.
20171         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20172         oldest_abi to abi-versions.awk.
20173         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20174         * config.make.in (oldest-abi): Remove variable.
20175         * configure.ac (--enable-oldest-abi): Remove configure option.
20176         * configure: Regenerated.
20177         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20178         text.
20179         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20180         * scripts/soversions.awk: Do not handle default_setname variable.
20181         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20182         variable.
20183         * sysdeps/mach/hurd/configure: Regenerated.
20184         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20185         variable.
20186         * sysdeps/unix/sysv/linux/configure: Regenerated.
20188 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20190         * elf/Makefile (CFLAGS-interp.c): Remove.
20191         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20192         path string.
20193         * elf/interp.c: Include generated runtime-linker.h
20195         * Makerules (lib%.so): Don't include $(+interp) in
20196         prerequisites.
20197         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20198         * dlfcn/eval.c: Remove file.
20200         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20201         macros.
20203         [BZ #17266]
20204         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20205         4.2 and newer.
20207         [BZ #17370]
20208         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20210 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20211             Jakub Jelinek  <jakub@redhat.com>
20213         [BZ #17266]
20214         * libio/stdio.h: Check definition of __fortify_function
20215         instead of __extern_always_inline to include bits/stdio2.h.
20216         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20217         check if __extern_always_inline is defined.
20218         [__USE_MISC || __USE_XOPEN]: Likewise.
20219         [__USE_ISOC99] Likewise.
20220         * misc/sys/cdefs.h (__fortify_function): Define only if
20221         __extern_always_inline is defined.
20222         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20223         __extern_always_inline and __extern_inline only for g++-4.3
20224         and newer or a compatible gcc.
20226 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20228         [BZ #17371]
20229         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20230         last change to handle zero prefix length.
20232 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20234         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20235         _SC_REGEX_VERSION.
20237         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20238         _POSIX_RAW_SOCKETS.
20240 2014-09-13  Allan McRae  <allan@archlinux.org>
20242         * po/ru.po: Update Russian translation from translation project.
20244 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20246         * locale/programs/locale.c (show_locale_vars): Inline local function
20247         into its sole call site.  Clean up some style nits.
20248         (print_item): New function, broken out of ...
20249         (show_info): ... local function here.  Clean up style nits.
20251         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20252         out of ...
20253         (set_class_defaults): ... local function set_default here.
20254         Define set_default as a macro locally to pass constant parameters.
20255         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20256         rather than a shared local.
20258         * stdlib/rpmatch.c (try): New function, broken out of ...
20259         (rpmatch): ... local function here.  Also, prototypify definition.
20261 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20263         * scripts/soversions.awk: Do not handle configuration names.
20264         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20265         vendor and os variables to soversions.awk.
20266         * configure.ac: Do not modify gnu-* host_os.
20267         * configure: Regenerated
20268         * shlib-versions: Remove first column with configuration names.
20269         * nptl/shlib-versions: Likewise.
20270         * nptl_db/shlib-versions: Likewise.
20271         * sysdeps/hppa/shlib-versions: Likewise.
20272         * sysdeps/m68k/shlib-versions: Likewise.
20273         * sysdeps/mach/hurd/shlib-versions: Likewise.
20274         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20275         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20276         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20277         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20278         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20279         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20280         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20281         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20283         Likewise.
20284         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20285         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20286         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20287         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20288         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20289         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20290         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20291         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20294         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20296         Regenerated.
20297         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20299         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20301         * shlib-versions: Remove OS-specific entries.  Moved to files in
20302         sysdeps.
20303         * sysdeps/mach/hurd/shlib-versions: New file.
20304         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20306         * nptl/shlib-versions: Remove architecture-specific entries.
20307         Moved to files in sysdeps.
20308         * shlib-versions: Likewise.
20309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20310         file.
20311         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20312         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20313         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20314         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20316         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20317         (UDP_NO_CHECK6_RX): Likewise.
20319 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20321         * sysdeps/posix/sysconf.c (__sysconf): Spell
20322         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20324 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20326         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20327         loading.
20328         * iconv/Versions (__gconv_transliterate): Export for use from
20329         gconv modules.
20330         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20331         (struct __gconv_trans_data, __gconv_trans_fct,
20332         __gconv_trans_context_fct, __gconv_trans_query_fct,
20333         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20334         definitions.
20335         (struct __gconv_step_data): Remove __trans member.
20336         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20337         longer hidden.  Remove unused trans_data argument.
20338         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20339         (__gconv_translit_find): Remove declaration.
20340         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20341         prototype.
20342         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20343         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20344         trans_data argument.  Add hidden definition.
20345         (__gconv_translit_find): Remove.
20346         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20347         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20348         * iconv/skeleton.c: Remove transliteration initialization.
20349         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20350         __gconv_step_data initialization.
20351         * libio/iofwide.c (__libio_translit_): Remove.
20352         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20353         * wcsmbs/btowc.c (__btowc): Likewise.
20354         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20355         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20356         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20357         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20358         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20359         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20360         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20361         * wcsmbs/wctob.c (wctob): Likewise.
20363 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20365         [BZ #16194]
20366         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20367         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20368         register usage.
20369         * sysdeps/x86/Makefile: Adjust.
20371 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20372             Roland McGrath  <roland@hack.frob.com>
20374         * locale/weight.h: Add include guard.
20375         (findidx): Make static rather than auto; take new parameters
20376         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20377         * locale/weightwc.h: Likewise.
20378         * posix/fnmatch_loop.c
20379         (FCT): Change type of EXTRA from int32_t to wint_t.
20380         Don't include either header inside the function.
20381         Call FINDIDX rather than findidx, and pass new arguments.
20382         #undef FINDIDX at the end of the file.
20383         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20384         FINDIDX before including fnmatch_loop.c for the non-wide version.
20385         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20386         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20387         for the wide version.
20388         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20389         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20390         Pass new arguments to findidx.
20391         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20392         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20393         Don't #include it inside the function.  Pass new arguments to findidx.
20394         * posix/regex_internal.h
20395         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20396         (re_string_elem_size_at): Don't #include it inside the function.
20397         Pass new arguments to findidx.
20398         * string/strcoll_l.c: #include WEIGHT_H at top level.
20399         (get_next_seq): Don't #include it inside the function.
20400         Pass new arguments to findidx.
20401         (get_next_seq_nocache): Likewise.
20402         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20403         (STRXFRM): Don't #include it inside the function.
20404         Pass new arguments to findidx.
20406 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20408         [BZ #17344]
20409         * malloc/malloc.c (unlink): Turn asserts into a call to
20410         malloc_printerr.
20412 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20414         [BZ #17370]
20415         * libio/wfileops (do_ftell_wide): Free OUT.
20417 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20419         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20421 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20423         [BZ #17363]
20424         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20425         group if the current group is empty.
20427 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20429         * benchtests/bench-memset.c (test_main): Add more test from size
20430         from 32 to 512 bytes.
20431         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20432         Add POWER8 memset object.
20433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20434         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20435         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20436         implementation.
20437         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20438         Likewise.
20439         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20440         multiarch POWER8 memset optimization.
20441         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20442         POWER8 memset optimization.
20444         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20445         Remove bzero multiarch objects.
20446         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20447         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20448         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20449         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20450         Remove define.
20451         [__bzero]: Redefine to specific name.
20452         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20453         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20454         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20455         define.
20456         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20457         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20459 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20461         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20462         warnings into errors.
20464         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20465         __cxa_thread_atexit_impl prototype.
20467 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20469         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20470         Fix capitalization of error message.
20472 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20474         * sysdeps/mips/preconfigure: Modify ABI tests.
20476 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20478         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20480 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20481             Carlos O'Donell  <carlos@systemhalted.org>
20483         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20484         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20485         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20486         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20487         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20488         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20489         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20490         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20491         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20492         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20493         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20494         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20495         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20496         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20497         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20498         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20499         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20500         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20501         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20502         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20503         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20504         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20505         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20506         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20507         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20508         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20509         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20510         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20511         Deconditionalize the code that was previously under [RESET_PID].
20512         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20513         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20514         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20515         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20516         include sysdep.h.
20518 2014-09-08  Allan McRae  <allan@archlinux.org>
20520         * version.h (RELEASE): Set to "development".
20521         (VERSION): Set to "2.20.90"
20523 2014-09-07  Allan McRae  <allan@archlinux.org
20525         * version.h (RELEASE): Set to "stable".
20526         (VERSION): Set to "2.20"
20527         * include/features.h (__GLIBC_MINOR__): Set to 20.
20529         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20530         Liebler.
20532         * po/ko.po: Update Korean translation from translation project.
20534 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20536         [BZ #17354]
20537         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20538         macro for handling signed relocations.
20540 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20542         [BZ #17325]
20543         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20544         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20545         assert.
20546         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20547         * iconvdata/ibm935.c (BODY): Likewise.
20548         * iconvdata/ibm937.c (BODY): Likewise.
20549         * iconvdata/ibm939.c (BODY): Likewise.
20550         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20551         assert.
20552         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20553         script.
20554         * iconvdata/run-iconv-test.sh: New test loop for checking for
20555         decoder crashers.
20557 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20559         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20560         libm_hidden_ver.
20562 2014-09-01  Allan McRae  <allan@archlinux.org>
20564         * po/eo.po: Update Esperanto translation from translation project.
20566         * po/ca.po: Update Catalan translation from translation project.
20568 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20570         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20571         __proc_dostop call.
20573 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20575         [BZ #17319]
20576         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20577         to call set_thread_area instead of hand written asm.
20578         (__NR_set_thread_area): Removed define.
20579         (TLS_FLAG_WRITABLE): Likewise.
20580         (__ASSUME_SET_THREAD_AREA): Remove check.
20581         (TLS_EBX_ARG): Remove define.
20582         (TLS_LOAD_EBX): Likewise.
20584 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20586         Simplify atomicity of socket creation in bind.
20588         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20589         looking up the name after linking the file.
20591 2014-08-27  Allan McRae  <allan@archlinux.org>
20593         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20595 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20597         [BZ #17187]
20598         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20599         trans_compare, open_translit, __gconv_translit_find):
20600         Remove module loading code.
20602 2014-08-26  Allan McRae  <allan@archlinux.org>
20604         * po/vi.po: Update Vietnamese translation from translation project.
20606         * po/uk.po: Update Ukrainian translation from translation project.
20608         * po/fr.po: Update French translation from translation project.
20610         * po/ru.po: Update Russian translation from translation project.
20612         * po/pl.po: Update Polish translation from translation project.
20614         * po/cs.po: Update Czech translation from translation project.
20616         * po/de.po: Update German translation from translation project.
20618         * po/bg.po: Update Bulgarian translation from translation project.
20620         * po/sv.po: Update Sweedish translation from translation project.
20622         * po/nl.po: Update Dutch translation from translation project.
20624         * po/es.po: Update Spanish translation from translation project.
20626 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20628         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20630         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20631         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20632         (CPPFLAGS-iconvconfig): Likewise.
20633         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20635         * include/libc-symbols.h: Remove unnecessary check for
20636         NOT_IN_libc.
20637         * nptl/pthreadP.h: Likewise.
20638         * sysdeps/aarch64/setjmp.S: Likewise.
20639         * sysdeps/alpha/setjmp.S: Likewise.
20640         * sysdeps/arm/sysdep.h: Likewise.
20641         * sysdeps/i386/setjmp.S: Likewise.
20642         * sysdeps/m68k/setjmp.c: Likewise.
20643         * sysdeps/posix/getcwd.c: Likewise.
20644         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20645         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20646         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20647         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20648         * sysdeps/sh/sh3/setjmp.S: Likewise.
20649         * sysdeps/sh/sh4/setjmp.S: Likewise.
20650         * sysdeps/unix/alpha/sysdep.h: Likewise.
20651         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20652         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20653         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20654         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20657         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20658         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20659         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20660         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20661         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20662         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20664         * sysdeps/x86_64/setjmp.S: Likewise.
20666 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20668         [BZ #17263]
20669         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20670         <stdint.h>.
20671         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20672         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20674 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20676         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20678         [BZ #17262]
20679         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20680         and __x86_64__ when disabling x87 inline functions.
20682 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20684         [BZ #17259]
20685         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20686         asm statement with __cpuid_count.
20688 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20690         * configure.ac: Change __ehdr_start code to dereference the struct.
20691         Run readelf on the output to look for relocations.
20692         * configure: Regenerated.
20694 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20696         [BZ #17261]
20697         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20698         value to 0.
20699         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20701 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20703         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20705 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20707         [BZ #16892]
20708         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20709         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20711 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20713         * malloc/malloc.c: Fix typo in comment.
20715 2014-08-09  Allan McRae  <allan@archlinux.org>
20717         * Regenerate libc.po.
20719 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20721         * intl/tst-gettext2.sh: Check every lang file for creation.
20723 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20725         * sysdeps/aarch64/fpu/math_private.h
20726         (libc_feholdsetround_noex_aarch64_ctx): New function.
20728 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20730         * sysdeps/arm/armv6/strcpy.S (strcpy):
20731         Fix performance issue in misaligned cases.
20733 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20735         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20736         Move definition from termios.h.
20737         (struct termio): Likewise.
20738         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20739         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20740         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20741         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20742         Likewise.
20743         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20744         Move definition to ioctl-types.h
20745         (struct termio): Likewise.
20746         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20747         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20748         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20749         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20750         Likewise.
20752 2014-08-05  Richard Henderson  <rth@redhat.com>
20754         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20755         exceptions.
20756         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20757         Add fraiseexcpt.
20758         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20759         Use __feraiseexcept.
20760         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20761         Protect libm symbols with IS_IN_libm.
20763         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20765 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20767         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20769 2014-08-04  Will Newton  <will.newton@linaro.org>
20771         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20772         file.
20774 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20776         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20777         variants for each function.
20779 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20781         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20782         appended ...
20783         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20784         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20785         appended ...
20786         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20787         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20788         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20789         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20790         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20791         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20792         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20793         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20794         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20795         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20796         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20797         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20798         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20799         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20800         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20801         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20802         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20803         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20804         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20805         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20806         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20807         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20808         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20809         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20810         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20811         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20812         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20813         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20814         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20815         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20816         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20817         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20818         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20819         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20820         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20821         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20822         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20823         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20824         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20825         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20826         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20827         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20828         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20829         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20830         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20831         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20832         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20833         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20834         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20835         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20836         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20837         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20838         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20839         Update #include.
20840         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20841         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20843 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20845         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20846         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20847         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20848         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20849         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20850         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20852 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20854         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20855         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20856         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20857         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20859 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20861         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20862         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20863         (__libc_vfork): Define function under this name.
20864         (__vfork): Define as an alias.
20865         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20866         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20868 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20870         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20871         that was previously under [RESET_PID].
20872         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20874 2014-08-04  Andreas Schwab  <schwab@suse.de>
20876         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20878 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
20880         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
20881         (main): Likewise.
20883 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20885         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
20887 2014-08-01  Richard Henderon  <rth@redhat.com>
20889         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
20890         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
20891         typo in exact zero test.
20892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20893         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20894         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20896 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20898         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
20899         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
20900         * sysdeps/arm/sysdep.h: ... here.
20901         [!__ASSEMBLER__]: Include <stdint.h>.
20903 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20905         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
20906         (HAVE_WCTYPE_H): Likewise.
20907         (HAVE_ISWCTYPE): Likewise.
20908         (ENABLE_NLS): Likewise.
20909         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
20910         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
20912         * posix/regex_internal.c: Check if DEBUG is defined and is
20913         set.
20915         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
20916         (HAVE_MBSRTOWCS): Likewise.
20917         * posix/fnmatch.c: Include string.h unconditionally.
20919 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20921         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
20922         reversal.
20924 2014-07-31  Roland McGrath  <roland@hack.frob.com>
20926         * sysdeps/generic/safe-fatal.h: New file.
20927         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
20928         * nptl/forward.c: Include it.
20929         (__pthread_unwind): Use __safe_fatal as default action, rather
20930         than a bogus use of INTERNAL_SYSCALL that could never work.
20932         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
20933         * configure.ac (libc_cv_builtin_trap): New test.
20934         * configure: Regenerated.
20935         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
20936         (ABORT_INSTRUCTION): Define using __builtin_trap.
20938         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
20939         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
20940         * sysdeps/nptl/nptl-signals.h: New file.
20941         * nptl/pthreadP.h: Include <nptl-signals.h>.
20943 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20945         * sysdeps/s390/s390-64/utf16-utf32-z9.c
20946         (ONE_DIRECTION): Define.
20947         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20948         (ONE_DIRECTION): Define.
20949         * sysdeps/s390/s390-64/utf8-utf32-z9.c
20950         (ONE_DIRECTION): Define.
20952 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20954         * sysdeps/s390/Makefile: Delete file.
20955         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
20956         * sysdeps/s390/__longjmp.c: Delete file.
20957         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
20958         Remove fields __flags and __reserved.
20959         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
20960         and add versioning.
20961         * sysdeps/s390/rtld-__longjmp.c: Delete file.
20962         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
20963         * sysdeps/s390/rtld-setjmp.S: Likewise.
20964         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
20965         * sysdeps/s390/s390-32/__longjmp.c: ... here.
20966         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
20967         * sysdeps/s390/s390-32/setjmp.S: ... here.
20968         Add versioning.
20969         (__sigsetjmp): Remove setting __flags field.
20970         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
20971         * sysdeps/s390/s390-64/__longjmp.c: ... here.
20972         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
20973         * sysdeps/s390/s390-64/setjmp.S: ... here.
20974         Add versioning.
20975         (__sigsetjmp): Remove setting __flags field.
20976         * sysdeps/s390/setjmp.S: Delete file.
20977         * sysdeps/s390/sigjmp.c: Likewise.
20978         * sysdeps/s390/v1-longjmp.c: Likewise.
20979         * sysdeps/s390/v1-setjmp.h: Likewise.
20980         * sysdeps/s390/v1-sigjmp.c: Likewise.
20981         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
20982         Remove v1-longjmp_chk.
20983         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
20984         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
20985         Include debug/longjmp_chk.c and add versioning.
20986         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
20987         Include nptl/pt-longjmp.c and add versioning.
20988         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
20989         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
20990         Include __longjmp.c.
20991         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20992         Move to ...
20993         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
20994         (__getcontext): Remove setting __flags field.
20995         Add versioning.
20996         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20997         Don't restore upper high grps.
20998         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
20999         Likewise.
21000         (__swapcontext): Remove setting uc_flags field.
21001         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21002         Delete file.
21003         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21004         Include __longjmp.c.
21005         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21006         Move to ...
21007         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21008         (__getcontext): Remove setting __flags field.
21009         Add versioning.
21010         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21011         (__swapcontext): Remove setting uc_flags field.
21012         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21013         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21014         Remove fields uc_high_gprs and __reserved.
21015         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21016         New file with reverted content.
21017         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21018         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21019         Regenerated.
21020         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21021         Regenerated.
21023 2014-07-31  Andreas Schwab  <schwab@suse.de>
21025         * config.h.in (HAVE_IFUNC): Define to 0.
21026         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21027         definedness.
21029 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21032         memmove-avx-unaligned, memcpy-avx-unaligned and
21033         mempcpy-avx-unaligned.
21034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21035         Add tests for AVX memcpy functions.
21036         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21037         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21038         memcpy_chk.
21039         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21040         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21041         memmove_chk.
21042         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21043         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21044         mempcpy_chk.
21045         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21046         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21047         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21049 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21051         [BZ #17213]
21052         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21053         powerpc64le.
21055 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21057         [BZ #16839]
21058         * manual/llio.texi: Add section about open file description locks.
21059         * manual/examples/ofdlocks.c: Example of open file description
21060         lock usage.
21061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21062         F_OFD_SETLK, and F_OFD_SETLKW.
21064 2014-07-23  Allan McRae  <allan@archlinux.org>
21066         * po/es.po: Update Spanish translation from translation project.
21068 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21070         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21072 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21074         [BZ #17078]
21075         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21076         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21077         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21079 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21081         [BZ #17088]
21082         * math/fesetenv.c (__fesetenv)
21083         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21084         * math/feupdateenv.c (__feupdateenv)
21085         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21087         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21088         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21089         (__ASSUME_SOCKETCALL): Do not define.
21091         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21092         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21093         (__ASSUME_SOCKETCALL): Do not define.
21094         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21095         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21096         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21097         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21098         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21099         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21100         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21101         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21103         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21104         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21105         (__ASSUME_SOCKETCALL): Do not define.
21106         (__ASSUME_IPC64): Define unconditionally.
21107         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21108         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21109         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21110         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21111         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21112         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21113         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21114         Likewise.
21116         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21117         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21118         (__ASSUME_SOCKETCALL): Do not define.
21119         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21120         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21121         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21122         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21123         (__ASSUME_REQUEUE_PI): Define unconditionally.
21124         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21125         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21126         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21127         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21128         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21129         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21131         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21132         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21133         (__ASSUME_SOCKETCALL): Do not define.
21134         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21135         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21136         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21137         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21138         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21139         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21141         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21142         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21143         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21144         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21145         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21146         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21147         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21148         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21149         (__ASSUME_GETCPU_SYSCALL): Likewise.
21151         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21152         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21153         cases for individual architectures.
21154         * sysdeps/gnu/configure: Regenerated.
21155         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21156         LIBC_SLIBDIR_RTLDDIR.
21157         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21158         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21159         LIBC_SLIBDIR_RTLDDIR.
21160         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21162         LIBC_SLIBDIR_RTLDDIR.
21163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21164         Regenerated.
21165         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21166         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21167         file.
21168         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21169         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21170         file.
21171         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21172         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21173         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21174         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21176         * sysdeps/aarch64/shlib-versions: Move to ...
21177         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21178         * sysdeps/alpha/shlib-versions: Move to ...
21179         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21180         * sysdeps/arm/shlib-versions: Move to ...
21181         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21182         * sysdeps/hppa/shlib-versions: Move all contents except for
21183         libgcc_s entry to ...
21184         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21185         entry from ...
21186         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21187         * sysdeps/ia64/shlib-versions: Move to ...
21188         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21189         entry from ...
21190         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21191         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21192         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21193         * sysdeps/microblaze/shlib-versions: Move to ...
21194         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21195         * sysdeps/mips/shlib-versions: Move to ...
21196         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21197         entry from ...
21198         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21199         * sysdeps/tile/shlib-versions: Move to ...
21200         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21201         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21202         from ...
21203         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21204         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21205         entry from ...
21206         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21208 2014-07-17  Will Newton  <will.newton@linaro.org>
21210         * sysdeps/arm/bits/atomic.h
21211         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21212         (__arch_compare_and_exchange_bool_16_int): Likewise.
21213         (__arch_compare_and_exchange_bool_64_int): Likewise.
21215         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21216         into an #else block.
21218 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21220         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21221         just Linux configurations.  Test empirically that the compiler sets
21222         __ARM_EABI__, rather than using the tuple to decide.
21223         * sysdeps/arm/preconfigure: Regenerated.
21224         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21225         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21226         contents appended ...
21227         * sysdeps/arm/configure.ac: ... here.
21228         * sysdeps/arm/configure: Regenerated.
21230 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21232         * nptl/pthread_kill.c: New file.
21233         * nptl/pthread_sigmask.c: New file.
21234         * nptl/pthread_sigqueue.c: New file.
21236         * sysdeps/nptl/lowlevellock.h: New file.
21237         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21238         * sysdeps/nptl/lowlevellock-futex.h: New file.
21240         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21241         Remove dead declarations.
21243 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21245         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21246         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21247         config-cflags-avx2.
21248         * sysdeps/x86_64/configure.ac: Likewise.
21249         * sysdeps/i386/configure: Regenerated.
21250         * sysdeps/x86_64/configure: Likewise.
21251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21252         memset-avx2 only if config-cflags-avx2 is yes.
21253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21254         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21255         defined.
21256         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21257         only if HAVE_AVX2_SUPPORT is defined.
21258         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21260 2014-07-14  Alan Modra  <amodra@gmail.com>
21262         [BZ #17153]
21263         * elf/elf.h (DT_PPC64_NUM): Correct value.
21264         * NEWS: Add to fixed bug list.
21266 2014-07-13  Jim Meyering  <meyering@fb.com>
21268         [BZ 17150]
21269         regex: don't deref NULL upon heap allocation failure
21270         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21271         failure in one more place.
21272         To trigger the segfault, configure grep -with-included-regex,
21273         build it, and run these commands:
21274         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21276 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21278         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21280 2014-07-11  Richard Henderson  <rth@redhat.com>
21282         * sysdeps/aarch64/libm-test-ulps: Update.
21284 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21286         [BZ #17135]
21287         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21288         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21289         (__nptl_setxid): Initialize error member.  Call
21290         __nptl_setxid_error.
21291         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21292         * nptl/descr.h (struct xid_command): Add error member.
21293         * nptl/tst-setuid3.c: New file.
21294         * nptl/Makefile (tests): Add it.
21296 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21298         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21299         New define.
21300         (__lll_trylock): Use __lll_base_trylock.
21301         (__lll_cond_trylock): Likewise.
21303 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21305         * nptl/pthread_create.c (start_thread): Use atomic_or and
21306         lll_futex_wake directly rather than lll_robust_dead.
21307         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21308         (lll_robust_dead): Macro removed.
21309         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21310         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21311         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21312         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21313         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21314         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21315         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21316         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21317         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21318         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21319         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21320         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21321         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21322         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21323         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21325         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21326         Use atomic_compare_and_exchange_val_acq directly rather than
21327         lll_robust_trylock.
21328         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21329         (__lll_robust_trylock, lll_robust_trylock): Removed.
21330         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21331         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21332         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21333         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21334         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21335         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21336         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21337         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21338         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21339         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21340         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21341         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21342         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21343         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21345 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21347         * manual/locale.texi (Locale Names): New section documenting
21348         locale name syntax.  Adjust menu and node chaining accordingly.
21349         (Choosing Locale): Reference Locale Names, Locale Categories.
21350         Mention setting LC_ALL=C.  Reflect that name syntax is now
21351         documented.
21352         (Locale Categories): New section title.  Reference Locale Names.
21353         LC_ALL is an environment variable, but not a category.
21354         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21355         description, now in Locale Name.  Reference that section.  Locale
21356         name syntax is now documented.
21358 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21360         [BZ #17137]
21361         * locale/findlocale.c (name_present, valid_locale_name): New
21362         functions.
21363         (_nl_find_locale): Use the loc_name variable to store name
21364         candidates.  Call name_present and valid_locale_name to check and
21365         validate locale names.  Return an error if the locale is invalid.
21367 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21369         * locale/setlocale.c (setlocale): Use strdup for allocating
21370         composite name copy.
21372 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21374         Sync up with gnulib.
21375         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21376         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21377         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21378         and _GL_ARG_NONNULL.
21379         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21380         [!_LIBC]: Include code for Windows and Cygwin.
21381         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21382         Include prototype for int strerror_r.
21383         [!_LIBC] (is_open): New function.
21384         (flush_stdout): New function.
21385         (print_errno_message): Use it.
21386         (error): Likewise.
21387         (error_at_line): Likewise.
21388         (error_tail) Add function attribute macros.  Use
21389         __builtin_expect.
21391         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21393         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21395         * io/ftw.c: Include sys/param.h unconditionally.
21397         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21399         [BZ #17125]
21400         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21401         libc_freeres_ptr.
21402         (freecache): New function to free CACHE on exit.
21404         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21405         initialization.
21407 2014-07-09  David S. Miller  <davem@davemloft.net>
21409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21411         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21412         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21413         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21414         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21415         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21416         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21417         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21418         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21419         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21420         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21421         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21422         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21423         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21425 2014-07-09  Andreas Schwab  <schwab@suse.de>
21427         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21428         output.
21429         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21430         (do_test): Likewise.
21432         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21434 2014-07-09  Will Newton  <will.newton@linaro.org>
21436         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21437         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21438         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21439         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21440         * sysdeps/hppa/start.S (_start): Likewise.
21442 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21444         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21446         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21447         defined.
21449 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21451         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21452         after checking that it is non-NULL.
21454         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21456 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21458         * sysdeps/powerpc/memmove.c: Remove file.
21459         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21460         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21461         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21462         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21463         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21464         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21465         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21466         string memmove instead of removed powerpc one.
21468         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21469         [weak_alias]: Fix compiler warning due trailing data.
21470         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21471         [weak_alias]: Likewise.
21472         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21473         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21476         (__libc_ifunc_impl_list): Add memmove functions.
21478 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21480         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21481         Remove code.
21482         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21483         Likewise
21484         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21485         Likewise
21486         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21487         Likewise
21488         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21489         Likewise
21490         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21491         Likewise
21492         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21493         Likewise
21494         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21495         Likewise
21496         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21497         Likewise
21498         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21499         Likewise
21500         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21501         Likewise
21502         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21503         Likewise
21504         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21505         Likewise
21506         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21507         Likewise
21508         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21509         Likewise
21510         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21511         Likewise
21512         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21513         Likewise
21515 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21517         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21518         to avoid alignment traps in non-cacheable memory.
21519         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21522         multiarch objects.
21523         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21524         file: multiarch power7 memmove.
21525         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21526         multiarch default memmove.
21527         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21528         multiarch memove for powerpc32/power4.
21530         * string/bcopy.c: Use full path to include memmove.c.
21531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21532         multiarch objects.
21533         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21534         bcopy for powerpc64.
21535         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21536         bcopy for powerpc64.
21537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21538         and memmove implementations.
21539         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21540         optimized multiarch memmove for POWER7/powerpc64.
21541         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21542         default multiarch memmove for powerpc64.
21543         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21544         multiarch for powerpc64.
21545         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21546         for POWER7/powerpc64.
21547         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21548         memmove for POWER7/powerpc64.
21550         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21551         glibc default one.
21553         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21554         __ELF_NATIVE_CLASS equal to 64.
21556 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21558         * sysdeps/nptl/lowlevellock.h: File removed.
21560         * NEWS: NPTL is no longer an add-on!
21561         * nptl/internaltypes.h: Moved ...
21562         * sysdeps/nptl/internaltypes.h: ... here.
21563         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21564         * sysdeps/nptl/fork.c: Likewise.
21565         * sysdeps/nptl/gai_misc.h: Likewise.
21566         * sysdeps/nptl/librt-cancellation.c: Likewise.
21567         * sysdeps/nptl/jmp-unwind.c: Likewise.
21568         * sysdeps/nptl/setxid.h: Likewise.
21569         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21570         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21571         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21572         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21573         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21574         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21575         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21576         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21577         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21578         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21579         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21580         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21581         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21582         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21583         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21584         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21585         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21586         * nptl/Makeconfig: Moved ...
21587         * sysdeps/nptl/Makeconfig: ... here.
21588         * nptl/configure: File removed.
21589         * nptl/ANNOUNCE: File removed.
21590         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21591         * sysdeps/unix/sysv/linux/configure: Regenerated.
21593         * nptl/Makefile (routines): Add libc_pthread_init,
21594         libc_multiple_threads, register-atfork and unregister-atfork.
21595         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21596         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21597         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21598         pthread-pi-defines.sym, structsem.sym.
21599         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21600         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21601         [$(subdir) = nptl] (tests): Add tst-setgetname.
21602         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21603         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21604         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21605         [!LIBC_SIGACTION]: Remove aliases.
21606         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21607         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21608         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21609         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21610         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21611         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21612         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21613         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21614         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21615         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21616         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21617         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21618         __libc_allocate_rtsig_private.
21619         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21620         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21621         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21622         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21623         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21624         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21625         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21626         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21627         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21628         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21629         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21630         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21631         * nptl/internaltypes.h: ... here.
21632         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21633         * sysdeps/nptl/jmp-unwind.c: ... here.
21634         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21635         * nptl/libc-lowlevellock.c: ... here.
21636         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21637         * nptl/libc_multiple_threads.c: ... here.
21638         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21639         * nptl/libc_pthread_init.c: ... here.
21640         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21641         * nptl/lowlevelbarrier.sym: ... here.
21642         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21643         * nptl/lowlevelcond.sym: ... here.
21644         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21645         * nptl/lowlevellock.c: ... here.
21646         * nptl/lowlevellock.h: Moved ...
21647         * sysdeps/nptl/lowlevellock.h: ... here.
21648         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21649         * nptl/lowlevelrobustlock.c: ... here.
21650         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21651         * nptl/lowlevelrobustlock.sym: ... here.
21652         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21653         * nptl/lowlevelrwlock.sym: ... here.
21654         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21655         * nptl/pt-fork.c: ... here.
21656         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21657         * nptl/pthread-pi-defines.sym: ... here.
21658         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21659         * nptl/pthread_attr_getaffinity.c: ... here.
21660         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21661         * nptl/pthread_attr_setaffinity.c: ... here.
21662         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21663         * nptl/pthread_mutex_cond_lock.c: ... here.
21664         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21665         Update #include.
21666         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21667         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21668         * nptl/pthread_once.c: ... here, replacing old file.
21669         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21670         * nptl/pthread_yield.c: ... here.
21671         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21672         * nptl/register-atfork.c: ... here.
21673         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21674         * nptl/sem_post.c: ... here.
21675         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21676         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21677         * nptl/sem_timedwait.c: ... here.
21678         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21679         * nptl/sem_trywait.c: ... here.
21680         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21681         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21682         * nptl/sem_wait.c: ... here.
21683         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21684         * nptl/structsem.sym: ... here.
21685         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21686         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21687         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21688         * nptl/unregister-atfork.c: ... here.
21689         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21690         * nptl/unwindbuf.sym: ... here.
21691         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21692         * sysdeps/nptl/fork.c: ... here.
21693         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21694         * sysdeps/nptl/fork.h: ... here.
21695         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21696         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21697         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21698         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21699         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21700         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21701         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21702         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21703         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21704         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21705         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21706         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21707         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21708         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21709         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21710         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21711         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21712         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21713         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21714         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21715         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21716         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21717         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21718         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21719         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21720         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21721         * sysdeps/unix/sysv/linux/raise.c: ... here.
21722         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21723         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21724         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21725         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21726         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21727         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21728         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21729         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21730         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21731         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21732         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21733         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21734         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21735         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21736         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21738 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21740         * sysdeps/generic/memcopy.h: Add comment for
21741         MEMCPY_OK_FOR_FWD_MEMMOVE.
21743 2014-07-04  Will Newton  <will.newton@linaro.org>
21745         * string/memchr.c: Merge from gnulib.
21746         [_LIBC]: Remove conditionals.
21747         (__ptr_t): Remove define.
21748         (LONG_MAX_32_BITS): Likewise.
21749         (LONG_MAX): Likewise.
21750         (MEMCHR): Use ANSI prototype and optimize algorithm.
21752         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21754 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21756         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21757         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21759         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21760         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21761         in a bare environment with no <stdlib.h> installed.
21762         * sysdeps/nptl/configure: Regenerated.
21764         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21766         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21767         AC_EGREP_CPP for kernel header checks, so they only succeed if
21768         including <linux/version.h> actually works right.
21769         * sysdeps/unix/sysv/linux/configure: Regenerated.
21771         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21772         value so it's not diagnosed as unused.
21774         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21775         thing) with "ifeq ($(subdir),rt)".
21777 2014-07-03  Richard Henderson  <rth@redhat.com>
21779         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21780         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21781         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21783         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21784         (math_force_eval): New.
21786         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21787         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21789         * sysdeps/alpha/fpu/s_round.c: Remove file.
21790         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21792         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21793         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21794         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21795         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21796         (_dl_start, print_statistics): Likewise.
21797         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21798         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21800         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21801         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21802         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21803         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21804         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21805         (HP_SMALL_TIMING_AVAIL): Define.
21806         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21807         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21808         (HP_SMALL_TIMING_AVAIL): Define.
21809         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21810         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21812         * sysdeps/aarch64/hp-timing.h: New file.
21814         * sysdeps/generic/hp-timing.h: Remove dead comment.
21815         * sysdeps/generic/hp-timing-common.h: New file.
21816         * sysdeps/alpha/hp-timing.h: Include it.
21817         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21818         * sysdeps/i386/i686/hp-timing.h: Likewise.
21819         * sysdeps/ia64/hp-timing.h: Likewise.
21820         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21821         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21822         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21823         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21824         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21825         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21826         (hp_timing_t): New.
21828         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21829         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21830         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21831         * elf/rtld.c (_dl_start_final): Likewise.
21832         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21833         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21834         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21835         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21836         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21837         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21838         (HP_TIMING_DIFF_INIT): Remove.
21839         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21840         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21841         (HP_TIMING_DIFF_INIT): Remove.
21842         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21843         * sysdeps/i386/i686/hp-timing.c: Remove file.
21844         * sysdeps/x86_64/hp-timing.c: Remove file.
21845         * sysdeps/ia64/hp-timing.c: Remove file.
21846         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21847         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21848         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21849         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21851         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21852         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21853         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21854         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21855         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21856         (HP_TIMING_ACCUM): Remove.
21857         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21858         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21859         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21861         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21862         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21863         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21864         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21865         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21866         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21867         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21868         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21870         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21872 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21874         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21876 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21878         Sync up with gettext.
21879         * intl/loadmsgcat.c: Define O_BINARY if not defined.
21880         [_MSC_VER]: Include malloc.h
21881         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
21882         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
21883         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
21884         TEMP_FAILURE_RETRY.  Cast return of alloca.
21885         [!_LIBC] Call gl_rwlock_init.
21886         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
21888 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21890         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
21891         before checking its value.
21893 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21895         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
21897         * debug/memcpy_chk.c: Don't include pagecopy.h.
21898         * debug/mempcpy_chk.c: Likewise.
21899         * string/memcpy.c: Likewise.
21900         * string/memmove.c: Likewise.
21901         * sysdeps/powerpc/memmove.c: Likewise.
21902         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
21903         definition of PAGE_COPY_FWD_MAYBE here...
21904         * sysdeps/generic/pagecopy.h: ... from here.
21905         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
21907 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21908             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21910         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
21911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
21912         optimizations.
21913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21914         (__libc_ifunc_impl_list): Likewise.
21915         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
21916         multiarch strcat for PPC64.
21917         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
21918         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
21920 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21922         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
21924 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21926         * intl/loadmsgcat.c: Remove declaration of
21927         get_sysdep_segment_value.
21928         (get_sysdep_segment_value): Use ISO C style.
21929         (_nl_load_domain): Use ISO C style.  Get rid of redundant
21930         semicolon.  Fix typo and formatting in comment.
21931         (_nl_unload_domain): Use ISO C style.
21933         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
21935 2014-07-02  Will Newton  <will.newton@linaro.org>
21937         * malloc/obstack.c: Merge from gnulib master.
21938         [HAVE_CONFIG_H]: Remove conditional code.
21939         [!_LIBC]: Include config.h.
21940         [!ELIDE_CODE]: Don't include inttypes.h, include
21941         stdint.h unconditionally.
21942         (print_and_abort): Mark as _Noreturn.
21943         (_obstack_allocated_p): Mark as __attribute_pure__.
21944         (obstack_free): Rename to __obstack_free.
21945         [!__attribute__]: Remove conditional code.
21946         * malloc/obstack.h: Merge from gnulib master.
21947         [__cplusplus]: Move conditional down.
21948         [!__attribute_pure__]: Define __attribute_pure__ here
21949         if it is not already defined.
21950         (_obstack_memory_used): Mark as __attribute_pure__.
21951         [!__obstack_free]: Define as obstack_free.
21952         [__GNUC__]: Remove check for ancient NeXT gcc.
21954 2014-07-02  Will Newton  <will.newton@linaro.org>
21955             Paul Eggert  <eggert@cs.ucla.edu>
21957         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
21959 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21961         * resolv/gethnamaddr.c: Add comment warning that the file is
21962         not maintained.
21964 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
21966         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
21967         entries.
21969         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
21970         entry for aio_cancel and aio_cancel64.
21971         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
21972         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
21973         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
21974         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
21975         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
21976         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
21977         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
21978         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
21979         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
21980         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
21981         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
21982         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
21983         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
21985 2014-07-01  Roland McGrath  <roland@hack.frob.com>
21987         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
21988         * nptl/pthread_mutex_lock.c: Likewise.
21989         * nptl/pthread_mutex_timedlock.c: Likewise.
21990         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
21992 2014-07-01  Richard henderson  <rth@redhat.com>
21994         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
21995         (__isnan, __isnanl): Remove.
21996         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
21998         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22000 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22002         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22004 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22006         * resolv/nss_dns/dns-host.c (getanswer_r)
22007         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22009 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22012         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22013         undefine.
22014         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22015         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22017 2014-07-01  Roland McGrath <roland@hack.frob.com>
22019         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22020         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22022         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22023         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22025         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22026         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22027         ... here.
22028         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22029         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22031         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22032         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22033         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22034         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22036         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22037         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22038         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22039         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22040         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22041         Moved ...
22042         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22043         ... here.
22044         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22045         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22046         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22047         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22048         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22049         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22050         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22051         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22052         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22053         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22054         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22055         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22056         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22057         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22058         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22059         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22060         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22061         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22062         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22063         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22064         ... here.
22065         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22066         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22067         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22068         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22069         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22070         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22071         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22072         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22074 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22076         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22077         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22078         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22079         Add sysdep.
22081 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22085 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22087         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22088         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22090         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22092         * sysdeps/arm/libm-test-ulps: Regenerated.
22094 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22095             Roland McGrath <roland@hack.frob.com>
22097         * test-skeleton.c (signal_handler): Kill the whole process group
22098         before killing the child individually.
22099         (main): Report any failure on `setpgid'.
22101 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22103         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22104         from _TLS_H to _ARM_NPTL_TLS_H.
22105         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22106         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22108 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22110         [BZ #16539]
22111         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22112         (__expm1l): Return argument unchanged when small but not
22113         subnormal.
22115         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22116         include macro name.
22117         (_FP_UNPACK_RAW_1_P): Likewise.
22118         (_FP_PACK_RAW_1): Likewise.
22119         (_FP_PACK_RAW_1_P): Likewise.
22120         (_FP_MUL_MEAT_1_wide): Likewise.
22121         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22122         (_FP_MUL_MEAT_1_hard): Likewise.
22123         (_FP_DIV_MEAT_1_imm): Likewise.
22124         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22125         (_FP_DIV_MEAT_1_udiv): Likewise.
22126         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22127         (_FP_UNPACK_RAW_2): Likewise.
22128         (_FP_UNPACK_RAW_2_P): Likewise.
22129         (_FP_PACK_RAW_2): Likewise.
22130         (_FP_PACK_RAW_2_P): Likewise.
22131         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22132         (_FP_MUL_MEAT_2_wide): Likewise.
22133         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22134         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22135         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22136         (_FP_MUL_MEAT_2_gmp): Likewise.
22137         (_FP_DIV_MEAT_2_udiv): Likewise.
22138         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22139         (_FP_FRAC_SRL_4): Likewise.
22140         (_FP_FRAC_SRST_4): Likewise.
22141         (_FP_FRAC_SRS_4): Likewise.
22142         (_FP_UNPACK_RAW_4): Likewise.
22143         (_FP_UNPACK_RAW_4_P): Likewise.
22144         (_FP_PACK_RAW_4): Likewise.
22145         (_FP_PACK_RAW_4_P): Likewise.
22146         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22147         (_FP_MUL_MEAT_4_wide): Likewise.
22148         (_FP_MUL_MEAT_4_gmp): Likewise.
22149         (umul_ppppmnnn): Likewise.
22150         (_FP_DIV_MEAT_4_udiv): Likewise.
22151         (__FP_FRAC_ADD_4): Likewise.
22152         (__FP_FRAC_SUB_3): Likewise.
22153         (__FP_FRAC_SUB_4): Likewise.
22154         (__FP_FRAC_DEC_3): Likewise.
22155         (__FP_FRAC_DEC_4): Likewise.
22156         (__FP_FRAC_ADDI_4): Likewise.
22157         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22158         (_FP_FRAC_SRL_8): Likewise.
22159         (_FP_FRAC_SRS_8): Likewise.
22161         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22162         include macro name.
22163         (FP_UNPACK_RAW_EP): Likewise.
22164         (FP_PACK_RAW_E): Likewise.
22165         (FP_PACK_RAW_EP): Likewise.
22166         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22167         (_FP_ISSIGNAN): Likewise.
22168         (_FP_ADD_INTERNAL): Likewise.
22169         (_FP_FMA): Likewise.
22170         (_FP_CMP): Likewise.
22171         (_FP_SQRT): Likewise.
22172         (_FP_TO_INT): Likewise.
22173         (_FP_FROM_INT): Likewise.
22174         (FP_EXTEND): Likewise.
22175         (_FP_DIV_MEAT_N_loop): Likewise.
22177 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22179         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22180         throughout.
22182 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22184         [BZ #17097]
22185         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22186         result with correct sign in case of exponents that produce
22187         overflow except for X very close to 1.
22189 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22191         mktime: merge #if/#ifdef usage from glibc
22192         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22193         as that works with both Glibc's and Gnulib's style.
22194         See thread starting at Siddhesh Poyarekar's bug report at:
22195         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22197 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22199         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22200         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22201         * sysdeps/tile/tilegx/memmove.c: Remove file.
22203 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22205         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22206         abi-name definition.
22207         * scripts/soversions.awk: Do not handle or generate ABI lines.
22208         * shlib-versions: Remove ABI entries.
22209         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22210         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22212 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22215         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22216         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22217         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22219         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22221         Moved ...
22222         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22223         ... here.
22224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22225         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22227         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22229         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22231         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22233         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22235         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22237         Moved ...
22238         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22240         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22242         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22244         Moved ...
22245         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22247         Moved ...
22248         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22250         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22251         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22252         Moved ...
22253         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22255         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22257         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22259         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22261         Moved ...
22262         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22264         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22265         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22266         Moved ...
22267         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22268         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22269         Moved ...
22270         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22272         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22274         Moved ...
22275         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22276         ... here.
22277         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22278         Identical file removed.
22279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22280         Moved ...
22281         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22282         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22283         Identical file removed.
22284         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22285         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22286         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22287         Moved ...
22288         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22289         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22290         Identical file removed.
22291         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22292         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22293         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22294         Identical file removed.
22295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22296         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22298         Identical file removed.
22299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22300         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22301         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22302         Identical file removed.
22303         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22304         Moved ...
22305         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22306         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22307         Identical file removed.
22308         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22309         Moved ...
22310         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22311         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22312         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22314         Identical file removed.
22315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22316         Moved ...
22317         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22318         ... here.
22319         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22320         Identical file removed.
22321         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22322         Moved ...
22323         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22324         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22325         Identical file removed.
22326         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22327         Moved ...
22328         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22329         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22330         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22332         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22333         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22334         Moved ...
22335         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22336         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22337         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22339         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22340         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22341         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22342         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22343         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22345 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22347         [BZ #17092]
22348         * nscd/nscd.c (monitor_child): Return exit status of child
22349         instead of return value from wait syscall.
22351 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22353         * configure.ac (libc_commonpagesize): Remove variable.
22354         (libc_relro_required): Likewise.
22355         (libc_cv_z_relro): Remove configure test.
22356         * configure: Regenerated.
22357         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22358         variable.
22359         (libc_relro_required): Likewise.
22360         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22361         (libc_relro_required): Likewise.
22362         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22363         (libc_relro_required): Likewise.
22364         * sysdeps/arm/preconfigure: Regenerated.
22365         * sysdeps/ia64/preconfigure: Remove file.
22366         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22367         variable.
22368         (libc_relro_required): Likewise.
22370         [BZ #16561]
22371         [BZ #16562]
22372         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22373         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22374         recompute overflowing results in original rounding mode.
22375         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22376         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22377         recompute overflowing results in original rounding mode.
22378         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22379         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22380         recompute overflowing results in original rounding mode.
22381         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22382         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22383         recompute overflowing results in original rounding mode.
22384         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22385         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22386         recompute overflowing results in original rounding mode.
22387         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22388         (libc_feholdsetround_ctx): New macro.
22389         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22390         * sysdeps/i386/fpu/libm-test-ulps: Update.
22391         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22393 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22395         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22396         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22397         corresponding .cpsetup call.
22399 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22401         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22402         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22403         * sysdeps/arm/Makefile [$(subdir) = csu]
22404         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22405         (static-only-routines): Add aeabi_read_tp here.
22406         (shared-only-routines): Add libc-aeabi_read_tp here.
22407         (CFLAGS-libc-start.c): Add -fexceptions here.
22408         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22409         (sysdep_routines, static-only-routines, shared-only-routines):
22410         Don't add to these here.
22411         (CFLAGS-libc-start.c): Likewise.
22413         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22414         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22415         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22416         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22417         * sysdeps/arm/Makefile [$(subdir) = rt]
22418         (librt-sysdep_routines, librt-shared-only-routines):
22419         Append rt-aeabi_unwind_cpp_pr1 here.
22420         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22421         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22422         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22423         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22424         Append nptl-aeabi_unwind_cpp_pr1 here.
22425         (tests): Filter out tst-cleanupx4 here.
22426         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22427         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22428         Don't do those here.
22430 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22432         * scripts/list-sources.sh: Do not handle ports specially.
22434 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22436         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22437         * sysdeps/arm/feupdateenv.c: Likewise.
22439         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22441 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22443         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22444         trailing whitespace removed.
22445         * scripts/config.guess: Update to version 2014-03-23.
22446         * scripts/config.sub: Update to version 2014-05-01
22447         * scripts/install-sh: Update to version 2013-12-25.23.
22448         * scripts/move-if-change: Update from gnulib.
22450 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22452         * debug/memmove_chk.c: Remove pagecopy.h include.
22454 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22456         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22457         identical to gnulib mktime.
22459 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22461         * configure.ac: Do not test for machine being rs6000.  Do not test
22462         for powerpc*-*soft.
22463         * configure: Regenerated.
22465         [BZ #11505]
22466         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22467         test.
22468         * configure: Regenerated.
22469         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22470         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22471         Remove configure test.
22472         * sysdeps/arm/configure: Regenerated.
22473         * sysdeps/nptl/configure.ac: Do not check
22474         libc_cv_asm_cfi_directives.
22475         * sysdeps/nptl/configure: Regenerated.
22476         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22477         * sysdeps/x86_64/nptl/configure: Remove generated file.
22478         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22479         unconditional.
22480         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22482 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22484         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22485         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22486         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22487         it is defined.
22489         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22490         instead of whether it is defined.
22491         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22492         * sysdeps/hppa/dl-machine.h: Likewise.
22493         * sysdeps/ia64/dl-machine.h: Likewise.
22494         * sysdeps/m68k/dl-machine.h: Likewise.
22495         * sysdeps/microblaze/dl-machine.h: Likewise.
22496         * sysdeps/mips/dl-machine.: Likewise.
22497         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22498         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22499         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22500         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22501         * sysdeps/sh/dl-machine.h: Likewise.
22502         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22503         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22504         * sysdeps/tile/dl-machine.h: Likewise.
22505         * sysdeps/x86_64/dl-machine.h: Likewise.
22507         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22508         code.
22509         (verify_persistent_db): Likewise.
22511 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22514         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22516         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22518         Moved ...
22519         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22520         ... here.
22521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22522         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22524         Identical file removed.
22525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22526         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22528         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22530         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22532         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22534         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22536         Moved ...
22537         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22539         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22541         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22543         Moved ...
22544         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22546         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22548         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22550         Identical file removed.
22551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22552         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22554         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22556         Moved ...
22557         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22558         ... here.
22559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22560         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22562         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22564         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22566         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22568         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22570         Moved ...
22571         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22573         Moved ...
22574         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22576         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22578         Moved ...
22579         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22581         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22583         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22584         folded into ...
22585         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22586         * sysdeps/unix/sysv/linux/s390/Versions
22587         (libpthread: GLIBC_2.19): New version set.
22588         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22589         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22590         (librt: GLIBC_2.3.3): New version set.
22591         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22592         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22593         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22594         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22595         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22596         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22597         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22598         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22599         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22600         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22601         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22602         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22603         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22604         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22605         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22606         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22607         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22608         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22609         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22610         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22611         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22612         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22613         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22614         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22615         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22616         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22617         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22618         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22619         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22621         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22622         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22623         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22625         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22626         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22627         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22628         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22629         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22631         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22633         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22634         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22635         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22637         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22638         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22639         (__libc_vfork): Define the function under this name.
22640         [!NOT_IN_libc] (__vfork): Make this an alias.
22641         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22642         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22643         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22644         (__libc_vfork): Define the function under this name.
22645         [!NOT_IN_libc] (__vfork): Make this an alias.
22646         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22647         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22648         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22650         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22651         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22653         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22654         code that was previously under [RESET_PID].
22655         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22656         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22659         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22660         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22661         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22662         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22663         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22664         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22665         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22666         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22667         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22668         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22669         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22670         Moved ...
22671         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22672         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22673         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22674         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22675         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22676         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22677         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22678         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22679         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22680         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22681         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22682         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22683         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22684         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22685         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22686         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22687         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22688         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22689         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22690         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22691         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22692         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22693         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22694         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22695         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22696         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22697         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22698         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22699         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22701 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22703         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22704         that was previously under [RESET_PID].
22705         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22707 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22709         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22710         not undefine and redefine.
22711         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22712         [O_CLOEXEC]: Make code unconditional.
22713         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22714         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22715         <kernel-features.h>.
22716         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22717         conditional variable definition.
22718         (shm_open) [O_CLOEXEC]: Make code unconditional.
22719         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22720         code.
22722         * configure.ac (USE_REGPARMS): Don't define here.
22723         * configure: Regenerated.
22724         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22725         * sysdeps/i386/configure: Regenerated.
22727         * nptl/createthread.c: Don't include kernel-features.h.
22728         * nptl/pthread_cancel.c: Likewise.
22729         * nptl/pthread_condattr_setclock.c: Likewise.
22730         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22731         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22732         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22733         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22734         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22735         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22736         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22738         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22739         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22740         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22741         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22742         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22743         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22744         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22745         * nscd/gai.c: Likewise.
22746         * nss/nss_db/db-open.c: Likewise.
22747         * sysdeps/generic/ldsodefs.h: Likewise.
22748         * sysdeps/sh/nptl/tls.h: Likewise.
22749         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22750         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22751         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22752         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22753         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22754         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22755         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22756         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22757         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22758         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22759         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22760         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22761         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22762         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22763         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22764         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22765         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22766         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22767         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22768         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22769         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22770         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22771         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22772         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22773         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22774         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22775         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22776         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22777         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22778         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22779         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22780         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22781         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22782         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22783         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22784         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22785         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22786         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22787         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22788         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22789         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22790         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22791         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22792         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22793         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22794         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22795         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22796         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22797         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22798         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22799         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22800         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22801         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22802         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22803         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22804         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22805         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22806         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22829         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22830         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22831         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22832         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22833         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22834         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22835         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22836         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22837         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22838         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22839         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22840         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22841         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22842         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22843         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22844         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22845         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22846         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22847         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22848         * sysdeps/unix/sysv/linux/system.c: Likewise.
22849         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22850         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22851         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22852         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22853         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22854         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22855         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22857         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22858         * configure: Regenerated.
22859         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22861         * configure.ac (base_machine): Do not set specially for particular
22862         machines here.
22863         * configure: Regenerated.
22864         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22865         settings from configure.ac.
22866         * sysdeps/i386/preconfigure: New file.
22867         * sysdeps/s390/preconfigure: Likewise.
22868         * sysdeps/sh/preconfigure: Likewise.
22869         * sysdeps/sparc/preconfigure: Likewise.
22871 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22873         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22874         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22875         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22876         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22877         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22878         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
22879         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22880         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
22881         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
22882         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
22883         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
22884         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
22885         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
22886         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
22887         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
22888         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
22889         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
22890         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
22891         * sysdeps/sparc/sparc64/Makefile: ... appended here.
22893         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
22894         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
22895         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
22896         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
22897         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
22898         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
22899         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
22900         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
22901         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
22902         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
22903         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
22904         * sysdeps/sparc/sparc32/sem_post.c: ... here.
22905         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
22906         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
22907         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
22908         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
22909         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
22910         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
22911         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
22912         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
22913         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
22914         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
22915         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
22916         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
22917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
22918         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
22919         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
22920         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
22921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
22922         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
22923         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
22924         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
22925         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
22926         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
22927         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
22928         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
22929         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
22930         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
22932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
22933         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
22934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
22935         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
22936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22937         Moved ...
22938         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
22939         ... here.
22940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
22941         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
22942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
22943         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
22944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
22945         Moved ...
22946         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
22947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
22948         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
22949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
22950         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
22951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
22952         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
22953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22954         Moved ...
22955         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
22956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22957         Moved ...
22958         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
22959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
22960         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
22961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22962         Moved ...
22963         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
22964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
22965         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
22966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
22967         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
22968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
22969         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
22970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
22971         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
22972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22973         Moved ...
22974         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
22975         ... here.
22976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
22977         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
22978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
22979         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
22980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
22981         Moved ...
22982         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
22983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
22984         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
22985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
22986         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
22987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
22988         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
22989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22990         Moved ...
22991         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
22992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22993         Moved ...
22994         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
22995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
22996         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
22997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22998         Moved ...
22999         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23001         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23003         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23005 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23007         * timezone/checktab.awk: Update from tzcode 2014e.
23008         * timezone/private.h: Likewise.
23009         * timezone/tzfile.h: Likewise.
23010         * timezone/zdump.c: Likewise.
23011         * timezone/zic.c: Likewise.
23013         * sysdeps/unix/sysv/linux/kernel-features.h
23014         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23015         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23016         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23017         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23018         Remove conditional code.
23020 2014-06-25  Will Newton  <will.newton@linaro.org>
23022         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23023         (_dl_arm_cap_flags): Add HWCAP2 values.
23024         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23025         (_DL_HWCAP_COUNT): Increase to 37.
23026         (_DL_HWCAP_LAST): New define.
23027         (_DL_HWCAP2_LAST): New define.
23028         (_dl_procinfo): Add support for printing
23029         AT_HWCAP2 entries.
23030         (_dl_string_hwcap): Use _dl_hwcap_string.
23032 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23036 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23038         * README: Do not mention ports directory.
23040         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23041         Remove macro.
23042         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23043         <kernel-features.h>.
23044         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23045         conditional variable definition.
23046         (__futimes): Update comment.
23047         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23048         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23050         [BZ #16560]
23051         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23052         arguments close to 0.
23053         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23054         Likewise.
23055         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23056         Likewise.
23057         * math/auto-libm-test-in: Add more tests of exp10.
23058         * math/auto-libm-test-out: Regenerated.
23059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23061         * sysdeps/unix/sysv/linux/kernel-features.h
23062         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23063         * sysdeps/unix/sysv/linux/readv.c: Do not include
23064         <kernel-features.h>.
23065         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23066         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23067         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23068         unconditional.
23069         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23070         conditional code.
23071         * sysdeps/unix/sysv/linux/writev.c: Do not include
23072         <kernel-features.h>.
23073         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23074         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23075         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23076         unconditional.
23077         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23078         conditional code.
23080 2014-06-25  Will Newton  <will.newton@linaro.org>
23082         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23083         comment changes throughout the file.  Remove checks
23084         for HAVE_*_H definitions that are not required.
23085         (__gen_tempname): Call abort if an unknown kind value is
23086         passed.
23088 2014-06-25  Andreas Schwab  <schwab@suse.de>
23090         [BZ #17086]
23091         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23092         scalbln, scalblnf, scalblnl in libc.
23094 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23096         [BZ #17086]
23097         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23098         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23099         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23101 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23103         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23104         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23105         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23106         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23107         Update #include.
23108         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23109         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23110         Update #include.
23111         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23112         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23113         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23114         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23115         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23116         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23117         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23118         * sysdeps/x86/bits/semaphore.h: ... here.
23119         * sysdeps/x86/nptl/elide.h: Moved ...
23120         * sysdeps/x86/elide.h: ... here.
23121         * sysdeps/x86_64/nptl/Implies: File removed.
23122         * sysdeps/i386/nptl/Implies: File removed.
23124 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23126         [BZ #16539]
23127         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23128         return the argument for normal arguments with exponent below -64.
23129         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23130         Likewise.
23131         * math/auto-libm-test-in: Add another test of expm1.
23132         * math/auto-libm-test-out: Regenerated.
23134         [BZ #16287]
23135         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23136         calling __erfcl for arguments at least 16.
23137         * math/auto-libm-test-in: Add more tests of erf.
23138         * math/auto-libm-test-out: Regenerated.
23140         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23141         individual architectures.
23142         * sysdeps/unix/sysv/linux/configure: Regenerated.
23143         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23144         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23145         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23146         (ldd_rewrite_script): Define variable.
23147         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23149         file.
23150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23151         generated file.
23152         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23153         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23154         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23155         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23156         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23157         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23158         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23159         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23161 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23163         [BZ #17084]
23164         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23165         Rename member __data.d to __data.__elision_data.
23167 2014-06-24  Wilco  <wdijkstr@arm.com>
23169         * NEWS: Add 16918 to fixed bug list.
23171 2014-06-24  Wilco  <wdijkstr@arm.com>
23173         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23175 2014-06-24  Wilco  <wdijkstr@arm.com>
23177         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23178         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23179         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23180         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23181         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23182         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23183         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23184         Use _FPU_MASK_RM.
23186 2014-06-24  Wilco  <wdijkstr@arm.com>
23188         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23190 2014-06-24  Wilco  <wdijkstr@arm.com>
23192         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23193         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23194         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23195         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23197 2014-06-24  Wilco  <wdijkstr@arm.com>
23199         [BZ #16918]
23200         * sysdeps/arm/feupdateenv.c (feupdateenv):
23201         Rewrite to reduce FPSCR accesses and fix return value.
23203 2014-06-24  Wilco  <wdijkstr@arm.com>
23205         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23206         Optimize to avoid unnecessary FPSCR writes.
23207         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23208         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23209         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23210         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23212 2014-06-24  Wilco  <wdijkstr@arm.com>
23214         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23215         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23216         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23217         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23218         Call libc_fetestexcept_vfp.
23219         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23220         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23221         __SOFTFP__ ifdef so that they can be built for softfp.
23223 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23225         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23226         argument type signed char.
23228         * Makerules (check-abi): Dump diff of symlist if the test
23229         fails.
23231 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23233         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23234         using abort.
23236         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23237         Remove unused variable ST.
23239 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23241         [BZ #16354]
23242         [BZ #17061]
23243         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23244         small arguments before calling __expm1.
23245         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23246         small arguments before calling __expm1f.
23247         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23248         small arguments before calling __expm1l.
23249         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23250         Likewise.
23251         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23252         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23253         spurious underflow for some cosh tests.
23254         * math/auto-libm-test-out: Regenerated.
23255         * sysdeps/i386/fpu/libm-test-ulps: Update.
23257         [BZ #17050]
23258         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23259         (__ieee754_y1): Set errno if return value overflows.
23260         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23261         (__ieee754_y1f): Set errno if return value overflows.
23262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23263         (__ieee754_y1l): Set errno if return value overflows.
23264         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23265         (__ieee754_y1l): Set errno if return value overflows.
23266         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23267         * math/auto-libm-test-out: Regenerated.
23269         * math/gen-auto-libm-tests.c: Document use of
23270         ignore-zero-inf-sign.
23271         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23272         (input_flags): Add ignore-zero-inf-sign.
23273         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23274         * math/gen-libm-test.pl (generate_testfile): Handle
23275         ignore-zero-inf-sign.
23276         * math/auto-libm-test-in: Mark some cpow tests with
23277         ignore-zero-inf-sign and some with xfail-rounding.
23278         * math/auto-libm-test-out: Regenerated.
23279         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23280         * sysdeps/i386/fpu/libm-test-ulps: Update.
23281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23283         [BZ #16315]
23284         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23285         overflowing or underflowing operations take place with sign of
23286         result.
23287         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23288         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23289         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23290         (__ieee754_pow): Recompute overflowing and underflowing results in
23291         original rounding mode.
23292         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23293         (__powl_helper): Allow negative argument X and scale negated value
23294         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23295         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23296         overflowing or underflowing operations take place with sign of
23297         result.
23298         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23299         Include <math.h>.
23300         * math/auto-libm-test-in: Add more tests of pow.
23301         * math/auto-libm-test-out: Regenerated.
23302         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23303         (pow_tonearest_test_data): Remove.
23304         (pow_test_tonearest): Likewise.
23305         (pow_towardzero_test_data): Likewise.
23306         (pow_test_towardzero): Likewise.
23307         (pow_downward_test_data): Likewise.
23308         (pow_test_downward): Likewise.
23309         (pow_upward_test_data): Likewise.
23310         (pow_test_upward): Likewise.
23311         (main): Don't call removed functions.
23312         * sysdeps/i386/fpu/libm-test-ulps: Update.
23313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23315 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23318         Moved ...
23319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23321         Moved ...
23322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23324         Moved ...
23325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23327         Moved ...
23328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23330         File removed.
23331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23332         File removed.
23333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23334         File removed.
23335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23336         File removed.
23337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23338         File removed.
23339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23340         File removed.
23341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23342         File removed.
23343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23344         File removed.
23345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23346         File removed.
23347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23348         File removed.
23349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23350         File removed.
23351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23352         File removed.
23353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23354         Moved ...
23355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23357         Moved ...
23358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23359         ... here.
23360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23361         Moved ...
23362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23364         Moved ...
23365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23367         Moved ...
23368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23370         Moved ...
23371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23373         Moved ...
23374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23376         Moved ...
23377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23379         Moved ...
23380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23383         ... here.
23384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23385         Moved ...
23386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23388         Moved ...
23389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23390         ... here.
23391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23392         Moved ...
23393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23394         ... here.
23395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23396         Moved ...
23397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23398         ... here.
23399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23400         Moved ...
23401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23403         Moved ...
23404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23408         Moved ...
23409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23410         ... here.
23411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23412         Moved ...
23413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23414         ... here.
23415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23416         Moved ...
23417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23419         Moved ...
23420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23422         Moved ...
23423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23425         Moved ...
23426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23428         Moved ...
23429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23430         ... here.
23431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23432         Moved ...
23433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23435         Moved ...
23436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23438         Moved ...
23439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23441         Moved ...
23442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23446         Moved ...
23447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23449         Moved ...
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23452         Moved ...
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23454         ... here.
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23456         Moved ...
23457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23458         ... here.
23459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23460         Moved ...
23461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23462         ... here.
23463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23464         Moved ...
23465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23467         Moved ...
23468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23470         Moved ...
23471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23473         Moved ...
23474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23475         ... here.
23476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23477         Moved ...
23478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23479         ... here.
23480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23481         Moved ...
23482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23483         ... here.
23484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23485         Moved ...
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23488         Moved ...
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23491 2014-06-23  Will Newton  <will.newton@linaro.org>
23492             Wilco  <wdijkstr@arm.com>
23494         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23495         implementation.  Include get-rounding-mode.h.
23496         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23497         [!libc_feholdsetround_noex_ctx]: Define
23498         libc_feholdsetround_noex_ctx.
23499         [!libc_feholdsetround_noexf_ctx]: Define
23500         libc_feholdsetround_noexf_ctx.
23501         [!libc_feholdsetround_noexl_ctx]: Define
23502         libc_feholdsetround_noexl_ctx.
23503         (libc_feholdsetround_ctx): New function.
23504         (libc_feresetround_ctx): New function.
23505         (libc_feholdsetround_noex_ctx): New function.
23506         (libc_feresetround_noex_ctx): New function.
23508 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23510         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23511         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23512         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23513         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23514         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23515         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23517         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23518         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23519         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23520         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23521         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23522         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23524         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23526         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23528         Moved ...
23529         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23530         ... here.
23531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23532         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23534         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23536         Moved ...
23537         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23538         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23539         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23541         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23542         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23543         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23544         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23545         Moved ...
23546         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23547         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23548         Moved ...
23549         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23551         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23552         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23553         Moved ...
23554         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23556         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23557         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23558         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23559         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23560         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23561         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23562         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23564         Moved ...
23565         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23566         ... here.
23567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23568         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23570         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23571         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23572         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23574         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23576         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23577         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23578         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23580         Moved ...
23581         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23582         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23583         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23584         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23585         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23586         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23587         Moved ...
23588         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23589         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23590         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23591         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23592         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23594         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23595         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23596         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23597         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23598         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23599         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23600         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23601         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23602         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23603         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23604         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23605         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23606         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23607         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23608         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23609         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23610         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23611         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23612         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23613         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23614         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23615         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23616         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23617         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23618         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23619         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23620         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23621         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23623 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23625         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23626         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23627         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23628         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23629         (IPV6_PMTUDISC_INTERFACE): Likewise.
23630         (IPV6_PMTUDISC_OMIT): Likewise.
23632 2014-06-23  Andreas Schwab  <schwab@suse.de>
23634         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23635         Remove unused errout label.
23637 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23639         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23640         macro: hardware supports Vector Crypto instructions.
23642 2014-06-23  Will Newton  <will.newton@linaro.org>
23644         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23645         rather than __builtin_expect.
23647         * elf/dl-lookup.c (undefined_msg): Remove variable.
23648         (_dl_lookup_symbol_x): Replace undefined_msg with string
23649         literal.
23651         * elf/dl-lookup.c (do_lookup_unique): New function.
23652         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23653         to a separate function.
23655 2014-06-23  Andreas Schwab  <schwab@suse.de>
23657         [BZ #17079]
23658         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23659         before reading the next line.
23661 2014-06-23  Will Newton  <will.newton@linaro.org>
23663         * test-skeleton.c (signal_handler): Use printf and %m
23664         rather than perror.  Use printf rather than fprintf to
23665         stderr.  Use puts rather than fputs to stderr.
23666         (main): Likewise.
23668 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23670         * nscd/nscd.c (thread_info_t): Remove typedef.
23671         (thread_info): Remove variable.
23673 2014-06-21  Allan McRae  <allan@archlinux.org>
23675         * NEWS: Mention CVE-2014-4043.
23677 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23679         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23680         * nptl/smp.h: ... here.
23682         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23684         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23685         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23686         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23687         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23689         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23690         * nptl/stack-aliasing.h: New file.
23691         * sysdeps/i386/i686/stack-aliasing.h: New file.
23692         * sysdeps/i386/i686/nptl/Makefile: File removed.
23693         * sysdeps/x86_64/stack-aliasing.h: New file.
23694         * sysdeps/x86_64/nptl/Makefile
23695         (CFLAGS-pthread_create.c): Variable removed.
23697         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23698         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23699         old file.
23700         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23701         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23702         old file.
23704 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23706         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23707         (__ASSUME_SIGFRAME_V2): Remove macro.
23708         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23709         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23710         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23711         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23712         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23713         Declare as function.  Remove conditional macro definitions.
23714         (__default_rt_sa_restorer): Likewise.
23715         (__default_sa_restorer_v1): Remove declaration.
23716         (__default_sa_restorer_v2): Likewise.
23717         (__default_rt_sa_restorer_v1): Likewise.
23718         (__default_rt_sa_restorer_v2): Likewise.
23719         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23720         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23721         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23723 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23725         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23726         (libpthread-routines): Add sysdep.
23727         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23728         * sysdeps/unix/sysv/linux/sparc/Versions
23729         (libpthread: GLIBC_2.3.3): New version set.
23730         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23731         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23732         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23733         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23734         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23735         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23736         Moved ...
23737         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23738         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23739         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23740         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23741         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23742         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23743         * sysdeps/sparc/nptl/sem_init.c: ... here.
23744         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23745         * sysdeps/sparc/nptl/sem_post.c: ... here.
23746         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23747         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23748         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23749         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23750         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23751         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23752         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23753         (libpthread-routines): Add cpu_relax.
23754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23755         File removed.
23756         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23757         (librt: GLIBC_2.3.3): New version set.
23758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23759         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23760         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23761         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23764         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23766         Moved ...
23767         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23769         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23771         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23773         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23775         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23777         Moved ...
23778         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23779         Update #include.
23780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23781         Moved ...
23782         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23783         Update #include.
23784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23785         Moved ...
23786         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23787         Update #include.
23788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23789         Moved ...
23790         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23791         Update #include.
23792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23793         Moved ...
23794         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23795         Update #include.
23796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23797         Moved ...
23798         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23799         Update #include.
23800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23801         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23803         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23805         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23807         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23809         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23811         Moved ...
23812         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23814         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23816         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23818 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23820         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23821         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23822         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23823         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23824         * nscd/nscd.c: Likewise.
23825         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23826         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23827         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23828         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23830         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23831         <kernel-features.h>.
23832         (init_mq_netlink): Remove conditional have_sock_cloexec
23833         definitions.  Remove code conditional on have_sock_cloexec < 0.
23834         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23835         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23836         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23837         <kernel-features.h>.
23838         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23839         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23841 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23843         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23844         Add tests for memset_chk and memset.
23846         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23847         with AVX2_Usable.
23849 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23851         [BZ #16046]
23852         * elf/tst-dl-iter-static.c: New file.
23853         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23855         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23856         error.
23858 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23860         * sysdeps/unix/sysv/linux/kernel-features.h
23861         (__ASSUME_F_GETOWN_EX): Remove macro.
23862         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23863         <kernel-features.h>.
23864         (miss_F_GETOWN_EX): Remove variable or macro.
23865         (do_fcntl): Do not check miss_F_GETOWN_EX.
23866         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23868         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23869         Remove macro.
23870         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23871         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23872         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23874         * sysdeps/unix/sysv/linux/kernel-features.h
23875         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23876         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23877         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23878         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
23880 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23882         [BZ #17075]
23883         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
23884         Fix calculation of the symbol's value.
23885         * sysdeps/arm/tst-armtlsdescloc.c: New file.
23886         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
23887         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
23888         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
23889         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
23890         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
23891         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
23892         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
23893         (modules-names): Add `tst-armtlsdescmod',
23894         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
23895         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
23896         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23897         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
23898         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
23899         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23900         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
23901         ($(objpfx)tst-armtlsdescloc): New dependency.
23902         ($(objpfx)tst-armtlsdescextnow): Likewise.
23903         ($(objpfx)tst-armtlsdescextlazy): Likewise.
23904         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
23905         TLS scheme support.
23906         * sysdeps/arm/configure: Regenerate.
23908 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23910         * include/fcntl.h (__atfct_seterrno): Remove prototype.
23911         (__atfct_seterrno_2): Likewise.
23912         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
23913         <kernel-features.h>.
23914         (__ASSUME_ATFCTS): Do not undefine and redefine.
23915         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
23916         (__have_atfcts): Remove conditional definition.
23917         (__fxstatat([__NR_fstatat64]: Make code unconditional.
23918         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
23919         unreachable if [__ASSUME_ATFCTS].
23920         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
23921         not undefine and redefine.
23922         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
23923         <kernel-features.h>.
23924         (faccessat) [__NR_faccessat]: Make code unconditional.
23925         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
23926         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
23927         <kernel-features.h>.
23928         (fchmodat) [__NR_fchmodat]: Make code unconditional.
23929         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23930         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
23931         <kernel-features.h>.
23932         (fchownat) [__NR_fchownat]: Make code unconditional.
23933         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
23934         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
23935         <kernel-features.h>.
23936         (futimesat) [__NR_futimesat]: Make code unconditional.
23937         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
23938         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23939         <kernel-features.h>.
23940         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23941         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23942         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23943         <kernel-features.h>.
23944         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
23945         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23946         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
23947         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23948         <kernel-features.h>.
23949         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
23950         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23951         * sysdeps/unix/sysv/linux/linkat.c: Do not include
23952         <kernel-features.h>.
23953         (linkat) [__NR_linkat]: Make code unconditional.
23954         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23955         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
23956         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
23957         <kernel-features.h>.
23958         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
23959         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23960         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
23961         <kernel-features.h>.
23962         (mkdirat) [__NR_mkdirat]: Make code unconditional.
23963         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
23964         * sysdeps/unix/sysv/linux/openat.c: Do not include
23965         <kernel-features.h>.
23966         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
23967         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
23968         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
23969         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
23970         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
23971         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
23972         <kernel-features.h>.
23973         (readlinkat) [__NR_readlinkat]: Make code unconditional.
23974         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
23975         result of INLINE_SYSCALL directly, not via int variable.
23976         * sysdeps/unix/sysv/linux/renameat.c: Do not include
23977         <kernel-features.h>.
23978         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
23979         (renameat) [__NR_renameat]: Make code unconditional.
23980         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
23981         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
23982         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
23983         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
23984         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
23985         (__ASSUME_ATFCTS): Do not undefine and redefine.
23986         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
23987         <kernel-features.h>.
23988         (symlinkat) [__NR_symlinkat]: Make code unconditional.
23989         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23990         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
23991         <kernel-features.h>.
23992         (unlinkat) [__NR_unlinkat]: Make code unconditional.
23993         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23994         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
23995         (__ASSUME_ATFCTS): Do not undefine and redefine.
23996         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23997         <kernel-features.h>.
23998         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23999         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24000         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24001         <kernel-features.h>.
24002         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24003         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24005 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24007         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24009 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24011         [BZ #17069]
24012         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24013         constructed tree before returning error.
24014         * posix/bug-regexp36.c: Expand test case.
24016 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24018         [BZ #6803]
24019         * math/libm-test.inc (scalbln_test_date):
24020         Add errno expectations.
24021         * math/w_scalblnf.c: New File.
24022         Add wrapper which checks for setting errno to ERANGE.
24023         Add weak_alias for corresponding scalbln function.
24024         * math/w_scalbln.c: Likewise.
24025         * math/w_scalblnl.c: Likewise.
24026         * math/Makefile (libm-calls): Add w_scalbln.
24027         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24028         Remove weak_alias for corresponding scalbln function.
24029         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24030         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24031         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24032         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24033         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24034         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24035         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24036         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24037         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24038         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24039         Remove long_double_symbol for scalblnl function in libm, libc.
24040         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24041         Add wrapper which checks for setting errno to ERANGE.
24042         Add long_double_symbol for scalblnl function in libm, libc.
24043         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24044         Remove long_double_symbol for scalblnl in libm.
24045         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24046         Add wrapper which checks for setting errno to ERANGE.
24047         Add long_double_symbol for scalblnl function in libm.
24048         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24049         Do not use wrapper because of own implementation.
24051 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24053         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24054         3 bytes for __pad1 for x32.
24055         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24057 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24058             H.J. Lu  <hongjiu.lu@intel.com>
24060         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24061         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24062         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24063         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24064         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24066 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24068         [BZ #17069]
24069         * posix/regcomp.c (parse_expression): Deallocate partially
24070         constructed tree before returning error.
24071         * posix/Makefile.c (tests): Add bug-regex36.
24072         (generated): Add bug-regex36.mtrace.
24073         (tests-special): Add $(objpfx)bug-regex36-mem.out
24074         (bug-regex36-ENV): New variable.
24075         ($(objpfx)bug-regex36-mem.out): New rule.
24076         * posix/bug-regex36.c: New file.
24078 2014-06-19  Will Newton  <will.newton@linaro.org>
24080         * malloc/malloc.c (systrim): If extra is zero then return
24081         early.
24083 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24085         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24087 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24089         * sysdeps/aarch64/strchr.S: New file.
24091 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24093         [BZ #17022]
24094         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24095         from arguments -2 or below.
24096         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24097         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24099 2014-06-18  Andreas Schwab  <schwab@suse.de>
24101         [BZ #17062]
24102         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24103         of a bracket expr not to run off the end of the string.
24104         * posix/Makefile (tests): Add tst-fnmatch3.
24105         * posix/tst-fnmatch3.c: New file.
24107 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24109         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24110         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24111         [$(cross-compiling) = no]: Likewise.
24112         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24113         [$(cross-compiling) = no]: Likewise.
24115 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24117         [BZ #17031]
24118         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24119         double, adjusted for any remainder from the high double.
24120         * math/libm-test.inc (nearbyint): Add tests.
24121         (rint): Likewise.
24123 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24125         * nptl/sysdeps/powerpc/Makefile: Moved ...
24126         * sysdeps/powerpc/nptl/Makefile: ... here.
24127         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24128         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24129         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24130         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24131         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24132         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24133         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24134         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24135         * nptl/sysdeps/powerpc/tls.h: Moved ...
24136         * sysdeps/powerpc/nptl/tls.h: ... here.
24138 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24140         [BZ #16681]
24141         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24142         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24143         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24144         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24145         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24146         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24147         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24148         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24149         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24151 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24153         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24155 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24157         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24158         defined operator.
24160         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24161         $TIMEOUTFACTOR.
24163 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24165         [BZ #17058]
24166         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24167         non-executed part of the test.
24169 2014-06-16  Andreas Schwab  <schwab@suse.de>
24171         * string/bits/string2.h (strdup, strndup): Update feature guard.
24173 2014-06-14  David S. Miller  <davem@davemloft.net>
24175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24177 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24179         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24180         that was previously under [RESET_PID].
24181         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24183         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24184         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24185         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24186         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24187         (__libc_vfork): New strong alias.
24188         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24190 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24192         * sysdeps/generic/elide.h: New file.
24194 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24196         * Makefile (installed-headers): Adjust path of pthread.h header.
24198 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24200         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24201         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24202         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24203         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24205         * nptl/sysdeps/s390/Makefile: Moved ...
24206         * sysdeps/s390/nptl/Makefile: ... here.
24207         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24208         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24209         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24210         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24211         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24212         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24213         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24214         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24215         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24216         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24217         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24218         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24219         * nptl/sysdeps/s390/tls.h: Moved ...
24220         * sysdeps/s390/nptl/tls.h: ... here.
24222         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24223         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24225 2014-06-13  David S. Miller  <davem@davemloft.net>
24227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24230         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24234         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24235         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24236         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24237         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24238         Remove RESET_PID cpp guards.
24239         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24240         Remove RESET_PID cpp guards.
24241         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24243 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24245         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24246         __sp to uintptr_t.
24248 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24251         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24252         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24253         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24254         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24256         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24257         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24258         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24259         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24261         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24262         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24263         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24264         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24265         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24266         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24267         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24268         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24269         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24271         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24272         (pthread_rwlock_rdlock): Add elision.
24273         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24274         (pthread_rwlock_wrlock): Add elision.
24275         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24276         (pthread_rwlock_trywrlock): Add elision.
24277         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24278         (pthread_rwlock_tryrdlock): Add elision.
24279         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24280         (pthread_rwlock_tryrdlock): Add elision unlock.
24281         * nptl/sysdeps/pthread/pthread.h:
24282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24283         (PTHREAD_RWLOCK_INITIALIZER,
24284         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24285         Handle new elision field.
24286         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24287         * sysdeps/arm/nptl/bits/pthreadtypes.h
24288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24289         * sysdeps/sh/nptl/bits/pthreadtypes.h
24290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24291         * sysdeps/tile/nptl/bits/pthreadtypes.h
24292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24293         * sysdeps/a/nptl/bits/pthreadtypes.h
24294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24295         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24297         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24299         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24301         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24303         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24305         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24307         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24309         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24311         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24312         (elision_init): Set try_xbegin to zero when no RTM.
24313         * sysdeps/x86/nptl/bits/pthreadtypes.h
24314         (pthread_rwlock_t): Change __pad1 to __rwelision.
24315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24317 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24319         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24320         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24321         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24322         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24324 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24326         [BZ #16996]
24327         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24328         that the cached result has been set before returning it.
24330 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24332         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24333         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24334         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24335         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24336         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24337         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24339         * nptl/sysdeps/sparc/Makefile: Moved ...
24340         * sysdeps/sparc/nptl/Makefile: ... here.
24341         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24342         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24343         * nptl/sysdeps/sparc/tls.h: Moved ...
24344         * sysdeps/sparc/nptl/tls.h: ... here.
24345         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24346         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24347         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24348         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24349         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24350         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24351         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24352         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24353         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24354         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24355         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24356         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24357         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24358         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24359         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24360         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24361         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24362         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24363         Update #include.
24364         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24365         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24366         Update #include.
24367         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24368         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24369         Update #include.
24370         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24371         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24372         Update #include.
24374         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24376         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24377         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24379         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24380         (struct list_links): Type removed.
24381         (struct thread_node, struct timer_node): Replace struct list_links
24382         with struct list_head.
24383         (list_unlink_ip): Likewise.
24384         * sysdeps/pthread/timer_routines.c
24385         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24386         (list_append, list_insbefore): Likewise.
24387         (list_init): Function removed.
24388         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24389         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24390         * sysdeps/pthread/Makefile: ... here, new file.
24392         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24393         * sysdeps/nptl/Implies: ... here.
24394         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24395         * nptl/sysdeps/pthread/list.h: Moved ...
24396         * include/list.h: ... here.
24397         * nptl/sysdeps/pthread/createthread.c: Moved ...
24398         * nptl/createthread.c: ... here.
24399         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24400         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24401         * nptl/pt-longjmp.c: ... here.
24402         * nptl/sysdeps/pthread/Makefile: Moved ...
24403         * sysdeps/nptl/Makefile: ... here.
24404         * nptl/sysdeps/pthread/Subdirs: Moved ...
24405         * sysdeps/nptl/Subdirs: ... here.
24406         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24407         * sysdeps/nptl/aio_misc.h: ... here.
24408         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24409         * sysdeps/nptl/bits/libc-lock.h: ... here.
24410         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24411         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24412         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24413         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24414         * nptl/sysdeps/pthread/configure: Moved ...
24415         * sysdeps/nptl/configure: ... here.
24416         * nptl/sysdeps/pthread/configure.ac: Moved ...
24417         * sysdeps/nptl/configure.ac: ... here.
24418         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24419         * sysdeps/nptl/gai_misc.h: ... here.
24420         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24421         * sysdeps/nptl/librt-cancellation.c: ... here.
24422         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24423         * sysdeps/nptl/malloc-machine.h: ... here.
24424         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24425         * sysdeps/nptl/pthread-functions.h: ... here.
24426         * nptl/sysdeps/pthread/pthread.h: Moved ...
24427         * sysdeps/nptl/pthread.h: ... here.
24428         * nptl/sysdeps/pthread/setxid.h: Moved ...
24429         * sysdeps/nptl/setxid.h: ... here.
24430         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24431         * sysdeps/nptl/sigfillset.c: ... here.
24432         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24433         * sysdeps/nptl/tcb-offsets.h: ... here.
24434         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24435         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24436         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24437         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24438         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24439         * sysdeps/pthread/allocalim.h: ... here.
24440         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24441         * sysdeps/pthread/bits/sigthread.h: ... here.
24442         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24443         * sysdeps/pthread/flockfile.c: ... here.
24444         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24445         * sysdeps/pthread/ftrylockfile.c: ... here.
24446         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24447         * sysdeps/pthread/funlockfile.c: ... here.
24448         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24449         * sysdeps/pthread/posix-timer.h: ... here.
24450         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24451         * sysdeps/pthread/timer_create.c: ... here.
24452         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24453         * sysdeps/pthread/timer_delete.c: ... here.
24454         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24455         * sysdeps/pthread/timer_getoverr.c: ... here.
24456         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24457         * sysdeps/pthread/timer_gettime.c: ... here.
24458         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24459         * sysdeps/pthread/timer_routines.c: ... here.
24460         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24461         * sysdeps/pthread/timer_settime.c: ... here.
24462         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24463         * sysdeps/pthread/tst-timer.c: ... here.
24464         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24465         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24467         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24468         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24470         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24471         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24472         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24473         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24474         Update #include target.
24475         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24476         * sysdeps/i386/i686/nptl/Makefile: ... here.
24477         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24478         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24479         Update #include target.
24480         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24481         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24482         * nptl/sysdeps/i386/Makefile: Moved ...
24483         * sysdeps/i386/nptl/Makefile: ... here.
24484         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24485         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24486         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24487         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24488         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24489         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24490         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24491         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24492         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24493         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24494         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24495         * nptl/sysdeps/i386/tls.h: Moved ...
24496         * sysdeps/i386/nptl/tls.h: ... here.
24498         * sysdeps/sh/Makefile [$(subdir) = csu]
24499         (gen-as-const-headers): Add tcb-offsets.sym.
24500         * nptl/sysdeps/sh/Makefile: File removed.
24501         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24502         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24503         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24504         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24505         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24506         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24507         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24508         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24509         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24510         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24511         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24512         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24513         * nptl/sysdeps/sh/tls.h: Moved ...
24514         * sysdeps/sh/nptl/tls.h: ... here.
24515         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24516         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24517         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24518         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24519         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24520         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24521         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24522         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24523         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24524         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24525         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24526         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24527         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24528         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24530         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24531         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24532         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24534         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24536         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24538         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24539         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24540         Moved ...
24541         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24542         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24543         Moved ...
24544         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24545         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24546         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24547         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24548         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24549         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24550         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24551         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24552         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24553         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24554         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24555         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24556         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24557         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24558         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24559         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24560         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24561         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24562         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24564 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24566         * posix/spawn_faction_addopen.c: Include string.h.
24568 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24570         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24571         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24572         * nptl/sysdeps/x86_64/Makefile: Moved ...
24573         * sysdeps/x86_64/nptl/Makefile: ... here.
24574         * nptl/sysdeps/x86_64/configure: Moved ...
24575         * sysdeps/x86_64/nptl/configure: ... here.
24576         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24577         * sysdeps/x86_64/nptl/configure.ac: ... here.
24578         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24579         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24580         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24581         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24582         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24583         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24584         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24585         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24586         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24587         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24588         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24589         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24590         * nptl/sysdeps/x86_64/tls.h: Moved ...
24591         * sysdeps/x86_64/nptl/tls.h: ... here.
24592         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24593         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24594         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24595         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24597         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24599 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24603 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24605         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24606         type.
24607         [POSIX] (off_t): Likewise.
24608         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24609         [POSIX] (S_ISBLK): Require macro.
24610         [POSIX] (S_ISCHR): Likewise.
24611         [POSIX] (S_ISDIR): Likewise.
24612         [POSIX] (S_ISFIFO): Likewise.
24613         [POSIX] (S_ISREG): Likewise.
24614         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24615         optional-macro.
24616         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24617         type.
24618         [POSIX] (time_t): Likewise.
24619         [POSIX] (timer_t): Likewise.
24621 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24623         [BZ #17048]
24624         * posix/spawn_int.h (struct __spawn_action): Make the path string
24625         non-const to support deallocation.
24626         * posix/spawn_faction_addopen.c
24627         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24628         * posix/spawn_faction_destroy.c
24629         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24630         path in all spawn_do_open actions.
24631         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24632         posix_spawn_file_actions_addopen.
24634 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24636         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24637         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24638         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24639         conditional code always true.
24640         (__libc_vfork): New alias.
24642 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24644         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24645         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24647         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24649         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24650         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24652         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24653         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24655         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24656         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24658 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24660         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24661         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24662         multiarch strcmp for PPC64.
24663         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24664         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24666         multiarch optimizations.
24667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24668         (__libc_ifunc_impl_list): Likewise.
24670 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24672         * benchtests/scripts/validate_benchout.py: New script.
24673         * benchtests/Makefile (bench-func): Call it.
24674         * benchtests/scripts/benchout.schema.json: New file.
24676 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24678         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24679         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24680         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24681         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24682         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24683         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24684         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24685         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24686         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24687         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24688         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24689         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24690         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24691         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24692         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24693         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24695         Moved ...
24696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24697         ... here.
24698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24699         Moved ...
24700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24702         Moved ...
24703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24704         ... here.
24705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24706         Moved ...
24707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24708         ... here.
24709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24710         Moved ...
24711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24713         Moved ...
24714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24715         ... here.
24716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24717         Moved ...
24718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24719         ... here.
24720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24721         Moved ...
24722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24724         Moved ...
24725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24726         ... here.
24727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24728         Moved ...
24729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24730         ... here.
24731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24732         Moved ...
24733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24734         ... here.
24735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24736         Moved ...
24737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24739         Moved ...
24740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24741         ... here.
24742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24743         Moved ...
24744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24745         ... here.
24746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24747         Moved ...
24748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24749         ... here.
24750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24751         Moved ...
24752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24754         Moved ...
24755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24756         ... here.
24757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24758         Moved ...
24759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24760         ... here.
24761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24762         Moved ...
24763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24765         Moved ...
24766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24767         ... here.
24768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24769         Moved ...
24770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24772         Moved ...
24773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24775         Moved ...
24776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24777         ... here.
24778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24779         Moved ...
24780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24781         ... here.
24782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24783         Moved ...
24784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24785         ... here.
24786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24787         Moved ...
24788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24790         Moved ...
24791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24792         ... here.
24793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24794         Moved ...
24795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24796         ... here.
24797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24798         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24799         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24800         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24802         Moved ...
24803         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24804         ... here.
24805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24806         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24808         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24810         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24812         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24814         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24816         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24818         Moved ...
24819         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24820         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24821         Moved ...
24822         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24823         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24824         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24826         Moved ...
24827         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24828         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24829         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24830         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24831         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24832         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24833         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24835 2014-06-10  Wilco  <wdijkstr@arm.com>
24837         * math/test-fenv-return.c: New file.
24838         * math/Makefile: Add new test test-fenv-return.
24840 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24842         [BZ #17042]
24843         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24844         when x - 1 is zero.
24845         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24846         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24847         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24848         0.0L for an argument of 1.0L.
24849         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24850         Likewise.
24851         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24852         value when x - 1 is zero.
24853         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24854         * sysdeps/i386/fpu/libm-test-ulps: Update.
24855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24857 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24859         [BZ #15119]
24860         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24862 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24864         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24865         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24867 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24869         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24870         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24872         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24873         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24875         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24876         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24878         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24879         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24881         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
24882         if not already defined.
24883         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
24884         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
24885         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
24886         (TLS_INIT_TP): Use it.
24887         (TLS_DEFINE_INIT_TP): New macro.
24888         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
24890 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
24892         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
24893         constant.
24894         [POSIX] (IXANY): Likewise.
24895         [POSIX] (OLCUC): Likewise.
24896         [POSIX || POSIX2008] (CBAUD): Do not allow.
24897         [POSIX || POSIX2008] (DEFECHO): Likewise.
24898         [POSIX || POSIX2008] (ECHOCTL): Likewise.
24899         [POSIX || POSIX2008] (ECHOKE): Likewise.
24900         [POSIX || POSIX2008] (ECHOPRT): Likewise.
24901         [POSIX || POSIX2008] (EXTA): Likewise.
24902         [POSIX || POSIX2008] (EXTB): Likewise.
24903         [POSIX || POSIX2008] (FLUSHO): Likewise.
24904         [POSIX || POSIX2008] (LOBLK): Likewise.
24905         [POSIX || POSIX2008] (PENDIN): Likewise.
24906         [POSIX || POSIX2008] (SWTCH): Likewise.
24907         [POSIX || POSIX2008] (VDISCARD): Likewise.
24908         [POSIX || POSIX2008] (VDSUSP): Likewise.
24909         [POSIX || POSIX2008] (VLNEXT): Likewise.
24910         [POSIX || POSIX2008] (VREPRINT): Likewise.
24911         [POSIX || POSIX2008] (VSTATUS): Likewise.
24912         [POSIX || POSIX2008] (VWERASE): Likewise.
24913         (B*): Change to B[0123456789]*.
24914         * conform/data/time.h-data [POSIX || UNIX98]
24915         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
24916         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24917         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
24918         [POSIX] (tm_*): Do not allow.
24920 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
24922         * Makefile (install): Don't set LANGUAGE.
24923         * Makefile.in (install): Likewise.
24924         * assert/Makefile (test-assert-ENV): Remove variable.
24925         (test-assert-perr-ENV): Likewise.
24926         * elf/Makefile (neededtest4-ENV): Likewise.
24927         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24928         [$(cross-compiling) = no]: Don't set LANGUAGE.
24929         * io/ftwtest-sh (LANG): Remove variable.
24930         * libio/Makefile (tst-widetext-ENV): Likewise.
24931         * manual/install.texi (Running make install): Don't refer to
24932         environment settings for make install.
24933         * INSTALL: Regenerated.
24934         * nptl/tst-tls6.sh: Don't set LANG.
24935         * posix/globtest.sh (LANG): Remove variable.
24936         * string/Makefile (tester-ENV): Likewise.
24937         (inl-tester-ENV): Likewise.
24938         (noinl-tester-ENV): Likewise.
24939         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24940         [$(cross-compiling) = no]: Don't set LANGUAGE.
24941         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
24942         without explicit environment settings.
24944 2014-06-06  Roland McGrath  <roland@hack.frob.com>
24946         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
24947         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
24948         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
24949         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
24951 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
24953         * crypt/crypt-private.h [DOS]: Add some includes taken from the
24954         other files in the crypt directory.
24955         * crypt/crypt.c: Remove duplicate includes.
24956         * crypt/crypt-entry.c: Likewise.
24957         * crypt/crypt_util.c: Likewise.
24959 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
24961         * Makeconfig (run-program-env): New variable.
24962         (run-program-prefix-before-env): Likewise.
24963         (run-program-prefix-after-env): Likewise.
24964         (run-program-prefix): Define in terms of new variables.
24965         (built-program-cmd-before-env): New variable.
24966         (built-program-cmd-after-env): Likewise.
24967         (built-program-cmd): Define in terms of new variables.
24968         (test-program-prefix-before-env): New variable.
24969         (test-program-prefix-after-env): Likewise.
24970         (test-program-prefix): Define in terms of new variables.
24971         (test-program-cmd-before-env): New variable.
24972         (test-program-cmd-after-env): Likewise.
24973         (test-program-cmd): Define in terms of new variables.
24974         * Rules (make-test-out): Use $(run-program-env).
24975         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
24976         (help): Do not mention environment variables.  Mention
24977         --timeoutfactor option.
24978         (timeoutfactor): New variable.
24979         (blacklist_exports): Remove function.
24980         (exports): Remove variable.
24981         (command): Do not include ${exports}.
24982         * manual/install.texi (Configuring and compiling): Do not mention
24983         test wrappers preserving environment variables.  Mention that last
24984         assignment to a variable must take precedence.
24985         * INSTALL: Regenerated.
24986         * benchtests/Makefile (run-bench): Use $(run-program-env).
24987         * catgets/Makefile ($(objpfx)test1.cat): Use
24988         $(built-program-cmd-before-env), $(run-program-env) and
24989         $(built-program-cmd-after-env).
24990         ($(objpfx)test2.cat): Do not specify environment variables
24991         explicitly.
24992         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
24993         $(run-program-env) and $(built-program-cmd-after-env).
24994         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
24995         $(run-program-env) and $(test-program-cmd-after-env).
24996         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
24997         explicitly.
24998         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
24999         run_program_env and test_program_cmd_after_env arguments.
25000         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25001         * elf/tst-pathopt.sh: Use run_program_env argument.
25002         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25003         $(test-wrapper-env) and $(run-program-env).
25004         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25005         run_program_env arguments.
25006         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25007         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25008         $(test-program-prefix-before-env), $(run-program-env) and
25009         $(test-program-prefix-after-env).
25010         ($(objpfx)tst-gettext2.out): Likewise.
25011         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25012         run_program_env and test_program_prefix_after_env arguments.
25013         * intl/tst-gettext2.sh: Likewise.
25014         * intl/tst-gettext4.sh: Do not set environment variables
25015         explicitly.
25016         * intl/tst-gettext6.sh: Likewise.
25017         * intl/tst-translit.sh: Likewise.
25018         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25019         $(test-program-prefix-before-env), $(run-program-env) and
25020         $(test-program-prefix-after-env).
25021         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25022         run_program_env and test_program_prefix_after_env arguments.
25023         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25024         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25025         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25026         explicitly with each use of ${test_wrapper_env}.
25027         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25028         $(test-program-prefix-before-env), $(run-program-env) and
25029         $(test-program-prefix-after-env).
25030         * posix/tst-getconf.sh: Do not set environment variables
25031         explicitly.
25032         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25033         run_program_env and test_program_prefix_after_env arguments.
25034         * stdio-common/tst-printf.sh: Do not set environment variables
25035         explicitly.
25036         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25037         $(test-program-prefix-before-env), $(run-program-env) and
25038         $(test-program-prefix-after-env).
25039         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25040         run_program_env and test_program_prefix_after_env arguments.
25041         Split $test calls into $test_pre and $test.
25042         * timezone/Makefile (build-testdata): Use
25043         $(built-program-cmd-before-env), $(run-program-env) and
25044         $(built-program-cmd-after-env).
25046 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25048         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25049         strlen for non SHARED builds.
25051 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25053         * nptl/allocatestack.c (check_list): Inlined function...
25054         (__reclaim_stacks): ... here.
25056 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25058         [BZ #15698]
25059         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25060         memory overrun.
25062 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25064         * Rules (make-test-out): Include
25065         LOCPATH=$(common-objpfx)localedata in default environment.
25066         * debug/Makefile (tst-chk1-ENV): Remove variable.
25067         (tst-chk2-ENV): Likewise.
25068         (tst-chk3-ENV): Likewise.
25069         (tst-chk4-ENV): Likewise.
25070         (tst-chk5-ENV): Likewise.
25071         (tst-chk6-ENV): Likewise.
25072         (tst-lfschk1-ENV): Likewise.
25073         (tst-lfschk2-ENV): Likewise.
25074         (tst-lfschk3-ENV): Likewise.
25075         (tst-lfschk4-ENV): Likewise.
25076         (tst-lfschk5-ENV): Likewise.
25077         (tst-lfschk6-ENV): Likewise.
25078         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25079         (tst-iconv7-ENV): Likewise.
25080         * intl/Makefile (LOCPATH-ENV): Likewise.
25081         (tst-codeset-ENV): Likewise.
25082         (tst-gettext3-ENV): Likewise.
25083         (tst-gettext5-ENV): Likewise.
25084         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25085         (tst-fopenloc-ENV): Likewise.
25086         (tst-fgetws-ENV): Remove variable.
25087         (tst-ungetwc1-ENV): Likewise.
25088         (tst-ungetwc2-ENV): Likewise.
25089         (bug-ungetwc2-ENV): Likewise.
25090         (tst-swscanf-ENV): Likewise.
25091         (bug-ftell-ENV): Likewise.
25092         (tst-fgetwc-ENV): Likewise.
25093         (tst-fseek-ENV): Likewise.
25094         (tst-ftell-partial-wide-ENV): Likewise.
25095         (tst-ftell-active-handler-ENV): Likewise.
25096         (tst-ftell-append-ENV): Likewise.
25097         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25098         (tst-regexloc-ENV): Likewise.
25099         (bug-regex1-ENV): Likewise.
25100         (tst-regex-ENV): Likewise.
25101         (tst-regex2-ENV): Likewise.
25102         (bug-regex5-ENV): Likewise.
25103         (bug-regex6-ENV): Likewise.
25104         (bug-regex17-ENV): Likewise.
25105         (bug-regex18-ENV): Likewise.
25106         (bug-regex19-ENV): Likewise.
25107         (bug-regex20-ENV): Likewise.
25108         (bug-regex22-ENV): Likewise.
25109         (bug-regex23-ENV): Likewise.
25110         (bug-regex25-ENV): Likewise.
25111         (bug-regex26-ENV): Likewise.
25112         (bug-regex30-ENV): Likewise.
25113         (bug-regex32-ENV): Likewise.
25114         (bug-regex33-ENV): Likewise.
25115         (bug-regex34-ENV): Likewise.
25116         (bug-regex35-ENV): Likewise.
25117         (tst-rxspencer-ENV): Likewise.
25118         (tst-rxspencer-no-utf8-ENV): Likewise.
25119         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25120         (tst-sscanf-ENV): Likewise.
25121         (tst-swprintf-ENV): Likewise.
25122         (tst-swscanf-ENV): Likewise.
25123         (test-vfprintf-ENV): Likewise.
25124         (scanf13-ENV): Likewise.
25125         (bug14-ENV): Likewise.
25126         (tst-grouping-ENV): Likewise.
25127         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25128         (tst-strtod3-ENV): Likewise.
25129         (tst-strtod4-ENV): Likewise.
25130         (tst-strtod5-ENV): Likewise.
25131         (testmb2-ENV): Likewise./
25132         * string/Makefile (tst-strxfrm-ENV): Likewise.
25133         (tst-strxfrm2-ENV): Likewise.
25134         (bug-strcoll1-ENV): Likewise.
25135         (test-strcasecmp-ENV): Likewise.
25136         (test-strncasecmp-ENV): Likewise.
25137         * time/Makefile (tst-strptime-ENV): Likewise.
25138         (tst-ftime_l-ENV): Likewise.
25139         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25140         (tst-mbrtowc-ENV): Likewise.
25141         (tst-wcrtomb-ENV): Likewise.
25142         (tst-mbrtowc2-ENV): Likewise.
25143         (tst-c16c32-1-ENV): Likewise.
25144         (tst-mbsnrtowcs-ENV): Likewise.
25146 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25148         * manual/resource.texi (How to get information about the memory
25149         subsystem?): Fix typo.
25150         Reported by Peon de la Parra Ivan <peon@keba.com>
25152 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25154         [BZ #16882]
25155         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25156         (pthread_spin_lock): Branch out of spin loop to proper location.
25157         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25158         (pthread_spin_lock): Likewise.
25160         * nptl/tst-spin4.c: New test.
25161         * nptl/Makefile (tests): Add tst-spin4.
25163 2014-06-03  Andreas Schwab  <schwab@suse.de>
25165         [BZ #15946]
25166         * resolv/res_send.c (send_dg): Reload file descriptor after
25167         calling reopen.
25169 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25171         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25173 2014-06-03  Richard Henderson  <rth@redhat.com>
25175         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25176         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25177         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25178         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25179         in the SAVE_PID block.
25180         (__libc_vfork): New alias.
25181         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25183         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25184         child in registers, not on the stack.  Remove RESET_PID conditionals.
25185         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25187 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25189         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25191 2014-06-03  Wilco  <wdijkstr@arm.com>
25193         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25194         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25195         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25196         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25197         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25198         Likewise.
25200 2014-06-03  Wilco  <wdijkstr@arm.com>
25202         * sysdeps/aarch64/fpu/math_private.h
25203         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25204         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25205         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25206         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25207         Fix declarations.
25209 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25211         * crypt/crypt-private.h: Include ufc-crypt.h.
25212         (__b64_from_24bit): Declare extern.
25213         * crypt/crypt_util.c(__b64_from_24bit): New function.
25214         (b64t): New static const variable.
25215         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25216         (b64t): Remove variable.
25217         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25218         * crypt/sha256-crypt.c: Include crypt-private.h.
25219         (b64t): Remove variable.
25220         (__sha256_crypt_r): Remove b64_from_24bit and replace
25221         with __b64_from_24bit.
25222         * crypt/sha512-crypt.c: Likewise.
25224 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25226         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25227         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25228         Label the code __libc_vfork rather than __vfork.
25229         [!NOT_IN_libc] (vfork): Define as weak alias.
25230         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25231         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25232         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25234 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25236         * malloc/malloc.c (malloc_info): Fix format specifier for
25237         n_mmaps.
25239 2014-06-02  Wilco  <wdijkstr@arm.com>
25241         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25242         FPCR write.
25244 2014-06-02  Wilco  <wdijkstr@arm.com>
25246         [BZ #17009]
25247         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25248         Rewrite to reduce FPCR/FPSR accesses.
25250 2014-06-01  David S. Miller  <davem@davemloft.net>
25252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25254 2014-05-31  David S. Miller  <davem@davemloft.net>
25256         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25257         to occur in round to nearest mode when |x| >= 2.0
25259 2014-05-30  Richard Henderson  <rth@twiddle.net>
25261         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25262         (PSEUDO_RET_NOERRNO): Remove.
25263         (ret): Don't redefine.
25264         (ret_NOERRNO): Define in terms of ret.
25265         (ret_ERRVAL): Likewise.
25267         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25268         use of PSEUDO_RET; perform the error check directly.
25270 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25272         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25273         with __int128_t.
25275 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25277         * malloc/malloc (malloc_info): Fix formatting.
25279 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25280             Roland McGrath  <roland@hack.frob.com>
25282         * malloc/malloc (malloc_info): Also print mmapped statistics.
25284 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25286         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25287         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25289 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25291         * malloc/malloc.c (malloc_info): Inline mi_arena.
25293 2014-05-29  Richard Henderson  <rth@twiddle.net>
25295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25296         Remove comma before expanding ASM_ARGS_##nr.
25297         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25298         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25299         of ASM_ARGS_##nr.
25300         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25301         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25302         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25303         (ASM_ARGS_1): Add leading comma.
25305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25306         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25307         to __errno_location.
25308         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25309         Remove the expected plt for __errno_location.
25311         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25312         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25313         call to __read_tp.
25315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25316         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25317         it and break it down.
25318         (DOCARGS_0, DOCARGS_1): Do nothing.
25319         (DOCARGS_2): Update to store into the new stack frame.
25320         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25321         (UNDOCARGS_1): Update to restore from the new stack frame.
25322         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25323         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25325         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25326         (SINGLE_THREAD_P): New parameter for result regno.
25327         (PSEUDO): Update to match; use cbz instead of beq.
25329         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25330         Use ENTRY to define the _nocancel entry point.  Share the syscall
25331         and syscall error check paths with the cancel path.
25332         (PSEUDO_END): New.
25334         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25335         whitespace; tabs before and after asm mnemonics.
25337 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25339         [BZ #15132]
25340         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25341         Call fstat64 or stat64 internally, depending on arguments passed.
25342         Replace stat buffer argument with file descriptor argument.
25343         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25344         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25345         Pass fd to __internal_statvfs instead of calling fstat64.
25346         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25347         Pass fd to __internal_statvfs64 instead of calling fstat64.
25348         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25349         Pass -1 to __internal_statvfs instead of calling stat64.
25350         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25351         Pass -1 to __internal_statvfs64 instead of calling stat64.
25353 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25355         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25356         that was previously under [RESET_PID].
25357         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25359         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25360         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25362 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25364         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25366         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25367         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25369 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25371         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25373 2014-05-27  Andreas Schwab  <schwab@suse.de>
25375         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25376         TLS_INIT_TP macro.
25377         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25378         * elf/rtld.c (init_tls, dl_main): Likewise.
25379         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25380         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25381         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25382         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25383         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25384         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25385         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25386         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25387         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25388         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25389         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25390         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25391         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25392         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25393         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25394         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25395         * sysdeps/generic/tls.h: Update description.
25397 2014-05-27  Will Newton  <will.newton@linaro.org>
25399         [BZ #16990]
25400         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25401         and restore r2 rather than just restoring.
25403 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25405         [BZ #16724]
25406         * libio/tst-ftell-append.c: New test case.
25407         * libio/Makefile (tests): Add test case.
25408         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25409         append mode.
25410         * libio/wfileops.c (do_ftell_wide): Likewise.
25412 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25416         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25417         ...
25418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25420         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25421         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25422         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25423         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25424         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25425         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25427         Moved ...
25428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25430         Moved ...
25431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25432         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25433         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25434         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25435         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25436         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25437         ...
25438         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25439         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25440         Moved ...
25441         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25442         here.
25443         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25444         ...
25445         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25446         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25447         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25449         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25450         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25451         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25452         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25455         merge into ...
25456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25458         ...
25459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25461         ...
25462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25464         Moved ...
25465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25466         here.
25467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25468         Moved ...
25469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25471         Moved ...
25472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25475         conditional [RESET_PID].
25476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25478         removed.
25479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25480         removed.
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25483         <tcb-offsets.h>.
25484         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25485         (__libc_vfork): New strong alias.
25486         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25487         removed.
25488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25489         Removed.
25491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25492         <tcb-offsets.h>.
25493         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25494         (__libc_vfork): New strong alias.
25495         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25496         removed.
25497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25498         removed.
25500 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25502         * malloc/malloc.c (mi_arena): New function.
25503         (malloc_info): Remove nested function mi_arena. Call non-nosted
25504         function mi_arena.
25506 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25508         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25509         by insrwi.
25510         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25511         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25512         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25513         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25514         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25515         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25516         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25518 2014-05-26  Andreas Schwab  <schwab@suse.de>
25520         [BZ #16984]
25521         * locale/programs/repertoire.c (repertoire_read): Add slash
25522         between I18NPATH element and file name.
25523         * locale/programs/locfile.c (locfile_read): Likewise.
25525 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25527         * nptl/pthread_mutexattr_settype.c
25528         (__pthread_mutexattr_settype):
25529         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25531 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25533         * nptl/tst-mutex5 (do_test):
25534         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25536 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25538         * benchtests/README: Document 'init' directive.
25539         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25540         BENCH_INIT.
25541         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25542         (parse_file): Recognize 'init' directive.
25544 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25546         [BZ #16796]
25547         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25548         alignment of struct pthread.
25550 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25552         [BZ #16878]
25553         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25554         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25555         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25556         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25558 2014-05-25  Richard Henderson  <rth@twiddle.net>
25560         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25561         (SINGLE_THREAD_P_PIC): Remove.
25562         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25563         (SINGLE_THREAD_P_PIC): Remove.
25565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25566         branch to syscall error ...
25567         (PSEUDO): ... here.
25568         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25569         from __local_syscall_error to .Lsyscall_error.
25570         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25571         (SYSCALL_ERROR): Update label name.
25573         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25574         Do not use DOARGS/UNDOARGS.
25575         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25576         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25577         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25578         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25579         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25581         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25582         block comment.
25584         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25585         define if !NOT_IN_libc.
25586         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25587         define with non-default symbol versions.
25589 2014-05-23  Richard Henderson  <rth@twiddle.net>
25591         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25592         (vfork, __vfork): Define via compat_symbol.
25594         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25595         [!HAVE_IFUNC] (vfork_compat): Remove.
25596         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25598 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25600         [BZ #16978]
25601         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25602         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25603         variable.
25605 2014-05-23  Richard Henderson  <rth@twiddle.net>
25607         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25608         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25609         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25610         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25612         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25613         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25614         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25615         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25616         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25617         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25618         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25619         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25620         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25621         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25622         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25623         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25624         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25625         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25626         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25627         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25628         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25629         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25630         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25631         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25632         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25633         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25634         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25635         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25636         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25637         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25638         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25639         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25640         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25641         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25642         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25643         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25644         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25645         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25646         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25647         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25648         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25649         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25650         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25651         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25652         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25653         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25654         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25655         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25656         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25657         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25659         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25661         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25662         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25663         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25664         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25665         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25666         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25667         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25669         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25670         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25671         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25672         before exiting on error.
25673         (__libc_vfork): New strong alias.
25674         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25675         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25677         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25678         that was previously under [RESET_PID].
25679         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25681         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25683 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25685         [BZ #16977]
25686         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25687         value when x - 1 is zero.
25688         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25689         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25690         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25691         0.0L for an argument of 1.0L.
25692         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25693         Likewise.
25694         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25695         value when x - 1 is zero.
25696         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25697         * sysdeps/i386/fpu/libm-test-ulps: Update.
25698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25700 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25702         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25703         alphasort and versionsort.
25705 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25707         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25708         macro.
25709         [copysignf]: Likewise.
25711 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25713         * crypt/md5-crypt.c: Fix formatting.
25715 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25717         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25718         (b64_from_24bit): New function.
25720 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25722         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25723         libc_hidden_builtin_def to ifunc.
25724         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25725         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25727 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25729         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25730         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25732 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25734         * nscd/Depend (linuxthreads): Remove.
25735         (nptl): Add.
25736         * resolv/Depend (linuxthreads): Remove.
25737         * rt/Depend (linuxthreads): Remove.
25739         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25740         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25741         $(common-objpfx)elf/.
25742         (link-libc-before-gnulib): Likewise.
25743         (elfobjdir): Remove variable.
25744         * Makefile (install): Use $(elf-objpfx) instead of
25745         $(common-objpfx)elf/.
25746         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25747         $(elfobjdir)/.
25748         (link-libc-deps): Likewise.
25749         ($(common-objpfx)libc.so): Likewise.
25750         ($(common-objpfx)linkobj/libc.so): Likewise.
25751         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25752         instead of $(common-objpfx)elf/.
25753         (symbolic-link-list): Likewise.
25754         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25755         [$(cross-compiling) = no]: Likewise.
25756         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25757         $(elfobjdir)/.
25758         (static-gnulib-arch): Likewise.
25759         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25760         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25761         $(common-objpfx)elf/.
25763 2014-05-21  Richard Henderson  <rth@redhat.com>
25765         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25766         (SINGLE_THREAD_P): Use the correct width load.  Fold
25767         into the ldr offset.
25769         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25770         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25772 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25774         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25775         (libgcc_s_resume): Use __attribute_used__.
25776         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25777         Likewise.
25779 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25781         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25782         optimization when used with float constants.
25784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25786 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25788         [BZ #16915]
25789         * locale/nl_langinfo_l.c: Make direct reference to every
25790         _nl_current_CATEGORY symbol.
25791         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25792         (tests-static): Add tst-langinfo-static.
25793         (tests-special): Add tst-langinfo-static.out.
25794         ($(objpfx)tst-langinfo.out): Redirect output.
25795         ($(objpfx)tst-langinfo-static.out): New.
25796         * localedata/tst-langinfo.sh: Send output to stdout.
25797         * localedata/tst-langinfo-static.c: New file.
25799         [BZ #16965]
25800         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25801         when the shift amount is modulo the limb size.
25803 2014-05-20  Richard Henderson  <rth@redhat.com>
25805         [BZ #16967]
25806         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25807         Change type of sa_flags from unsigned int to int.
25809         [BZ #16966]
25810         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25812         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25814 2014-05-20  Will Newton  <will.newton@linaro.org>
25816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25817         Test the return value of the system call in the nocancel case.
25819 2014-05-20  Will Newton  <will.newton@linaro.org>
25820             Yvan Roux  <yvan.roux@linaro.org>
25822         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25823         #include of asm/ptrace.h.
25824         (PTRACE_GET_THREAD_AREA): Remove #undef.
25825         (PTRACE_GETHBPREGS): Likewise.
25826         (PTRACE_SETHBPREGS): Likewise.
25827         (struct user_regs_struct): New structure.
25828         (struct user_fpsimd_struct): New structure.
25829         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25830         #include of asm/ptrace.h and second #include of sys/user.h.
25831         (PTRACE_GET_THREAD_AREA): Remove #undef.
25832         (PTRACE_GETHBPREGS): Likewise.
25833         (PTRACE_SETHBPREGS): Likewise.
25834         (ELF_NGREG): Use new struct user_regs_struct.
25835         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25837 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25839         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25840         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25842 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25844         [BZ #16958]
25845         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25846         membar to avoid block loads/stores to overlap previous stores.
25848 2014-05-17  Richard Henderson  <rth@redhat.com>
25850         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25851         Create the __##syscall_name##_nocancel entry point.
25852         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25853         Remove; let the sysdep-cancel.h code create it.
25855 2014-05-17  David S. Miller  <davem@davemloft.net>
25857         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25858         Protect with __USE_GNU.
25859         (TIOCSET_TEMPT): Likewise.
25860         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25861         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25862         these are already provided in bits/ioctl-types.h
25864 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25866         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25867         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25869         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25870         Use wait4 regardless of [__NR_waitpid].
25872 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25874         PR libgcc/60166
25875         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25876         (_FP_NANSIGN_Q): Set the quiet bit.
25878 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
25880         * benchtests/Makefile
25881         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25882         not $(common-objpfx)math/libm.so.
25883         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
25884         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
25885         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
25886         $(common-objpfx)dlfcn/libdl.so.
25887         ($(objpfx)tst-audit8): Depend on $(libm), not
25888         $(common-objpfx)math/libm.so.
25889         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
25890         not $(common-objpfx)dlfcn/libdl.so.
25891         * math/Makefile
25892         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25893         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
25894         [$(build-shared) = yes].
25895         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
25896         $(common-objpfx)nptl/libpthread.so.
25897         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
25898         $(common-objpfx)math/libm.so$(libm.so-version) or
25899         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
25900         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
25901         $(common-objpfx)dlfcn/libdl.so.
25902         * setjmp/Makefile (link-libm): Remove variable.
25903         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
25904         * stdio-common/Makefile (link-libm): Remove variable.
25905         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
25906         * stdlib/Makefile (link-libm): Remove variable.
25907         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
25908         ($(objpfx)tst-strtod-round): Likewise.
25909         ($(objpfx)tst-tininess): Likewise.
25910         ($(objpfx)tst-strtod-underflow): Likewise.
25911         ($(objpfx)tst-strtod6): Likewise.
25912         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
25913         $(libdl), not $(common-objpfx)nptl/libpthread.so and
25914         $(common-objpfx)dlfcn/libdl.so.
25916 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25918         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
25919         BSD terminal modes definitions.
25921 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25923         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
25924         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
25926         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
25927         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
25928         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
25929         Don't do #include_next.
25930         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
25931         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
25932         Don't do #include_next.
25933         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
25934         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
25935         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
25936         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
25938 2014-05-16  Allan McRae  <allan@archlinux.org>
25940         * po/sv.po: Update Swedish translation from translation project.
25942         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
25943         in sed expression.
25945 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
25947         [BZ #16917]
25948         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
25949         errno if the TIOCGPTN ioctl fails with an error different than
25950         EINVAL.
25951         * login/tst-ptsname.c: New file.
25952         * login/Makefile (tests): Add tst-ptsname.
25954         [BZ #16943]
25955         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
25956         and prlimit64.
25958 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25960         [BZ #16849]
25961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
25962         herrno to return EAI_AGAIN.
25964 2014-05-14  Roland McGrath  <roland@hack.frob.com>
25966         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
25967         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
25968         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
25969         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
25970         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
25971         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
25972         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
25973         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
25974         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
25975         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
25976         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
25977         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
25978         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
25979         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
25980         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
25981         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
25982         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
25983         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
25984         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
25985         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
25986         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
25987         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
25988         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
25989         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
25990         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
25991         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
25992         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
25993         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
25994         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
25995         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
25996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
25997         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
25998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
25999         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26001         Moved ...
26002         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26004         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26006         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26008         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26010         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26012         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26014         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26016         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26018         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26020         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26022         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26024         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26026         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26028         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26030         Moved ...
26031         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26033         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26035         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26037         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26039         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26041         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26043         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26045         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26047         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26049         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26051         Moved ...
26052         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26054         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26056         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26057         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26058         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26059         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26060         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26061         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26062         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26063         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26064         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26065         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26066         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26067         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26068         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26069         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26070         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26071         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26072         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26073         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26074         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26075         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26076         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26077         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26078         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26079         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26080         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26081         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26082         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26083         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26084         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26085         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26086         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26088         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26089         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26091         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26092         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26093         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26094         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26095         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26096         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26097         Moved ...
26098         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26099         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26100         Moved ...
26101         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26103         Moved ...
26104         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26105         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26106         Moved ...
26107         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26108         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26109         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26110         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26111         Moved ...
26112         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26113         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26114         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26115         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26116         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26117         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26118         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26119         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26120         Moved ...
26121         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26122         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26123         Moved ...
26124         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26125         ... here.
26126         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26127         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26128         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26129         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26131         Moved ...
26132         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26133         ... here.
26134         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26135         Moved ...
26136         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26137         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26138         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26139         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26140         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26141         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26142         Moved ...
26143         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26144         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26145         Moved ...
26146         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26148         Moved ...
26149         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26150         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26151         Moved ...
26152         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26153         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26154         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26155         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26156         Moved ...
26157         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26158         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26159         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26160         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26161         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26162         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26163         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26164         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26165         Moved ...
26166         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26167         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26168         Moved ...
26169         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26170         ... here.
26171         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26172         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26173         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26174         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26176         Moved ...
26177         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26178         ... here.
26179         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26180         Moved ...
26181         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26182         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26183         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26184         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26185         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26186         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26187         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26188         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26189         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26190         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26191         Moved ...
26192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26193         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26194         Moved ...
26195         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26197         Moved ...
26198         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26199         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26200         Moved ...
26201         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26202         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26203         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26204         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26205         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26206         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26207         Moved ...
26208         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26209         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26210         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26212         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26213         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26214         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26215         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26216         Moved ...
26217         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26218         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26219         Moved ...
26220         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26221         ... here.
26222         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26223         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26224         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26225         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26227         Moved ...
26228         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26229         ... here.
26230         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26231         Moved ...
26232         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26233         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26234         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26235         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26236         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26237         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26238         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26239         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26240         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26241         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26242         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26244         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26245         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26247         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26248         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26250         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26251         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26252         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26253         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26254         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26255         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26256         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26257         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26258         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26259         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26260         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26261         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26262         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26263         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26264         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26266         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26268         Moved ...
26269         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26270         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26271         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26273         Moved ...
26274         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26275         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26276         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26278         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26279         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26280         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26281         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26282         Moved ...
26283         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26284         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26285         Moved ...
26286         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26288         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26289         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26290         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26291         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26292         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26293         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26294         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26295         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26296         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26297         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26298         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26299         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26300         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26301         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26302         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26304         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26305         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26306         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26307         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26308         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26310         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26311         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26312         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26313         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26314         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26315         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26316         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26317         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26318         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26319         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26322         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26324         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26325         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26326         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26327         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26328         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26329         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26330         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26331         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26332         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26333         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26334         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26335         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26336         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26337         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26339         Update #include.
26340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26341         Likewise.
26342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26343         Likewise.
26344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26345         Likewise.
26346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26347         Likewise.
26348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26349         Likewise.
26350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26351         Likewise.
26352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26353         Likewise.
26354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26355         Likewise.
26356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26357         Likewise.
26358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26359         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26360         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26363         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26364         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26365         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26366         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26367         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26368         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26369         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26370         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26371         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26372         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26374         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26375         that was previously under [RESET_PID].
26376         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26377         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26378         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26380         * sysdeps/i386/nptl/Implies: New file.
26381         * sysdeps/x86_64/nptl/Implies: New file.
26382         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26383         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26384         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26385         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26387         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
26388         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26389         (__libc_vfork): New strong alias.
26390         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26391         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26393         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26394         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26395         (__libc_vfork): New strong alias.
26396         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26397         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26399         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26400         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26401         (__libc_vfork): New strong alias.
26402         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26403         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26404         * nptl/pt-vfork.c: New file.
26405         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26406         (libpthread: GLIBC_2.20): New version set (empty).
26408 2014-05-14  Will Newton  <will.newton@linaro.org>
26410         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26411         rather than #if.
26413 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26415         [BZ #16564]
26416         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26417         arguments with exponent 65 or above.
26418         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26419         arguments 0x1p113L or above.
26420         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26421         to arguments 0x1p107L or above.
26422         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26423         positive arguments with exponent 65 or above.
26424         * math/auto-libm-test-in: Add more tests of log1p.
26425         * math/auto-libm-test-out: Regenerated.
26427         [BZ #16928]
26428         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26429         non-finite arguments is +0.
26430         * math/s_cacosf.c (__cacosf): Likewise.
26431         * math/s_cacosl.c (__cacosl): Likewise.
26432         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26433         * sysdeps/i386/fpu/libm-test-ulps: Update.
26434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26436         [BZ #16927]
26437         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26438         value.
26439         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26440         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26441         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26442         for explicit high bit of mantissa when testing for argument equal
26443         to 1.
26444         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26445         * sysdeps/i386/fpu/libm-test-ulps: Update.
26446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26448         [BZ #16516]
26449         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26450         (__erf): Scale by 16 instead of 8 in potentially underflowing
26451         case.  Ensure exception if result actually underflows.
26452         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26453         (__erff): Scale by 16 instead of 8 in potentially underflowing
26454         case.  Ensure exception if result actually underflows.
26455         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26456         (efx8): Remove variable.
26457         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26458         case.  Ensure exception if result actually underflows.
26459         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26460         (efx8): Remove variable.
26461         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26462         case.  Ensure exception if result actually underflows.
26463         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26464         (efx8): Remove variable.
26465         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26466         case.  Ensure exception if result actually underflows.
26467         * math/auto-libm-test-in: Add more tests of erf.
26468         * math/auto-libm-test-out: Regenerated.
26470 2014-05-14  Andreas Schwab  <schwab@suse.de>
26472         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26473         Remove code conditionalized on USE___THREAD.
26475         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26476         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26477         not definedness.
26479 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26481         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26482         Define unconditionally.
26483         (__ASSUME_O_CLOEXEC): Likewise.
26484         (__ASSUME_SOCK_CLOEXEC): Likewise.
26485         (__ASSUME_IN_NONBLOCK): Likewise.
26486         (__ASSUME_PIPE2): Likewise.
26487         (__ASSUME_EVENTFD2): Likewise.
26488         (__ASSUME_SIGNALFD4): Likewise.
26489         (__ASSUME_DUP3): Likewise.
26490         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26491         (__ASSUME_DUP3): Do not define.
26492         (__ASSUME_EVENTFD2): Likewise.
26493         (__ASSUME_IN_NONBLOCK): Likewise.
26494         (__ASSUME_O_CLOEXEC): Likewise.
26495         (__ASSUME_PIPE2): Likewise.
26496         (__ASSUME_SIGNALFD4): Likewise.
26497         (__ASSUME_SOCK_CLOEXEC): Likewise.
26498         (__ASSUME_UTIMES): Undefine.
26499         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26500         (__ASSUME_UTIMES): Do not define.
26501         (__ASSUME_O_CLOEXEC): Likewise.
26502         (__ASSUME_SOCK_CLOEXEC): Likewise.
26503         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26504         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26505         0x020621].
26506         (__ASSUME_PIPE2): Likewise.
26507         (__ASSUME_EVENTFD2): Likewise.
26508         (__ASSUME_SIGNALFD4): Likewise.
26509         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26510         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26511         Do not define.
26512         (__ASSUME_EVENTFD2): Likewise.
26513         (__ASSUME_SIGNALFD4): Likewise.
26514         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26515         (__ASSUME_32BITUIDS): Likewise.
26516         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26517         (__ASSUME_IPC64): Likewise.
26518         (__ASSUME_ST_INO_64_BIT): Likewise.
26519         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26520         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26521         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26522         (__ASSUME_UTIMES): Do not define.
26523         (__ASSUME_PSELECT): Likewise.
26524         (__ASSUME_PPOLL): Likewise.
26525         (__ASSUME_O_CLOEXEC): Likewise.
26526         (__ASSUME_SOCK_CLOEXEC): Likewise.
26527         (__ASSUME_IN_NONBLOCK): Likewise.
26528         (__ASSUME_PIPE2): Likewise.
26529         (__ASSUME_EVENTFD2): Likewise.
26530         (__ASSUME_SIGNALFD4): Likewise.
26531         (__ASSUME_DUP3): Likewise.
26532         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26533         (__ASSUME_UTIMES): Likewise.
26534         (__ASSUME_O_CLOEXEC): Likewise.
26535         (__ASSUME_SOCK_CLOEXEC): Likewise.
26536         (__ASSUME_IN_NONBLOCK): Likewise.
26537         (__ASSUME_PIPE2): Likewise.
26538         (__ASSUME_EVENTFD2): Likewise.
26539         (__ASSUME_SIGNALFD4): Likewise.
26540         (__ASSUME_DUP3): Likewise.
26541         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26542         (__ASSUME_UTIMES): Likewise.
26543         (__ASSUME_O_CLOEXEC): Likewise.
26544         (__ASSUME_SOCK_CLOEXEC): Likewise.
26545         (__ASSUME_IN_NONBLOCK): Likewise.
26546         (__ASSUME_PIPE2): Likewise.
26547         (__ASSUME_EVENTFD2): Likewise.
26548         (__ASSUME_SIGNALFD4): Likewise.
26549         (__ASSUME_DUP3): Likewise.
26550         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26551         Likewise.
26552         (__ASSUME_UTIMES): Likewise.
26553         (__ASSUME_EVENTFD2): Likewise.
26554         (__ASSUME_SIGNALFD4): Likewise.
26555         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26556         (__ASSUME_O_CLOEXEC): Likewise.
26557         (__ASSUME_SOCK_CLOEXEC): Likewise.
26558         (__ASSUME_IN_NONBLOCK): Likewise.
26559         (__ASSUME_PIPE2): Likewise.
26560         (__ASSUME_EVENTFD2): Likewise.
26561         (__ASSUME_SIGNALFD4): Likewise.
26562         (__ASSUME_DUP3): Likewise.
26563         (__ASSUME_UTIMES): Undefine.
26565         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26566         feclearexcept.  Remove symbol versioning code.
26567         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26568         symbol versioning code.
26569         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26570         symbol versioning code.
26571         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26572         feupdateenv.  Remove symbol versioning code.
26573         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26574         fegetexceptflag.  Remove symbol versioning code.
26575         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26576         fesetexceptflag.  Remove symbol versioning code.
26577         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26578         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26579         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26580         (__posix_fadvise64_l32): Remove prototype.
26581         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26582         code.
26584 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26586         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26587         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26588         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26589         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26591 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26593         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26594         current working directory
26596 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26598         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26599         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26600         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26601         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26602         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26603         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26604         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26605         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26606         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26607         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26608         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26609         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26610         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26611         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26612         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26613         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26614         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26615         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26616         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26617         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26618         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26619         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26620         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26621         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26622         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26623         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26624         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26625         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26626         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26627         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26628         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26629         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26630         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26631         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26632         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26633         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26634         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26635         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26636         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26637         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26638         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26639         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26641         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26642         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26644         * sysdeps/unix/sysv/linux/arm/Makefile
26645         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26646         Add rt-aeabi_unwind_cpp_pr1.
26647         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26648         Add nptl-aeabi_unwind_cpp_pr1.
26649         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26650         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26651         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26652         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26653         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26654         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26656         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26657         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26658         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26659         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26661         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26662         Deconditionalize the code that was previously under [RESET_PID].
26663         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26665         * sysdeps/generic/exit-thread.h: New file.
26666         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26667         * include/unistd.h (__exit_thread): Remove declaration.
26668         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26669         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26670         * csu/libc-start.c: Include <exit-thread.h>.
26671         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26672         * nptl/pthread_create.c: Include <exit-thread.h>.
26673         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26674         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26675         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26676         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26677         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26678         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26679         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26680         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26681         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26682         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26683         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26684         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26685         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26686         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26687         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26688         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26689         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26691 2014-05-13  Andreas Schwab  <schwab@suse.de>
26693         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26695 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26697         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26698         (__ASSUME_UTIMES): Do not condition on kernel version.
26699         (__ASSUME_PSELECT): Define unconditionally.
26700         (__ASSUME_PPOLL): Likewise.
26701         (__ASSUME_ATFCTS): Likewise.
26702         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26703         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26704         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26705         (__ASSUME_UTIMENSAT): Define unconditionally.
26706         (__ASSUME_PRIVATE_FUTEX): Likewise.
26707         (__ASSUME_FALLOCATE): Likewise.
26708         (__ASSUME_O_CLOEXEC): Likewise.
26709         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26710         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26711         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26712         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26713         (__ASSUME_IN_NONBLOCK): Likewise.
26714         (__ASSUME_PIPE2): Likewise.
26715         (__ASSUME_EVENTFD2): Likewise.
26716         (__ASSUME_SIGNALFD4): Likewise.
26717         (__ASSUME_DUP3): Likewise.
26718         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26719         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26720         (__ASSUME_AT_RANDOM): Likewise.
26721         (__ASSUME_PREADV): Likewise.
26722         (__ASSUME_PWRITEV): Likewise.
26723         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26724         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26725         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26726         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26727         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26728         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26729         (__ASSUME_O_CLOEXEC): Define unconditionally.
26730         (__ASSUME_PSELECT): Do not undefine conditionally.
26731         (__ASSUME_PPOLL): Likewise.
26732         (__ASSUME_ATFCTS): Likewise.
26733         (__ASSUME_SET_ROBUST_LIST): Likewise.
26734         (__ASSUME_UTIMENSAT): Likewise.
26735         (__ASSUME_FDATASYNC): Define unconditionally.
26736         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26737         (__ASSUME_SIGFRAME_V2): Likewise.
26738         )__ASSUME_EVENTFD2): Likewise.
26739         (__ASSUME_SIGNALFD4): Likewise.
26740         (__ASSUME_PSELECT): Do not undefine conditionally.
26741         (__ASSUME_PPOLL): Likewise.
26742         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26743         (__ASSUME_PSELECT): Define unconditionally.
26744         (__ASSUME_PPOLL): Likewise.
26745         (__ASSUME_O_CLOEXEC): Likewise.
26746         (__ASSUME_SOCK_CLOEXEC): Likewise.
26747         (__ASSUME_IN_NONBLOCK): Likewise.
26748         (__ASSUME_PIPE2): Likewise.
26749         (__ASSUME_EVENTFD2): Likewise.
26750         (__ASSUME_SIGNALFD4): Likewise.
26751         (__ASSUME_DUP3): Likewise.
26752         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26753         (__ASSUME_O_CLOEXEC): Likewise.
26754         (__ASSUME_SOCK_CLOEXEC): Likewise.
26755         (__ASSUME_IN_NONBLOCK): Likewise.
26756         (__ASSUME_PIPE2): Likewise.
26757         (__ASSUME_EVENTFD2): Likewise.
26758         (__ASSUME_SIGNALFD4): Likewise.
26759         (__ASSUME_DUP3): Likewise.
26760         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26761         (__ASSUME_EVENTFD2): Likewise.
26762         (__ASSUME_SIGNALFD4): Likewise.
26763         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26765 2014-05-12  Andreas Schwab  <schwab@suse.de>
26767         [BZ #16932]
26768         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26769         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26770         than maximum RPC packet size.
26771         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26772         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26773         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26774         (_nss_nis_getservbyport_r): Likewise.
26776 2014-05-12  Will Newton  <will.newton@linaro.org>
26778         * malloc/Makefile (tests): Add tst-mallopt.
26779         * malloc/tst-mallopt.c: New file.
26781 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26783         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26784         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26786 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26788         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26789         (tst-tlsmod6.so): Likewise.
26791 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26793         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26795 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26797         [BZ #16064]
26798         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26799         and <dl-procinfo.h>.
26800         (__fegetenv): Save SSE state in envp->__eip if supported.
26801         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26802         envp->__eip if supported.
26803         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26804         and <dl-procinfo.h>.
26805         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26806         __data_offset and __data_selector in environment to 0.  Set SSE
26807         state if supported.
26808         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26809         test-fenv-sse.
26810         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26811         -mfpmath=sse.
26812         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26814 2014-05-09  Will Newton  <will.newton@linaro.org>
26816         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26817         and libc_relro_required for ARM.
26818         * sysdeps/arm/preconfigure: Regenerate.
26820 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26821             Stefan Liebler  <stli@linux.vnet.ibm.com>
26823         * config.make.in (enable-lock-elision): New Makefile variable.
26824         * configure.ac: Likewise.
26825         * configure: Regenerate.
26826         * sysdeps/s390/configure.ac:
26827         Add check for gcc transactions support.
26828         * sysdeps/s390/configure: Regenerate.
26829         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26830         Build elision files if enabled.
26831         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26832         Add lock elision support for s390.
26833         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26834         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26835         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26836         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26837         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26838         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26839         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26840         Likewise.
26841         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26842         Likewise.
26843         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26844         Likewise.
26845         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26846         Likewise.
26847         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26848         (__lll_timedlock_elision, __lll_lock_elision)
26849         (__lll_unlock_elision, __lll_trylock_elision)
26850         (lll_timedlock_elision, lll_lock_elision)
26851         (lll_unlock_elision, lll_trylock_elision): Add.
26852         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26853         (pthread_mutex_t): Add lock elision support for s390.
26855 2014-05-14  Wilco  <wdijkstr@arm.com>
26857         * sysdeps/arm/fclrexcpt.c: Cleanup.
26858         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26859         * sysdeps/arm/feenablxcpt.c: Cleanup.
26860         * sysdeps/arm/fegetenv.c: Cleanup.
26861         * sysdeps/arm/fegetexcept.c: Cleanup.
26862         * sysdeps/arm/fegetround.c: Cleanup.
26863         * sysdeps/arm/feholdexcpt.c: Cleanup.
26864         * sysdeps/arm/fesetenv.c: Cleanup.
26865         * sysdeps/arm/fesetround.c: Cleanup.
26866         * sysdeps/arm/feupdateenv.c: Cleanup.
26867         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26868         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26869         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26870         * sysdeps/arm/ftestexcept.c: Cleanup.
26871         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26872         * sysdeps/arm/setfpucw.c: Cleanup.
26874 2014-05-09  Will Newton  <will.newton@linaro.org>
26876         * sysdeps/arm/armv7/strcmp.S: New file.
26877         * NEWS: Mention addition of ARMv7 optimized strcmp.
26879 2014-05-08  Roland McGrath  <roland@hack.frob.com>
26881         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
26882         look for %.ac rather than %.in.
26884         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
26885         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
26886         * sysdeps/mach/hurd/configure: Regenerated.
26887         * sysdeps/unix/sysv/linux/configure: Regenerated.
26889         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
26891 2014-05-07  Steve Ellcey  <sellcey@mips.com>
26893         [BZ# 16922]
26894         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
26895         (LONG_SUB): Ditto.
26896         (PTR_SUB): Ditto.
26898 2014-05-07  Andreas Schwab  <schwab@suse.de>
26900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
26901         when skipping over non-matching result from nscd.
26903 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
26905         [BZ #16876]
26906         * nptl/sockperf.c (client): Check socket return value.
26908         [BZ #16877]
26909         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
26910         nscd security class.
26912 2014-05-06  Roland McGrath  <roland@hack.frob.com>
26914         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
26915         * sysdeps/arm/unwind.h: ... here.
26917 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
26919         [BZ# 16916]
26920         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
26921         Define.
26923 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26925         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
26926         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
26927         multiarch strncpy for PPC64.
26928         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
26929         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
26930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
26931         multiarch optimizations.
26932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26933         (__libc_ifunc_impl_list): Likewise.
26934         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
26935         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
26936         multiarch stpncpy for PPC64.
26937         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
26938         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
26940 2014-05-06  Andreas Schwab  <schwab@suse.de>
26942         [BZ #16912]
26943         * gmon/mcount.c (_MCOUNT_DECL): Use
26944         atomic_compare_and_exchange_bool_acq instead of
26945         catomic_compare_and_exchange_bool_acq.
26947 2014-05-05  Roland McGrath  <roland@hack.frob.com>
26949         * elf/Makefile (others, install-bin): Remove pldd.
26950         (pldd-modules): Variable removed.
26951         ($(objpfx)pldd): Target removed.
26952         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
26953         (others, install-bin): Append pldd here.
26954         ($(objpfx)pldd): New target.
26956         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
26957         to 0, so the first #if test emitted later doesn't see it undefined.
26958         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
26959         * sysdeps/gnu/errlist.c: Regenerated.
26961 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26963         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26964         [libc_hidden_builtin_def]: Define to empty value.
26965         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
26966         [libc_hidden_builtin_def]: Likewise.
26967         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
26968         [libc_hidden_builtin_def]: Likewise.
26969         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
26970         [libc_hidden_builtin_def]: Likewise.
26971         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
26972         __redirect_memcpy and define ifunc as default hidden symbol.
26973         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
26974         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
26976 2014-05-04  Adam Conrad  <adconrad@0c3.net>
26978         * locale/iso-4217.def: Reintroduce XDR currency.
26980 2014-05-04  Allan McRae  <allan@archlinux.org>
26982         * po/eo.po: Update Esperanto translation from translation project.
26984 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
26986         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
26987         and FEATURE_INDEX_MAX to 1.
26988         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
26990 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26992         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
26993         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
26994         * iconvdata/big5.c (ONE_DIRECTION): Define.
26995         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
26996         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
26997         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
26998         * iconvdata/cp932.c (ONE_DIRECTION): Define.
26999         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27000         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27001         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27002         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27003         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27004         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27005         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27006         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27007         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27008         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27009         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27010         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27011         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27012         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27013         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27014         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27015         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27016         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27017         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27018         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27019         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27020         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27021         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27022         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27023         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27024         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27025         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27026         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27027         * iconvdata/johab.c (ONE_DIRECTION): Define.
27028         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27029         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27030         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27031         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27032         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27033         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27034         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27035         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27036         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27037         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27039 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27041         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27042         (_IO_JUMPS_OFFSET): Define to 0.
27044         * nptl/sysdeps/pthread/bits/libc-lock.h
27045         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27046         (__libc_lock_define_initialized_recursive): Always define using
27047         initializer.  Modern compilers treat uninitialized (implicit zero) and
27048         explicit zero initializers the same (i.e. put the datum in bss).
27050 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27052         * nscd/nscd-client.h: Include <string.h>.
27054 2014-05-01  David S. Miller  <davem@davemloft.net>
27056         [BZ #16885]
27057         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27058         multiple zero bytes exist at the end of a string.
27059         Reported by Aurelien Jarno <aurelien@aurel32.net>
27061         * string/test-strcmp.c (check): Add explicit test for situations where
27062         there are multiple zero bytes after the first.
27064 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27066         [BZ #16890]
27067         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27068         when compiling wprintf.
27069         * stdio-common/tstdiomisc.c (t3): New function.
27070         (main): Call it.
27072 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27074         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27075         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27076         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27077         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27079 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27081         * stdlib/longlong.h: Updated from GCC.
27083 2014-05-01  Will Newton  <will.newton@linaro.org>
27084             Bernard Ogden  <bernie.ogden@linaro.org>
27086         * NEWS: Update fixed bug list.
27088         [BZ #15119]
27089         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27091 2014-04-30  David S. Miller  <davem@davemloft.net>
27093         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27094         (libc_feholdexcept_setround_sparc_ctx): New function.
27095         (libc_fesetenv_sparc_ctx): Likewise.
27096         (libc_feupdateenv_sparc_ctx): Likewise.
27097         (libc_feholdsetround_sparc_ctx): Likewise.
27098         (libc_feholdexcept_setround_ctx): Define.
27099         (libc_feholdexcept_setroundf_ctx): Likewise.
27100         (libc_feholdexcept_setroundl_ctx): Likewise.
27101         (libc_fesetenv_ctx): Likewise.
27102         (libc_fesetenvf_ctx): Likewise.
27103         (libc_fesetenvl_ctx): Likewise.
27104         (libc_feupdateenv_ctx): Likewise.
27105         (libc_feupdateenvf_ctx): Likewise.
27106         (libc_feupdateenvl_ctx): Likewise.
27107         (libc_feresetround_ctx): Likewise.
27108         (libc_feresetroundf_ctx): Likewise.
27109         (libc_feresetroundl_ctx): Likewise.
27110         (libc_feholdsetround_ctx): Likewise.
27111         (libc_feholdsetroundf_ctx): Likewise.
27112         (libc_feholdsetroundl_ctx): Likewise.
27114         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27115         with __USE_GNU instead of XOPEN cpp guards.
27117         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27118         0.
27120         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27121         with XOPEN cpp guards.
27123 2014-04-30  Julian Brown  <julian@codesourcery.com>
27125         [BZ #16888]
27126         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27127         handling.
27129 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27131         [BZ #9894]
27132         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27133         Change to 2.6.32.
27134         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27135         * sysdeps/unix/sysv/linux/configure: Regenerated.
27136         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27137         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27138         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27139         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27140         * README: Update reference to required Linux kernel version.
27141         * manual/install.texi (Linux): Update reference to required Linux
27142         kernel headers version.
27143         * INSTALL: Regenerated.
27145         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27146         header inclusion.
27147         [POSIX] (limits.h): Likewise.
27148         [POSIX] (math.h): Likewise.
27149         [POSIX] (sys/wait.h): Likewise.
27150         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27151         function.
27152         [POSIX] (stddef.h): Do not allow header inclusion.
27154 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27156         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27158 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27160         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27161         Return immediately after lll_futex_wake.
27163 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27165         [BZ #16791]
27166         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27167         structure.
27168         (datahead_init_pos): Call datahead_init_common early.
27169         (datahead_init_neg): Likewise.
27171         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27172         datahead_init_neg): New functions.
27173         * nscd/aicache.c (addhstaiX): Use them.
27174         * nscd/grpcache.c (cache_addgr): Likewise.
27175         * nscd/hstcache.c (cache_addhst): Likewise.
27176         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27177         * nscd/netgroupcache.c (do_notfound): Likewise.
27178         (addgetnetgrentX): Likewise.
27179         (addinnetgrX): Likewise.
27180         * nscd/pwdcache.c (cache_addpw): Likewise.
27181         * nscd/servicescache.c (cache_addserv): Likewise.
27183 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27184             Atsushi Onoe  <atsushi@onoe.org>
27186         [BZ #14308]
27187         [BZ #12994]
27188         [BZ #13651]
27189         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27190         one response is valid.
27191         * resolv/res_send.c (send_dg): Check for validity of other
27192         response if the current response is a referral.
27194 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27196         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27198 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27200         [BZ #16823]
27201         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27202         Always divide by positive zero when computing -Inf result.
27203         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27204         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27206 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27208         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27209         FPSCR if value do not change.
27210         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27211         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27212         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27213         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27214         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27215         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27216         function.
27218 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27220         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27221         * sysdeps/unix/sysv/linux/hppa: Move directory from
27222         ports/systeps/unix/sysv/linux/hppa.
27223         * README: Update listing for hppa-*-linux-gnu.
27225 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27227         [BZ #16754]
27228         * manual/stdio.texi (Hook functions): Fix types of stream hook
27229         functions.
27230         [BZ #16854]
27231         * socket/sys/socket.h: Fix typo in comment.
27233 2014-04-28  Wilco  <wdijkstr@arm.com>
27235         * sysdeps/arm/fenv_private.h: New file.
27236         * sysdeps/arm/math_private.h: New file.
27237         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27239 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27241         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27242         with __int128_t.
27243         (La_x86_64_retval): Likewise.
27245 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27247         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27248         fpsr if value didn't change.
27249         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27250         to fpcr if value didn't change.
27251         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27252         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27253         fpsr or fpcr if value didn't change.
27254         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27255         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27256         fpcr if value didn't change.
27257         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27258         to fpsr if value didn't change.
27260 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27262         * nptl/tst-sem3.c: Use test-skeleton.c
27263         (main): Rename to do_test.  Use return instead of
27264         exit.
27265         * nptl/tst-sem4.c: Use test-skeleton.c
27266         (main): Rename to do_test.
27268 2014-04-22  David S. Miller  <davem@davemloft.net>
27270         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27271         (struct sigaction): New struct member __glibc_reserved0, change
27272         type of sa_flags to int.
27274 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27276         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27277         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27279 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27281         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27282         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27284 2014-04-22  Will Newton  <will.newton@linaro.org>
27285             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27287         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27288         (__longjmp): Add longjmp and longjmp_target SystemTap
27289         probes.
27290         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27291         (__sigsetjmp): Add setjmp SystemTap probe.
27293 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27295         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27296         match manual order.
27298 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27300         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27302         * sysdeps/powerpc/fpu/fenv_private.h
27303         (libc_feholdexcept_setroundl_ctx): Define to
27304         libc_feholdexcept_setround_ppc_ctx.
27305         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27306         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27307         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27308         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27310 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27312         * sysdeps/aarch64/math-tests.h: New file.
27314 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27316         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27317         New.
27318         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27319         Check and set bit_AVX2_Usable.
27320         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27321         macro.
27322         (bit_AVX2): Likewise.
27323         (index_AVX2_Usable): Likewise.
27324         (CPUID_AVX2): Likewise.
27325         (HAS_AVX2): Likewise.
27327 2014-04-17  Will Newton  <will.newton@linaro.org>
27329         * manual/setjmp.texi (System V contexts): Add note that
27330         calling setcontext on a context created by a call to a
27331         signal handler is undefined.  Update text to note that
27332         setcontext from a signal handler is possible but not
27333         recommended.
27335         [BZ #16629]
27336         * stdlib/tst-setcontext.c: Include signal.h.
27337         (main): Check that the signal stack before and
27338         after swapcontext is the same.
27340         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27341         Re-implement to restore registers in user code and avoid
27342         rt_sigreturn system call.
27344 2014-04-17  Wilco  <wdijkstr@arm.com>
27346         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27347         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27348         * math/test-fenv.c: Skip exception trap tests on targets which only
27349         support non-stop mode.
27351 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27352             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27354         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27355         (libc_feholdsetround_aarch64_ctx)
27356         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27357         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27358         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27359         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27360         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27361         (libc_feresetround_noexl_ctx): Define.
27363 2014-04-16  Richard Henderson  <rth@redhat.com>
27365         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27367         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27368         unwind tables.
27370         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27371         const from the non-libc, non-ldso copy.
27373         * sysdeps/alpha/libm-test-ulps: Regenerate.
27375 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27376             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27378         * sysdeps/aarch64/fpu/math_private.h: New file.
27380 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27382         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27384 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27386         [BZ #16275]
27387         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27388         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27389         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27390         Intel MPX bound registers before _dl_profile_fixup.
27391         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27392         registers after _dl_profile_fixup.  Save and restore bound
27393         registers bnd0/bnd1 when calling _dl_call_pltexit.
27394         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27395         (LR_BND_OFFSET): Likewise.
27396         (LRV_BND0_OFFSET): Likewise.
27397         (LRV_BND1_OFFSET): Likewise.
27399 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27401         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27402         to...
27403         * sysdeps/mach/hurd/i386/tls.h: ... here.
27404         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27405         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27406         fields.
27408 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27410         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27412 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27414         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27416 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27418         [BZ #14770]
27419         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27420         * sysdeps/s390/configure: Regenerate.
27422         [BZ #16824]
27423         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27424         Set round-to-nearest internally to reduce error accumulation.
27426 2014-04-16  Alan Modra  <amodra@gmail.com>
27428         [BZ #16740]
27429         [BZ #16619]
27430         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27431         * math/libm-test.inc (frexp_test_data): Add tests.
27432         * NEWS: Update fixed bug list.
27434 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27436         * benchtests/Makefile: Depend on libraries in build directory.
27437         (bench-math): Separate out math tests.
27438         (bench-pthread): Separate out pthread tests.
27439         (bench): Include math and pthread tests.
27441 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27443         [BZ #16831]
27444         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27445         _dl_debug_initialize.
27447         * configure.ac: Remove SELinux header check.
27448         * configure: Regenerate.
27449         * nscd/selinux.c (perms): Array of const char* to permission names.
27450         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27451         default policy. Call string_to_security_class and string_to_av_perm to
27452         translate strings. Enforce default policy and call avs_has_perm with
27453         results of translated strings.
27455 2014-04-13  David S. Miller  <davem@davemloft.net>
27457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27459 2014-04-12  Allan McRae  <allan@archlinux.org>
27461         [BZ #16838]
27462         * manual/string.texi (Collation Functions): Fix qsort argument
27463         order in example.
27464         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27466 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27468         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27469         Make the test a no-op if there are no exceptions defined.
27471 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27473         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27474         enable-hardcoded-path-in-tests
27476 2014-04-11  Will Newton  <will.newton@linaro.org>
27478         * benchtests/Makefile (extra-objs): Add json-lib.o.
27479         (bench-func): Tidy up JSON output.
27480         * benchtests/bench-skeleton.c: Include json-lib.h.
27481         (main): Use JSON library functions to do output of
27482         benchmark results.
27483         * benchtests/bench-timing-type.c (main): Output the
27484         timing type simply, leaving formatting to the user.
27485         * benchtests/json-lib.c: New file.
27486         * benchtests/json-lib.h: Likewise.
27488 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27490         [BZ #15215]
27491         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27492         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27493         memory barriers.  Add comments.
27494         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27495         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27496         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27497         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27498         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27499         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27501 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27503         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27504         * sysdeps/s390/s390-64/configure.ac: ... this ...
27505         * sysdeps/s390/configure.ac: ... to here.
27506         * sysdeps/s390/s390-32/configure: Delete file.
27507         * sysdeps/s390/s390-64/configure: Delete file.
27508         * sysdeps/s390/configure: Regenerate.
27510 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27512         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27514 2014-04-11  Will Newton  <will.newton@linaro.org>
27516         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27517         to zero if it is not defined elsewhere.  (mtrim): Test
27518         the value of MALLOC_DEBUG with #if rather than #ifdef.
27520 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27522         * benchtests/pthread_once-inputs: New file.
27523         * benchtests/pthread_once-source.c: New file.
27524         * benchtests/README: Update documentation.
27526 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27527             H.J. Lu  <hongjiu.lu@intel.com>
27529         [BZ #16275]
27530         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27531         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27532         * sysdeps/x86_64/configure: Regenerated.
27533         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27534         macro.
27535         (REGISTER_SAVE_RAX): Likewise.
27536         (REGISTER_SAVE_RCX): Likewise.
27537         (REGISTER_SAVE_RDX): Likewise.
27538         (REGISTER_SAVE_RSI): Likewise.
27539         (REGISTER_SAVE_RDI): Likewise.
27540         (REGISTER_SAVE_R8): Likewise.
27541         (REGISTER_SAVE_R9): Likewise.
27542         (REGISTER_SAVE_BND0): Likewise.
27543         (REGISTER_SAVE_BND1): Likewise.
27544         (REGISTER_SAVE_BND2): Likewise.
27545         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27546         bound registers when calling _dl_fixup.
27548 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27550         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27551         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27552         of its definition.
27553         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27554         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27555         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27556         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27557         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27558         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27559         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27561 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27563         [BZ #15514]
27564         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27565         pathconf(_PC_NAME_MAX).
27567 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27569         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27570         Remove macro usage.
27571         (__PTHREAD_SPINS): Move definition to ...
27572         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27573         (__PTHREAD_SPINS): ... here.
27574         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27575         (__PTHREAD_SPIN): Likewise.
27576         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27577         (__PTHREAD_SPIN): Likewise.
27578         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27579         (__PTHREAD_SPIN): Likewise.
27580         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27581         (__PTHREAD_SPIN): Likewise.
27582         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27583         (__PTHREAD_SPIN): Likewise.
27584         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27585         (__PTHREAD_SPIN): Likewise.
27586         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27587         (__PTHREAD_SPIN): Likewise.
27588         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27589         (__PTHREAD_SPIN): Likewise.
27590         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27591         (__PTHREAD_SPIN): Likewise.
27592         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27593         (__PTHREAD_SPIN): Likewise.
27594         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27595         (__PTHREAD_SPIN): Likewise.
27596         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27597         (__PTHREAD_SPIN): Likewise.
27599         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27600         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27601         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27602         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27603         imply folder.
27604         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27605         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27606         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27607         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27608         correct imply path.
27609         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27610         strlen symbol for non multi-arch builds.
27611         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27612         missing hidden_def and weak_alias.
27614 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27616         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27618 2014-04-07  Will Newton  <will.newton@linaro.org>
27620         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27621         and contents.  [!_LIBC] Remove #ifndef and contents.
27622         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27623         * string/memccpy.c (__memccpy): Use ANSI prototype.
27624         * string/memfrob.c (memfrob): Likewise.
27625         * string/strcoll.c (STRCOLL): Likewise.
27626         * string/strlen.c (strlen): Likewise.
27627         * string/strtok.c (STRTOK): Likewise.
27628         * string/strcat.c: Remove unused #include of memcopy.h.
27629         (strcat): Use ANSI prototype.
27630         * string/strchr.c: Remove unused #include of memcopy.h.
27631         (strchr): Use ANSI prototype.
27632         * string/strcmp.c: Remove unused #include of memcopy.h.
27633         (strcmp): Use ANSI prototype.
27634         * string/strcpy.c: Remove unused #include of memcopy.h.
27635         (strcpy): Use ANSI prototype.
27637 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27639         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27640         * config.make.in (config-extra-cppflags): Set it from
27641         libc_extra_cppflags.
27642         * configure.ac (libc_extra_cflags): Make it accumulate over
27643         configure fragments.
27644         (libc_extra_cppflags): New flag.
27645         * configure. Regenerate.
27646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27647         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27648         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27651         [BZ #16815]
27652         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27653         result for FE_DOWNWARD rounding mode.
27654         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27655         Likewise.
27656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27658 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27660         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27661         in function argument name.
27663 2014-04-03  David Svoboda  <svoboda@cert.org>
27665         [BZ #5666]
27666         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27667         explicitly.
27669 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27671         * elf/dl-unmap-segments.h: New file.
27672         * sysdeps/generic/ldsodefs.h
27673         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27674         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27675         * elf/dl-fptr.c: Likewise.
27676         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27677         * sysdeps/aarch64/tlsdesc.c: Likewise.
27678         * sysdeps/arm/tlsdesc.c: Likewise.
27679         * sysdeps/i386/tlsdesc.c: Likewise.
27680         * sysdeps/tile/dl-runtime.c: Likewise.
27681         * sysdeps/x86_64/tlsdesc.c: Likewise.
27682         * elf/dl-load.h: New file.
27683         * elf/dl-load.c: Include it.
27684         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27685         Macros moved to dl-load.h.
27686         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27687         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27688         Use _dl_unmap_segments in place of __munmap.
27689         Break out segment-mapping loop into ...
27690         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27692 2014-04-03  Will Newton  <will.newton@linaro.org>
27694         * elf/dl-lookup.c (do_lookup_x): Remove comment
27695         referring to nested function and move variable
27696         declarations down to before first use.
27698 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27700         [BZ #16799]
27701         [BZ #16800]
27702         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27703         with 0 numerator.
27704         * math/s_catanf.c (__catanf): Likewise.
27705         * math/s_catanh.c (__catanh): Likewise.
27706         * math/s_catanhf.c (__catanhf): Likewise.
27707         * math/s_catanhl.c (__catanhl): Likewise.
27708         * math/s_catanl.c (__catanl): Likewise.
27709         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27710         by positive zero when computing -Inf result.
27711         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27712         (catanh_test): Likewise.
27713         * sysdeps/i386/fpu/libm-test-ulps: Update.
27714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27716         [BZ #16789]
27717         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27718         instead of using underflowing value in computing result.
27719         * math/s_clog10.c (__clog10): Likewise.
27720         * math/s_clog10f.c (__clog10f): Likewise.
27721         * math/s_clog10l.c (__clog10l): Likewise.
27722         * math/s_clogf.c (__clogf): Likewise.
27723         * math/s_clogl.c (__clogl): Likewise.
27724         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27725         (clog10_test): Likewise.
27726         * sysdeps/i386/fpu/libm-test-ulps: Update.
27727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27729 2014-04-02  Alan Modra  <amodra@gmail.com>
27731         [BZ #16739]
27732         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27733         output when value is near a power of two.  Use int64_t for lx and
27734         remove casts.  Use decimal rather than hex exponent constants.
27735         Don't use long double multiplication when double will suffice.
27736         * math/libm-test.inc (nextafter_test_data): Add tests.
27737         * NEWS: Add 16739 and 16786 to bug list.
27739         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27741         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27743 2014-04-01  Will Newton  <will.newton@linaro.org>
27745         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27746         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27748 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27750         [BZ #13347]
27751         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27752         * nptl/tst-setuid2.c: New file.
27753         * nptl/Makefile (xtests): Add tst-setuid2.
27755 2014-04-01  Alan Modra  <amodra@gmail.com>
27757         [BZ #16786]
27758         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27760 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27762         [BZ #6803]
27763         [BZ #6804]
27764         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27765         set errno as appropriate.
27766         * math/w_scalbf.c (__scalbf): Likewise.
27767         * math/w_scalbl.c (__scalbl): Likewise.
27768         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27769         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27770         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27771         Add more NaN tests.
27773         [BZ #16349]
27774         * math/w_atan2.c: Include <errno.h>.
27775         (__atan2): Set errno for result underflowing to zero.
27776         * math/w_atan2f.c: Include <errno.h>.
27777         (__atan2f): Set errno for result underflowing to zero.
27778         * math/w_atan2l.c: Include <errno.h>.
27779         (__atan2l): Set errno for result underflowing to zero.
27780         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27781         tests.
27782         * math/auto-libm-test-out: Regenerated.
27784 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27786         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27787         Encode instruction correctly in little endian.
27788         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27789         Likewise.
27790         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27791         Likewise.
27792         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27793         Likewise.
27794         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27795         Likewise.
27797 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27799         [BZ #9894]
27800         * sysdeps/unix/sysv/linux/kernel-features.h
27801         [__sparc__ && !__arch64__ && !__sparc_v9__]
27802         (__ASSUME_SET_ROBUST_LIST): Do not define.
27803         [__sparc__ && !__arch64__ && !__sparc_v9__]
27804         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27805         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27806         Likewise.
27807         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27808         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27809         (__ASSUME_REQUEUE_PI): Likewise.
27810         (__ASSUME_SET_ROBUST_LIST): Likewise.
27811         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27812         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27813         Undefine.
27814         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27815         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27816         Likewise.
27817         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27818         Likewise.
27819         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27820         Likewise.
27821         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27822         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27823         Undefine.
27824         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27825         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27826         Likewise.
27828         [BZ #16648]
27829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27830         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27831         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27833 2014-03-31  Will Newton  <will.newton@linaro.org>
27835         * benchtests/Makefile (bench): Add ffs and ffsll to list
27836         of tests.
27837         * benchtests/ffs-inputs: New file.
27838         * benchtests/ffsll-inputs: Likewise.
27840 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27842         [BZ #16770]
27843         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27844         too large before casting to int.
27845         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27846         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27847         * math/libm-test.inc (scalb_test_data): Add more tests.
27849 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27851         * benchtests/Makefile (DETAILED_OPT): New make option.
27852         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27853         set.
27854         * benchtests/bench-skeleton.c: Include stdbool.h.
27855         (main): Store and print timings per input.
27856         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27857         member to each argument value.
27858         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27859         (_print_arg_data): Initialize per-input timing to 0.
27861         * benchtests/Makefile (timing-type): New binary.
27862         (bench-clean): Also remove bench-timing-type.
27863         (bench): New target for timing-type.
27864         (bench-func): Print output in JSON format.
27865         * benchtests/bench-skeleton.c (main): Print output in JSON
27866         format.
27867         * benchtests/bench-timing-type.c: New file.
27868         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27869         (TIMING_PRINT_STATS): Remove.
27870         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27871         name separately.
27873         * benchtests/bench-modf.c: Remove.
27874         * benchtests/modf-inputs: New inputs file.
27876 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27878         [BZ #16362]
27879         * math/s_clog10.c (M_PI_LOG10E): New macro.
27880         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
27881         imaginary parts are 0.
27882         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
27883         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
27884         imaginary parts are 0.
27885         * math/s_clog10l.c (M_PI_LOG10El): New macro.
27886         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
27887         imaginary parts are 0.
27888         * math/libm-test.inc (clog10_test_data): Update expected results
27889         for when real and imaginary parts are 0.
27891 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
27893         * elf/dl-load.c: Finish conversion of __builtin_expect into
27894         __glibc_{un}likely.
27896 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
27898         [BZ #16348]
27899         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
27900         1+x for argument with exponent below -67.
27901         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
27902         Likewise.
27903         * math/auto-libm-test-in: Add more tests of exp.
27904         * math/auto-libm-test-out: Regenerated.
27906 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27908         [BZ #16759]
27909         * inet/getnetgrent_r.c (get_nonempty_val): New function.
27910         (nscd_getnetgrent): Use it.
27912         [BZ #16760]
27913         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
27914         of stpcpy.
27916 2014-03-27  Andi Kleen  <ak@linux.intel.com>
27918         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
27919         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27920         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27921         (lll_robust_unlock): Remove out of line section. Use cfi
27922         intrinsics.
27923         (LLL_STUB_UNWIND_INFO*): Remove.
27924         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
27925         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27926         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27927         (lll_robust_unlock): Remove out of line section. Use cfi
27928         intrinsics.
27929         (LLL_STUB_UNWIND_INFO*): Remove.
27931 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27933         [BZ #16758]
27934         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
27935         blank values.
27937 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27939         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
27941 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
27943         [BZ #16198]
27944         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
27945         fnstenv.
27946         * math/test-fenv-preserve.c: New file.
27947         * math/Makefile (tests): Add test-fenv-preserve.
27949 2014-03-26  Will Newton <will.newton@linaro.org>
27951         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
27953 2014-03-25  Roland McGrath  <roland@hack.frob.com>
27955         * scripts/versionlist.awk: Partition the version sets and emit all
27956         GLIBC_* (sorted) before all others (sorted).
27958 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27960         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
27961         GLIBC_2.2.5 version.
27963 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27965         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
27966         calls.
27968         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
27969         previous change.
27971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27973 2014-03-25  Andreas Schwab  <schwab@suse.de>
27975         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
27976         label to be used after in6ailist is initialized.
27978 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27980         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27981         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27983 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27985         [BZ #16357]
27986         [BZ #16599]
27987         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
27988         min_plus_half.
27989         (fp_formats): Update initializers.
27990         (init_fp_formats): Initialize new field.
27991         (output_for_one_input_case): Allow underflow for results up to
27992         min_plus_half.
27993         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
27994         * math/auto-libm-test-in: Don't mark some underflows from asin and
27995         atanh as spurious.
27996         * math/auto-libm-test-out: Regenerated.
27997         * sysdeps/i386/fpu/libm-test-ulps: Update.
27998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28000 2014-03-25  Andreas Schwab  <schwab@suse.de>
28002         * libio/Makefile (tst-ftell-partial-wide-ENV)
28003         (tst-ftell-active-handler-ENV): Define.
28005 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28007         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28009 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28011         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28013 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28015         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28016         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28017         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28019 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28021         [BZ #16634]
28022         * elf/dl-load.c (open_verify): Add mode parameter.
28023         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28024         (open_path): Change from boolean 'secure' to complete flag 'mode'
28025         (_dl_map_object): Adjust.
28026         * elf/Makefile (tests): Add tst-dlopen-aout.
28027         * elf/tst-dlopen-aout.c: New test.
28029 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28031         [BZ #16714]
28032         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28033         (struct stat): Rename member pad0 to __glibc_reserved0.
28035         [BZ #16712]
28036         * sysdeps/s390/s390-32/bits/wordsize.h
28037         (__WORDSIZE32_SIZE_ULONG): New define.
28038         * sysdeps/s390/s390-64/bits/wordsize.h
28039         (__WORDSIZE32_SIZE_ULONG): Likewise.
28040         * sysdeps/generic/stdint.h (SIZE_MAX):
28041         Define as UL if __WORDSIZE32_SIZE_ULONG.
28043         [BZ #16713]
28044         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28045         (__glibc_reserved0): New variable.
28046         (sa_flags): Change type to int.
28048         * posix/Makefile (before-compile): Use += before-compile instead
28049         of a :=.
28051         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28052         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28054 2014-03-20  Andreas Schwab  <schwab@suse.de>
28056         [BZ #16743]
28057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28058         non-matching result from nscd.
28060 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28062         * scripts/bench.py: Moved to ...
28063         * benchtests/scripts/bench.py: ... here.
28064         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28066 2014-03-24  Andreas Schwab  <schwab@suse.de>
28068         [BZ #16002]
28069         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28070         alloca_account and account alloca use for struct in6ailist.
28072 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28074         [BZ #16284]
28075         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28076         rounding mode to recompute results that overflow to infinity or
28077         underflow to zero.
28078         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28079         bug 16284.
28080         * math/auto-libm-test-out: Regenerated.
28081         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28082         (ccosh_test): Likewise.
28083         (csin_test_data): Use plus_oflow.
28084         (csin_test): Use ALL_RM_TEST.
28085         (csinh_test_data): Use plus_oflow.
28086         (csinh_test): Use ALL_RM_TEST.
28087         * sysdeps/i386/fpu/libm-test-ulps: Update.
28088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28090 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28092         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28093         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28094         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28096         [BZ #16731]
28097         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28098         when x - 1 is zero.
28099         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28100         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28101         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28102         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28103         argument is 1.
28104         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28105         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28106         zero.
28107         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28108         * sysdeps/i386/fpu/libm-test-ulps: Update.
28109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28111 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28113         * scripts/bench.pl: Remove file.
28114         * scripts/bench.py: New benchmark script.
28115         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28116         * benchtests/README: Mention python dependency.
28117         * scripts/pylintrc: New file.
28118         * scripts/pylint: New file.
28120         * bits/mathdef.h: Use #ifdef instead of #if.
28121         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28122         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28123         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28124         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28125         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28126         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28128 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28129             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28131         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28133         and strpbrk-ppc64 objects.
28134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28135         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28136         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28137         multiarch strpbrk for POWER7.
28138         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28139         multiarch strpbrk for PPC64.
28140         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28141         ifunc selector.
28142         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28143         strpbrk for POWER7.
28145 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28147         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28148         (atan_test): Likewise.
28149         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28150         (atanh_test): Use ALL_RM_TEST.
28151         (atan2_test_data): Likewise.
28152         (cabs_test): Likewise.
28153         (cacosh_test): Likewise.
28154         (carg_test): Likewise.
28155         (casin_test): Likewise.
28156         (casinh_test): Likewise.
28157         (cbrt_test): Likewise.
28158         (csqrt_test): Likewise.
28159         (erf_test): Likewise.
28160         (erfc_test): Likewise.
28161         (pow10_test): Likewise.
28162         (exp2_test): Likewise.
28163         (hypot_test): Likewise.
28164         (j0_test): Likewise.
28165         (j1_test): Likewise.
28166         (lgamma_test): Likewise.
28167         (gamma_test): Likewise.
28168         (sincos_test): Likewise.
28169         (tanh_test): Likewise.
28170         (y0_test): Likewise.
28171         (y1_test): Likewise.
28172         * sysdeps/i386/fpu/libm-test-ulps: Update.
28173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28175 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28177         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28179         and strcspn-ppc64 objects.
28180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28181         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28182         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28183         multiarch strcspn for POWER7.
28184         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28185         multiarch strcspn for PPC64.
28186         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28187         ifunc selector.
28188         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28189         strcspn for POWER7.
28191 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28193         * math/gen-libm-test.pl (generate_testfile): Expect only function
28194         name as argument to AUTO_TESTS_* and pass results for all rounding
28195         modes to parse_args.
28196         (parse_auto_input): Separate inputs of automatic tests from
28197         outputs before storing in %auto_tests.
28198         * math/libm-test.inc (acos_test_data): Update call to
28199         AUTO_TESTS_f_f.
28200         (acos_test): Use ALL_RM_TEST.
28201         (acos_tonearest_test_data): Remove.
28202         (acos_test_tonearest): Likewise.
28203         (acos_towardzero_test_data): Likewise.
28204         (acos_test_towardzero): Likewise.
28205         (acos_downward_test_data): Likewise.
28206         (acos_test_downward): Likewise.
28207         (acos_upward_test_data): Likewise.
28208         (acos_test_upward): Likewise.
28209         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28210         (asin_test_data): Likewise.
28211         (asin_test): Use ALL_RM_TEST.
28212         (asin_tonearest_test_data): Remove.
28213         (asin_test_tonearest): Likewise.
28214         (asin_towardzero_test_data): Likewise.
28215         (asin_test_towardzero): Likewise.
28216         (asin_downward_test_data): Likewise.
28217         (asin_test_downward): Likewise.
28218         (asin_upward_test_data): Likewise.
28219         (asin_test_upward): Likewise.
28220         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28221         (atan_test_data): Likewise.
28222         (atanh_test_data): Likewise.
28223         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28224         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28225         (carg_test_data): Likewise.
28226         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28227         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28228         (ccosh_test_data): Likewise.
28229         (cexp_test_data): Likewise.
28230         (clog_test_data): Likewise.
28231         (clog10_test_data): Likewise.
28232         (cos_test_data): Update call to AUTO_TESTS_f_f.
28233         (cos_test): Use ALL_RM_TEST.
28234         (cos_tonearest_test_data): Remove.
28235         (cos_test_tonearest): Likewise.
28236         (cos_towardzero_test_data): Likewise.
28237         (cos_test_towardzero): Likewise.
28238         (cos_downward_test_data): Likewise.
28239         (cos_test_downward): Likewise.
28240         (cos_upward_test_data): Likewise.
28241         (cos_test_upward): Likewise.
28242         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28243         (cosh_test): Use ALL_RM_TEST.
28244         (cosh_tonearest_test_data): Remove.
28245         (cosh_test_tonearest): Likewise.
28246         (cosh_towardzero_test_data): Likewise.
28247         (cosh_test_towardzero): Likewise.
28248         (cosh_downward_test_data): Likewise.
28249         (cosh_test_downward): Likewise.
28250         (cosh_upward_test_data): Likewise.
28251         (cosh_test_upward): Likewise.
28252         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28253         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28254         (ctan_test_data): Likewise.
28255         (ctan_test): Use ALL_RM_TEST.
28256         (ctan_tonearest_test_data): Remove.
28257         (ctan_test_tonearest): Likewise.
28258         (ctan_towardzero_test_data): Likewise.
28259         (ctan_test_towardzero): Likewise.
28260         (ctan_downward_test_data): Likewise.
28261         (ctan_test_downward): Likewise.
28262         (ctan_upward_test_data): Likewise.
28263         (ctan_test_upward): Likewise.
28264         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28265         (ctanh_test): Use ALL_RM_TEST.
28266         (ctanh_tonearest_test_data): Remove.
28267         (ctanh_test_tonearest): Likewise.
28268         (ctanh_towardzero_test_data): Likewise.
28269         (ctanh_test_towardzero): Likewise.
28270         (ctanh_downward_test_data): Likewise.
28271         (ctanh_test_downward): Likewise.
28272         (ctanh_upward_test_data): Likewise.
28273         (ctanh_test_upward): Likewise.
28274         (erf_test_data): Update call to AUTO_TESTS_f_f.
28275         (erfc_test_data): Likewise.
28276         (exp_test_data): Likewise.
28277         (exp_test): Use ALL_RM_TEST.
28278         (exp_tonearest_test_data): Remove.
28279         (exp_test_tonearest): Likewise.
28280         (exp_towardzero_test_data): Likewise.
28281         (exp_test_towardzero): Likewise.
28282         (exp_downward_test_data): Likewise.
28283         (exp_test_downward): Likewise.
28284         (exp_upward_test_data): Likewise.
28285         (exp_test_upward): Likewise.
28286         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28287         (exp10_test): Use ALL_RM_TEST.
28288         (exp10_tonearest_test_data): Remove.
28289         (exp10_test_tonearest): Likewise.
28290         (exp10_towardzero_test_data): Likewise.
28291         (exp10_test_towardzero): Likewise.
28292         (exp10_downward_test_data): Likewise.
28293         (exp10_test_downward): Likewise.
28294         (exp10_upward_test_data): Likewise.
28295         (exp10_test_upward): Likewise.
28296         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28297         (expm1_test_data): Likewise.
28298         (expm1_test): Use ALL_RM_TEST.
28299         (expm1_tonearest_test_data): Remove.
28300         (expm1_test_tonearest): Likewise.
28301         (expm1_towardzero_test_data): Likewise.
28302         (expm1_test_towardzero): Likewise.
28303         (expm1_downward_test_data): Likewise.
28304         (expm1_test_downward): Likewise.
28305         (expm1_upward_test_data): Likewise.
28306         (expm1_test_upward): Likewise.
28307         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28308         (fma_test): Use ALL_RM_TEST.
28309         (fma_towardzero_test_data): Remove.
28310         (fma_test_towardzero): Likewise.
28311         (fma_downward_test_data): Likewise.
28312         (fma_test_downward): Likewise.
28313         (fma_upward_test_data): Likewise.
28314         (fma_test_upward): Likewise.
28315         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28316         (j0_test_data): Update call to AUTO_TESTS_f_f.
28317         (j1_test_data): Likewise.
28318         (jn_test_data): Update call to AUTO_TESTS_if_f.
28319         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28320         (log_test_data): Update call to AUTO_TESTS_f_f.
28321         (log10_test_data): Likewise.
28322         (log1p_test_data): Likewise.
28323         (log2_test_data): Likewise.
28324         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28325         (pow_tonearest_test_data): Likewise.
28326         (sin_test_data): Update call to AUTO_TESTS_f_f.
28327         (sin_test): Use ALL_RM_TEST.
28328         (sin_tonearest_test_data): Remove.
28329         (sin_test_tonearest): Likewise.
28330         (sin_towardzero_test_data): Likewise.
28331         (sin_test_towardzero): Likewise.
28332         (sin_downward_test_data): Likewise.
28333         (sin_test_downward): Likewise.
28334         (sin_upward_test_data): Likewise.
28335         (sin_test_upward): Likewise.
28336         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28337         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28338         (sinh_test): Use ALL_RM_TEST.
28339         (sinh_tonearest_test_data): Remove.
28340         (sinh_test_tonearest): Likewise.
28341         (sinh_towardzero_test_data): Likewise.
28342         (sinh_test_towardzero): Likewise.
28343         (sinh_downward_test_data): Likewise.
28344         (sinh_test_downward): Likewise.
28345         (sinh_upward_test_data): Likewise.
28346         (sinh_test_upward): Likewise.
28347         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28348         (sqrt_test): Use ALL_RM_TEST.
28349         (sqrt_tonearest_test_data): Remove.
28350         (sqrt_test_tonearest): Likewise.
28351         (sqrt_towardzero_test_data): Likewise.
28352         (sqrt_test_towardzero): Likewise.
28353         (sqrt_downward_test_data): Likewise.
28354         (sqrt_test_downward): Likewise.
28355         (sqrt_upward_test_data): Likewise.
28356         (sqrt_test_upward): Likewise.
28357         (tan_test_data): Update call to AUTO_TESTS_f_f.
28358         (tan_test): Use ALL_RM_TEST.
28359         (tan_tonearest_test_data): Remove.
28360         (tan_test_tonearest): Likewise.
28361         (tan_towardzero_test_data): Likewise.
28362         (tan_test_towardzero): Likewise.
28363         (tan_downward_test_data): Likewise.
28364         (tan_test_downward): Likewise.
28365         (tan_upward_test_data): Likewise.
28366         (tan_test_upward): Likewise.
28367         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28368         (tgamma_test_data): Likewise.
28369         (y0_test_data): Likewise.
28370         (y1_test_data): Likewise.
28371         (yn_test_data): Update call to AUTO_TESTS_if_f.
28372         (main): Do not call removed functions.
28374 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28376         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28377         (ldexp_test_data): Remove.
28378         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28379         scalbn_test_data.
28380         (scalb_test): Use ALL_RM_TEST.
28382 2014-03-19  Andreas Schwab  <schwab@suse.de>
28384         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28386 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28388         [BZ #16649]
28389         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28390         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28391         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28392         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28393         (__ASSUME_PREADV): Undefine.
28394         (__ASSUME_PWRITEV): Likewise.
28396 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28398         * bits/mman-linux.h: Add comment about non-Linux use.
28399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28400         bits/mman-linux.h resting place.
28402         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28403         * bits/mman-linux.h: ... here.
28405 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28407         * conform/conformtest.pl: Add standard definition when calling C
28408         preprocessor on data files.
28409         (checknamespace): Remove unused variable.
28411 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28413         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28414         minus_oflow, plus_uflow and minus_uflow in expected results.
28415         * math/libm-test.inc (scalbn_test_data): Add more tests of
28416         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28417         minus_uflow.
28418         (scalbn_test): Use ALL_RM_TEST.
28419         (scalbln_test_data): Add more tests of negative arguments.  Use
28420         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28421         (scalbln_test): Use ALL_RM_TEST.
28423 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28425         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28427 2014-03-18  Will Newton  <will.newton@linaro.org>
28429         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28430         inaccurate comment.
28432 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28434         * Makerules [!subdir] (check-abi): Exit with error status if a
28435         test failed.
28437 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28439         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28440         for rint.  Include results for all rounding modes.
28441         (nearbyint_test): Use ALL_RM_TEST.
28442         (rint_test_data): Include all tests used for nearbyint.
28444 2014-03-17  Will Newton  <will.newton@linaro.org>
28446         * nptl/sysdeps/pthread/pthread.h: Revert previous
28447         change.
28449         * sysdeps/generic/ldsodefs.h: Revert previous
28450         change.
28452         * libio/genops.c: Revert previous change.
28453         * libio/libioP.h: Likewise.
28454         * stdio-common/vfprintf.c: Likewise.
28456         * sysdeps/generic/math_private.h: Revert previous
28457         change.
28459         * sysdeps/generic/math_private.h: Check whether
28460         HAVE_RM_CTX is defined with #ifdef rather
28461         than #if.
28463         * argp/argp-fmtstream.h: Check whether
28464         __STRICT_ANSI__ is defined with #ifdef rather
28465         than #if.
28466         * argp/argp.h: Likewise.
28468         * libio/genops.c: Check whether
28469         _IO_JUMPS_OFFSET is defined with #ifdef rather
28470         than #if.
28471         * libio/libioP.h: Likewise.
28472         * stdio-common/vfprintf.c: Likewise.
28474         * sysdeps/generic/ldsodefs.h: Check whether
28475         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28476         than #if.
28478         * nptl/sysdeps/pthread/pthread.h: Check
28479         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28480         its value.
28482 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28484         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28485         setting O_APPEND.
28486         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28487         test case.
28489         [BZ #16680]
28490         * libio/fileops.c (_IO_file_open): Seek to end of file but
28491         don't cache the offset.
28492         (get_file_offset): Remove function.
28493         (do_ftell): Use cached offset when available.
28494         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28495         don't cache the offset.
28496         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28497         case.
28498         (do_one_test): Call it.
28499         (do_ftell_test): Fix up expected old offset for a+ mode.
28500         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28501         available.
28503         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28504         up test status with function return status.
28505         (do_write_test): Likewise.
28506         (do_append_test): Likewise.
28508         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28509         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28510         Remove.
28512 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28514         * math/gen-libm-test.pl (parse_args): Handle results specified for
28515         each rounding mode separately.
28516         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28517         tests and results from lrint_tonearest_test_data,
28518         lrint_towardzero_test_data, lrint_downward_test_data and
28519         lrint_upward_test_data.
28520         (lrint_test): Use ALL_RM_TEST.
28521         (lrint_tonearest_test_data): Remove.
28522         (lrint_test_tonearest): Likewise.
28523         (lrint_towardzero_test_data): Likewise.
28524         (lrint_test_towardzero): Likewise.
28525         (lrint_downward_test_data): Likewise.
28526         (lrint_test_downward): Likewise.
28527         (lrint_upward_test_data): Likewise.
28528         (lrint_test_upward): Likewise.
28529         (llrint_test_data): Merge in per-rounding-mode tests and results
28530         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28531         llrint_downward_test_data and llrint_upward_test_data.
28532         (llrint_test): Use ALL_RM_TEST.
28533         (llrint_tonearest_test_data): Remove.
28534         (llrint_test_tonearest): Likewise.
28535         (llrint_towardzero_test_data): Likewise.
28536         (llrint_test_towardzero): Likewise.
28537         (llrint_downward_test_data): Likewise.
28538         (llrint_test_downward): Likewise.
28539         (llrint_upward_test_data): Likewise.
28540         (llrint_test_upward): Likewise.
28541         (rint_test_data): Merge in per-rounding-mode tests and results
28542         from rint_tonearest_test_data, rint_towardzero_test_data,
28543         rint_downward_test_data and rint_upward_test_data.  Add
28544         per-rounding-mode results for tests not in those arrays.
28545         (rint_test): Use ALL_RM_TEST.
28546         (rint_tonearest_test_data): Remove.
28547         (rint_test_tonearest): Likewise.
28548         (rint_towardzero_test_data): Likewise.
28549         (rint_test_towardzero): Likewise.
28550         (rint_downward_test_data): Likewise.
28551         (rint_test_downward): Likewise.
28552         (rint_upward_test_data): Likewise.
28553         (rint_test_upward): Likewise.
28554         (main): Don't call removed functions.
28556 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28558         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28559         "Compiled on ..." crapola.  It is anti-useful.
28561 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28563         * scripts/evaluate-test.sh: Handle fourth argument to determine
28564         whether test run should stop on failure.
28565         * Makeconfig (stop-on-test-failure): New variable.
28566         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28567         $(stop-on-test-failure).
28568         * Makefile (tests): Give a summary of results from testing and
28569         exit with failure status if they include an ERROR or FAIL.
28570         (xtests): Likewise.
28571         * manual/install.texi (Configuring and compiling): Mention
28572         stop-on-test-failure=y.
28573         * INSTALL: Regenerated.
28575 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28577         * scripts/versionlist.awk: New file.
28578         * Makerules [$(build-shared) = yes]
28579         (postclean-generated): Add Versions.def, not Versions.def.v and
28580         Versions.def.v.i.
28581         ($(common-objpfx)Versions.def.v.i): Target removed.
28582         ($(common-objpfx)Versions.def): New target.
28583         ($(common-objpfx)Versions.all): Depend on that rather that
28584         $(common-objpfx)Versions.def.v.
28585         * Versions.def: File removed.
28587         * Makeconfig (+gccwarn): Add -Wundef.
28588         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28589         a dl-sysdep.h breaking its contract.
28590         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28591         * include/stackinfo.h: New file.
28592         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28593         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28594         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28595         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28596         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28597         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28598         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28599         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28600         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28601         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28602         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28603         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28604         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28605         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28606         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28608 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28610         [BZ #16707]
28611         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28612         implementation.
28613         * math/libm-test.inc (round_test_data): Add more tests.
28615         [BZ #16706]
28616         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28617         implementation.
28618         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28620         [BZ #16701]
28621         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28622         implementation.
28623         * math/libm-test.inc (ceil_test_data): Add more tests.
28625         * math/libm-test.inc (trunc_test_data): Add more tests related to
28626         BZ#16414.
28628 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28630         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28631         with #if rather than #ifdef.
28632         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28634 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28636         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28637         first.  Disable AVX-512 GCC support if assembler doesn't support
28638         it.
28639         * sysdeps/x86_64/configure: Regenerated.
28641 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28643         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28644         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28645         (__old_pthread_attr_setstack): Likewise.
28646         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28647         [!_STACK_GROWS_DOWN]: Likewise.
28649 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28651         * config.make.in (have-bash2): Delete.
28652         * configure.ac (libc_cv_have_bash2): Delete.
28653         * configure: Regenerate.
28654         * elf/Makefile (common-ldd-rewrite): Rename to ...
28655         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28656         (sh-ldd-rewrite): Delete.
28657         (bash-ldd-rewrite): Delete.
28658         (have-bash2): Delete checks.
28659         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28660         ldd-rewrite.
28662         * config.make.in (have-ksh): Delete.
28663         (KSH): Delete.
28664         * configure.ac (libc_cv_have_ksh): Delete.
28665         * configure: Regenerate.
28667         * elf/Makefile: Delete $(have-ksh) check.
28668         ($(objpfx)sotruss): Change KSH to BASH.
28669         * elf/sotruss.ksh: Rename to ...
28670         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28671         function style to match POSIX.  Drop ksh vim mode setting.
28673         * manual/time.texi (Specifying the Time Zone with TZ): Change
28674         Tuesday to Thursday.
28676         * debug/tst-longjmp_chk2.c: Update header comment.
28677         (stackoverflow_handler): Add comment.  Call assert on pass value.
28679 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28681         [BZ #16194]
28682         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28683         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28684         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28685         (La_x86_64_vector): Add zmm.
28686         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28687         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28688         ($(objpfx)tst-audit10): New target.
28689         ($(objpfx)tst-audit10.out): Likewise.
28690         (tst-audit10-ENV): New.
28691         (AVX512-CFLAGS): Likewise.
28692         (CFLAGS-tst-audit10.c): Likewise.
28693         (CFLAGS-tst-auditmod10a.c): Likewise.
28694         (CFLAGS-tst-auditmod10b.c): Likewise.
28695         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28696         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28697         * sysdeps/x86_64/configure: Regenerated.
28698         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28699         AVX-512 zmm register support.
28700         (_dl_x86_64_save_sse): Likewise.
28701         (_dl_x86_64_restore_sse): Likewise.
28702         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28703         size vector registers.
28704         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28705         (ZMM_SIZE): Likewise.
28706         * sysdeps/x86_64/tst-audit10.c: New file.
28707         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28708         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28710 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28712         * configure.ac (HAVE_EHDR_START): New check.
28713         * configure: Regenerated.
28714         * config.h.in (HAVE_EHDR_START): New #undef.
28715         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28716         assuming the lowest-addressed segment maps the start of the file.
28718 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28720         * INSTALL: Regenerated.
28722 2014-03-13  Will Newton  <will.newton@linaro.org>
28724         * manual/setjmp.texi (System V contexts): Improve
28725         clarity and grammar of documentation.
28727 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28729         [BZ #16381]
28730         * elf/Makefile (tests): Add tst-pie2.
28731         (tests-pie): Add tst-pie2.
28732         * elf/tst-pie2.c: New file.
28733         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28734         for ET_EXEC.
28735         * elf/rtld.c (map_doit): Load executable as lt_executable.
28736         (dl_main): Likewise.
28738 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28740         [BZ #16642]
28741         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28742         (__ASSUME_PSELECT): Undefine.
28744 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28746         [BZ #16689]
28747         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28748         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28749         static build.
28750         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28751         selector for static builds.
28753 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28755         [BZ #16695]
28756         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28757         key in the buffer.
28759 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28761         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28762         IFUNC selector for static builds.
28764 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28766         * sysdeps/mips/math_private.h [__mips_hard_float]
28767         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28768         libc_feresetround_mips_ctx.
28769         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28770         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28771         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28773         [BZ #16677]
28774         * math/s_nextafter.c (__nextafter): Do not return value from
28775         overflowing computation.
28776         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28777         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28778         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28779         Likewise.
28780         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28781         Likewise.
28782         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28783         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28785 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28787         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28788         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28789         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28790         the new mov targetting sp.
28792 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28794         [BZ #16683]
28795         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28796         Define it for static builds as well.
28797         (NO_BZERO_IMPL): Likewise.
28799 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28801         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28802         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28803         multiarch strspn for PPC64.
28804         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28805         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28807         (__libc_ifunc_impl_list): Likewise.
28808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28809         multiarch optimizations
28810         * string/strspn.c (strspn): Using macro to redefine symbol name.
28812 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28813             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28815         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28816         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28817         multiarch strncat for PPC64.
28818         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28819         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28821         (__libc_ifunc_impl_list): Likewise.
28822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28823         multiarch optimizations
28825 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28827         [BZ #16639]
28828         * nscd/nscd.service: Make service type forking.
28830 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28832         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28833         sign in non default rounding modes.
28834         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28836 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28838         * math/libm-test.inc (ALL_RM_TEST): New macro.
28839         (ceil_test): Use ALL_RM_TEST.
28840         (cimag_test): Likewise.
28841         (conj_test): Likewise.
28842         (copysign_test): Likewise.
28843         (cproj_test): Likewise.
28844         (creal_test): Likewise.
28845         (fabs_test): Likewise.
28846         (floor_test): Likewise.
28847         (fmax_test): Likewise.
28848         (fmin_test): Likewise.
28849         (fmod_test): Likewise.
28850         (fpclassify_test): Likewise.
28851         (frexp_test): Likewise.
28852         (ilogb_test): Likewise.
28853         (isfinite_test): Likewise.
28854         (finite_test): Likewise.
28855         (isgreater_test): Likewise.
28856         (isgreaterequal_test): Likewise.
28857         (isinf_test): Likewise.
28858         (isless_test): Likewise.
28859         (islessequal_test): Likewise.
28860         (islessgreater_test): Likewise.
28861         (isnan_test): Likewise.
28862         (isnormal_test): Likewise.
28863         (issignaling_test): Likewise.
28864         (isunordered_test): Likewise.
28865         (logb_test): Likewise.
28866         (logb_downward_test_data): Remove.
28867         (logb_test_downward): Likewise.
28868         (lround_test): Use ALL_RM_TEST.
28869         (llround_test): Likewise.
28870         (modf_test): Likewise.
28871         (nexttoward_test): Likewise.
28872         (remainder_test): Likewise.
28873         (drem_test): Likewise.
28874         (remainder_tonearest_test_data): Likewise.
28875         (remainder_test_tonearest): Likewise.
28876         (drem_test_tonearest): Likewise.
28877         (remainder_towardzero_test_data): Likewise.
28878         (remainder_test_towardzero): Likewise.
28879         (drem_test_towardzero): Likewise.
28880         (remainder_downward_test_data): Likewise.
28881         (remainder_test_downward): Likewise.
28882         (drem_test_downward): Likewise.
28883         (remainder_upward_test_data): Likewise.
28884         (remainder_test_upward): Likewise.
28885         (drem_test_upward): Likewise.
28886         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
28887         (round_test): Use ALL_RM_TEST.
28888         (signbit_test): Likewise.
28889         (trunc_test): Likewise.
28890         (significand_test): Likewise.
28891         (main): Don't call removed functions.
28893 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28895         [BZ #16674]
28896         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
28897         || __USE_XOPEN2K8].
28898         (ILL_ILLOPN): Likewise.
28899         (ILL_ILLADR): Likewise.
28900         (ILL_ILLTRP): Likewise.
28901         (ILL_PRVOPC): Likewise.
28902         (ILL_PRVREG): Likewise.
28903         (ILL_COPROC): Likewise.
28904         (ILL_BADSTK): Likewise.
28905         (FPE_INTDIV): Likewise.
28906         (FPE_INTOVF): Likewise.
28907         (FPE_FLTDIV): Likewise.
28908         (FPE_FLTOVF): Likewise.
28909         (FPE_FLTUND): Likewise.
28910         (FPE_FLTRES): Likewise.
28911         (FPE_FLTINV): Likewise.
28912         (FPE_FLTSUB): Likewise.
28913         (SEGV_MAPERR): Likewise.
28914         (SEGV_ACCERR): Likewise.
28915         (BUS_ADRALN): Likewise.
28916         (BUS_ADRERR): Likewise.
28917         (BUS_OBJERR): Likewise.
28918         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28919         (TRAP_TRACE): Likewise.
28920         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28921         __USE_XOPEN2K8].
28922         (CLD_KILLED): Likewise.
28923         (CLD_DUMPED): Likewise.
28924         (CLD_TRAPPED): Likewise.
28925         (CLD_STOPPED): Likewise.
28926         (CLD_CONTINUED): Likewise.
28927         (POLL_IN): Likewise.
28928         (POLL_OUT): Likewise.
28929         (POLL_MSG): Likewise.
28930         (POLL_ERR): Likewise.
28931         (POLL_PRI): Likewise.
28932         (POLL_HUP): Likewise.
28933         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
28934         Likewise.
28935         (ILL_ILLOPN): Likewise.
28936         (ILL_ILLADR): Likewise.
28937         (ILL_ILLTRP): Likewise.
28938         (ILL_PRVOPC): Likewise.
28939         (ILL_PRVREG): Likewise.
28940         (ILL_COPROC): Likewise.
28941         (ILL_BADSTK): Likewise.
28942         (FPE_INTDIV): Likewise.
28943         (FPE_INTOVF): Likewise.
28944         (FPE_FLTDIV): Likewise.
28945         (FPE_FLTOVF): Likewise.
28946         (FPE_FLTUND): Likewise.
28947         (FPE_FLTRES): Likewise.
28948         (FPE_FLTINV): Likewise.
28949         (FPE_FLTSUB): Likewise.
28950         (SEGV_MAPERR): Likewise.
28951         (SEGV_ACCERR): Likewise.
28952         (BUS_ADRALN): Likewise.
28953         (BUS_ADRERR): Likewise.
28954         (BUS_OBJERR): Likewise.
28955         (BUS_MCEERR_AR): Likewise.
28956         (BUS_MCEERR_AO): Likewise.
28957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28958         (TRAP_TRACE): Likewise.
28959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28960         __USE_XOPEN2K8].
28961         (CLD_KILLED): Likewise.
28962         (CLD_DUMPED): Likewise.
28963         (CLD_TRAPPED): Likewise.
28964         (CLD_STOPPED): Likewise.
28965         (CLD_CONTINUED): Likewise.
28966         (POLL_IN): Likewise.
28967         (POLL_OUT): Likewise.
28968         (POLL_MSG): Likewise.
28969         (POLL_ERR): Likewise.
28970         (POLL_PRI): Likewise.
28971         (POLL_HUP): Likewise.
28972         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
28973         (ILL_ILLOPN): Likewise.
28974         (ILL_ILLADR): Likewise.
28975         (ILL_ILLTRP): Likewise.
28976         (ILL_PRVOPC): Likewise.
28977         (ILL_PRVREG): Likewise.
28978         (ILL_COPROC): Likewise.
28979         (ILL_BADSTK): Likewise.
28980         (FPE_INTDIV): Likewise.
28981         (FPE_INTOVF): Likewise.
28982         (FPE_FLTDIV): Likewise.
28983         (FPE_FLTOVF): Likewise.
28984         (FPE_FLTUND): Likewise.
28985         (FPE_FLTRES): Likewise.
28986         (FPE_FLTINV): Likewise.
28987         (FPE_FLTSUB): Likewise.
28988         (SEGV_MAPERR): Likewise.
28989         (SEGV_ACCERR): Likewise.
28990         (BUS_ADRALN): Likewise.
28991         (BUS_ADRERR): Likewise.
28992         (BUS_OBJERR): Likewise.
28993         (BUS_MCEERR_AR): Likewise.
28994         (BUS_MCEERR_AO): Likewise.
28995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28996         (TRAP_TRACE): Likewise.
28997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28998         __USE_XOPEN2K8].
28999         (CLD_KILLED): Likewise.
29000         (CLD_DUMPED): Likewise.
29001         (CLD_TRAPPED): Likewise.
29002         (CLD_STOPPED): Likewise.
29003         (CLD_CONTINUED): Likewise.
29004         (POLL_IN): Likewise.
29005         (POLL_OUT): Likewise.
29006         (POLL_MSG): Likewise.
29007         (POLL_ERR): Likewise.
29008         (POLL_PRI): Likewise.
29009         (POLL_HUP): Likewise.
29010         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29011         Likewise.
29012         (ILL_ILLOPN): Likewise.
29013         (ILL_ILLADR): Likewise.
29014         (ILL_ILLTRP): Likewise.
29015         (ILL_PRVOPC): Likewise.
29016         (ILL_PRVREG): Likewise.
29017         (ILL_COPROC): Likewise.
29018         (ILL_BADSTK): Likewise.
29019         (ILL_BADIADDR): Likewise.
29020         (ILL_BREAK): Likewise.
29021         (FPE_INTDIV): Likewise.
29022         (FPE_INTOVF): Likewise.
29023         (FPE_FLTDIV): Likewise.
29024         (FPE_FLTOVF): Likewise.
29025         (FPE_FLTUND): Likewise.
29026         (FPE_FLTRES): Likewise.
29027         (FPE_FLTINV): Likewise.
29028         (FPE_FLTSUB): Likewise.
29029         (FPE_DECOVF): Likewise.
29030         (FPE_DECDIV): Likewise.
29031         (FPE_DECERR): Likewise.
29032         (FPE_INVASC): Likewise.
29033         (FPE_INVDEC): Likewise.
29034         (SEGV_MAPERR): Likewise.
29035         (SEGV_ACCERR): Likewise.
29036         (SEGV_PSTKOVF): Likewise.
29037         (BUS_ADRALN): Likewise.
29038         (BUS_ADRERR): Likewise.
29039         (BUS_OBJERR): Likewise.
29040         (BUS_MCEERR_AR): Likewise.
29041         (BUS_MCEERR_AO): Likewise.
29042         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29043         (TRAP_TRACE): Likewise.
29044         (TRAP_BRANCH): Likewise.
29045         (TRAP_HWBKPT): Likewise.
29046         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29047         __USE_XOPEN2K8].
29048         (CLD_KILLED): Likewise.
29049         (CLD_DUMPED): Likewise.
29050         (CLD_TRAPPED): Likewise.
29051         (CLD_STOPPED): Likewise.
29052         (CLD_CONTINUED): Likewise.
29053         (POLL_IN): Likewise.
29054         (POLL_OUT): Likewise.
29055         (POLL_MSG): Likewise.
29056         (POLL_ERR): Likewise.
29057         (POLL_PRI): Likewise.
29058         (POLL_HUP): Likewise.
29059         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29060         (ILL_ILLOPN): Likewise.
29061         (ILL_ILLADR): Likewise.
29062         (ILL_ILLTRP): Likewise.
29063         (ILL_PRVOPC): Likewise.
29064         (ILL_PRVREG): Likewise.
29065         (ILL_COPROC): Likewise.
29066         (ILL_BADSTK): Likewise.
29067         (FPE_INTDIV): Likewise.
29068         (FPE_INTOVF): Likewise.
29069         (FPE_FLTDIV): Likewise.
29070         (FPE_FLTOVF): Likewise.
29071         (FPE_FLTUND): Likewise.
29072         (FPE_FLTRES): Likewise.
29073         (FPE_FLTINV): Likewise.
29074         (FPE_FLTSUB): Likewise.
29075         (SEGV_MAPERR): Likewise.
29076         (SEGV_ACCERR): Likewise.
29077         (BUS_ADRALN): Likewise.
29078         (BUS_ADRERR): Likewise.
29079         (BUS_OBJERR): Likewise.
29080         (BUS_MCEERR_AR): Likewise.
29081         (BUS_MCEERR_AO): Likewise.
29082         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29083         (TRAP_TRACE): Likewise.
29084         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29085         __USE_XOPEN2K8].
29086         (CLD_KILLED): Likewise.
29087         (CLD_DUMPED): Likewise.
29088         (CLD_TRAPPED): Likewise.
29089         (CLD_STOPPED): Likewise.
29090         (CLD_CONTINUED): Likewise.
29091         (POLL_IN): Likewise.
29092         (POLL_OUT): Likewise.
29093         (POLL_MSG): Likewise.
29094         (POLL_ERR): Likewise.
29095         (POLL_PRI): Likewise.
29096         (POLL_HUP): Likewise.
29097         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29098         (ILL_ILLOPN): Likewise.
29099         (ILL_ILLADR): Likewise.
29100         (ILL_ILLTRP): Likewise.
29101         (ILL_PRVOPC): Likewise.
29102         (ILL_PRVREG): Likewise.
29103         (ILL_COPROC): Likewise.
29104         (ILL_BADSTK): Likewise.
29105         (FPE_INTDIV): Likewise.
29106         (FPE_INTOVF): Likewise.
29107         (FPE_FLTDIV): Likewise.
29108         (FPE_FLTOVF): Likewise.
29109         (FPE_FLTUND): Likewise.
29110         (FPE_FLTRES): Likewise.
29111         (FPE_FLTINV): Likewise.
29112         (FPE_FLTSUB): Likewise.
29113         (SEGV_MAPERR): Likewise.
29114         (SEGV_ACCERR): Likewise.
29115         (BUS_ADRALN): Likewise.
29116         (BUS_ADRERR): Likewise.
29117         (BUS_OBJERR): Likewise.
29118         (BUS_MCEERR_AR): Likewise.
29119         (BUS_MCEERR_AO): Likewise.
29120         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29121         (TRAP_TRACE): Likewise.
29122         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29123         __USE_XOPEN2K8].
29124         (CLD_KILLED): Likewise.
29125         (CLD_DUMPED): Likewise.
29126         (CLD_TRAPPED): Likewise.
29127         (CLD_STOPPED): Likewise.
29128         (CLD_CONTINUED): Likewise.
29129         (POLL_IN): Likewise.
29130         (POLL_OUT): Likewise.
29131         (POLL_MSG): Likewise.
29132         (POLL_ERR): Likewise.
29133         (POLL_PRI): Likewise.
29134         (POLL_HUP): Likewise.
29135         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29136         (ILL_ILLOPN): Likewise.
29137         (ILL_ILLADR): Likewise.
29138         (ILL_ILLTRP): Likewise.
29139         (ILL_PRVOPC): Likewise.
29140         (ILL_PRVREG): Likewise.
29141         (ILL_COPROC): Likewise.
29142         (ILL_BADSTK): Likewise.
29143         (FPE_INTDIV): Likewise.
29144         (FPE_INTOVF): Likewise.
29145         (FPE_FLTDIV): Likewise.
29146         (FPE_FLTOVF): Likewise.
29147         (FPE_FLTUND): Likewise.
29148         (FPE_FLTRES): Likewise.
29149         (FPE_FLTINV): Likewise.
29150         (FPE_FLTSUB): Likewise.
29151         (SEGV_MAPERR): Likewise.
29152         (SEGV_ACCERR): Likewise.
29153         (BUS_ADRALN): Likewise.
29154         (BUS_ADRERR): Likewise.
29155         (BUS_OBJERR): Likewise.
29156         (BUS_MCEERR_AR): Likewise.
29157         (BUS_MCEERR_AO): Likewise.
29158         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29159         (TRAP_TRACE): Likewise.
29160         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29161         __USE_XOPEN2K8].
29162         (CLD_KILLED): Likewise.
29163         (CLD_DUMPED): Likewise.
29164         (CLD_TRAPPED): Likewise.
29165         (CLD_STOPPED): Likewise.
29166         (CLD_CONTINUED): Likewise.
29167         (POLL_IN): Likewise.
29168         (POLL_OUT): Likewise.
29169         (POLL_MSG): Likewise.
29170         (POLL_ERR): Likewise.
29171         (POLL_PRI): Likewise.
29172         (POLL_HUP): Likewise.
29173         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29174         (ILL_ILLOPN): Likewise.
29175         (ILL_ILLADR): Likewise.
29176         (ILL_ILLTRP): Likewise.
29177         (ILL_PRVOPC): Likewise.
29178         (ILL_PRVREG): Likewise.
29179         (ILL_COPROC): Likewise.
29180         (ILL_BADSTK): Likewise.
29181         (ILL_DBLFLT): Likewise.
29182         (ILL_HARDWALL): Likewise.
29183         (FPE_INTDIV): Likewise.
29184         (FPE_INTOVF): Likewise.
29185         (FPE_FLTDIV): Likewise.
29186         (FPE_FLTOVF): Likewise.
29187         (FPE_FLTUND): Likewise.
29188         (FPE_FLTRES): Likewise.
29189         (FPE_FLTINV): Likewise.
29190         (FPE_FLTSUB): Likewise.
29191         (SEGV_MAPERR): Likewise.
29192         (SEGV_ACCERR): Likewise.
29193         (BUS_ADRALN): Likewise.
29194         (BUS_ADRERR): Likewise.
29195         (BUS_OBJERR): Likewise.
29196         (BUS_MCEERR_AR): Likewise.
29197         (BUS_MCEERR_AO): Likewise.
29198         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29199         (TRAP_TRACE): Likewise.
29200         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29201         __USE_XOPEN2K8].
29202         (CLD_KILLED): Likewise.
29203         (CLD_DUMPED): Likewise.
29204         (CLD_TRAPPED): Likewise.
29205         (CLD_STOPPED): Likewise.
29206         (CLD_CONTINUED): Likewise.
29207         (POLL_IN): Likewise.
29208         (POLL_OUT): Likewise.
29209         (POLL_MSG): Likewise.
29210         (POLL_ERR): Likewise.
29211         (POLL_PRI): Likewise.
29212         (POLL_HUP): Likewise.
29213         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29214         (ILL_ILLOPN): Likewise.
29215         (ILL_ILLADR): Likewise.
29216         (ILL_ILLTRP): Likewise.
29217         (ILL_PRVOPC): Likewise.
29218         (ILL_PRVREG): Likewise.
29219         (ILL_COPROC): Likewise.
29220         (ILL_BADSTK): Likewise.
29221         (FPE_INTDIV): Likewise.
29222         (FPE_INTOVF): Likewise.
29223         (FPE_FLTDIV): Likewise.
29224         (FPE_FLTOVF): Likewise.
29225         (FPE_FLTUND): Likewise.
29226         (FPE_FLTRES): Likewise.
29227         (FPE_FLTINV): Likewise.
29228         (FPE_FLTSUB): Likewise.
29229         (SEGV_MAPERR): Likewise.
29230         (SEGV_ACCERR): Likewise.
29231         (BUS_ADRALN): Likewise.
29232         (BUS_ADRERR): Likewise.
29233         (BUS_OBJERR): Likewise.
29234         (BUS_MCEERR_AR): Likewise.
29235         (BUS_MCEERR_AO): Likewise.
29236         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29237         (TRAP_TRACE): Likewise.
29238         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29239         __USE_XOPEN2K8].
29240         (CLD_KILLED): Likewise.
29241         (CLD_DUMPED): Likewise.
29242         (CLD_TRAPPED): Likewise.
29243         (CLD_STOPPED): Likewise.
29244         (CLD_CONTINUED): Likewise.
29245         (POLL_IN): Likewise.
29246         (POLL_OUT): Likewise.
29247         (POLL_MSG): Likewise.
29248         (POLL_ERR): Likewise.
29249         (POLL_PRI): Likewise.
29250         (POLL_HUP): Likewise.
29251         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29252         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29254         [BZ #16670]
29255         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29256         before #include of <time.h>.
29257         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29258         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29259         (test-xfail-UNIX98/sched.h/conform): Likewise.
29261 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29263         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29264         error absence of trapping exception support.
29265         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29267 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29269         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29270         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29271         * timezone/Makefile (testdata): Move definition above include of
29272         Rules.
29273         (test-zones): New variable.
29274         (tests-special): Add zone files.
29275         (build-testdata): Use $(evaluate-test).
29277         * elf/Makefile (tests-special): Rename tests to end with .out.
29278         ($(objpfx)noload-mem): Likewise.
29279         ($(objpfx)tst-leaks1-mem): Likewise.
29280         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29281         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29282         $(objpfx)test-iconvconfig.out.
29283         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29284         set -e inside subshell and redirect output to file.
29285         * iconvdata/Makefile (generated): Rename tests to end with .out.
29286         Correct type.
29287         (tests-special): Rename tests to end with .out.
29288         ($(objpfx)mtrace-tst-loading): Likewise.
29289         * intl/Makefile (generated): Likewise.
29290         (tests-special): Likewise.
29291         ($(objpfx)mtrace-tst-gettext): Likewise.
29292         * misc/Makefile (generated): Likewise.
29293         (tests-special): Likewise.
29294         ($(objpfx)tst-error1-mem): Likewise.
29295         * nptl/Makefile (tests-special): Likewise.
29296         ($(objpfx)tst-stack3-mem): Likewise.
29297         (generated): Likewise.
29298         * posix/Makefile (generated): Likewise.
29299         (tests-special): Likewise.
29300         (xtests-special): Likewise.
29301         ($(objpfx)tst-fnmatch-mem): Likewise.
29302         ($(objpfx)bug-regex2-mem): Likewise.
29303         ($(objpfx)bug-regex14-mem): Likewise.
29304         ($(objpfx)bug-regex21-mem): Likewise.
29305         ($(objpfx)bug-regex31-mem): Likewise.
29306         ($(objpfx)tst-vfork3-mem): Likewise.
29307         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29308         ($(objpfx)tst-pcre-mem): Likewise.
29309         ($(objpfx)tst-boost-mem): Likewise.
29310         ($(objpfx)bug-ga2-mem): Likewise.
29311         ($(objpfx)bug-glob2-mem): Likewise.
29312         * resolv/Makefile (generate): Likewise.
29313         (tests-special): Likewise.
29314         (xtests-special): Likewise.
29315         (generated): Likewise.
29316         ($(objpfx)mtrace-tst-leaks): Likewise.
29317         ($(objpfx)mtrace-tst-leaks2): Likewise.
29319         * scripts/merge-test-results.sh: New file.
29320         * Makefile (tests-special-notdir): New variable.
29321         (tests): Run merge-test-results.sh.
29322         (xtests): Likewise.
29323         * Rules (tests-special-notdir): New variable.
29324         (xtests-special-notdir): Likewise.
29325         (tests): Run merge-test-results.sh
29326         (xtests): Likewise.
29328         * Makeconfig (test-xfail-name): New variable.
29329         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29330         compute variable name for expected failures.
29331         * conform/Makefile (conformtest-headers-data): New variable.
29332         (conformtest-standards): Likewise.
29333         (conformtest-headers-ISO): Likewise.
29334         (conformtest-headers-ISO99): Likewise.
29335         (conformtest-headers-ISO11): Likewise.
29336         (conformtest-headers-POSIX): Likewise.
29337         (conformtest-headers-XPG3): Likewise.
29338         (conformtest-headers-XPG4): Likewise.
29339         (conformtest-headers-UNIX98): Likewise.
29340         (conformtest-headers-XOPEN2K): Likewise.
29341         (conformtest-headers-POSIX2008): Likewise.
29342         (conformtest-headers-XOPEN2K8): Likewise.
29343         (conformtest-header-list-base): Likewise.
29344         (conformtest-header-list-tests): Likewise.
29345         (conformtest-header-base): Likewise.
29346         (conformtest-header-tests): Likewise.
29347         (tests-special): Add $(conformtest-header-list-tests).  If
29348         [$(fast-check) && !$(cross-compiling)], add
29349         $(conformtest-header-tests) instead of
29350         $(objpfx)run-conformtest.out.
29351         (generated): Add $(conformtest-header-list-base).  If
29352         [$(fast-check) && !$(cross-compiling)], add
29353         $(conformtest-header-base).  Remove previous setting.
29354         ($(conformtest-header-list-tests)): New target.
29355         (test-xfail-run-conformtest): Remove variable.
29356         ($(objpfx)run-conformtest.out): Remove target.
29357         (test-xfail-ISO11/complex.h/conform): New variable.
29358         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29359         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29360         (test-xfail-XPG3/varargs.h/conform): Likewise.
29361         (test-xfail-XPG4/varargs.h/conform): Likewise.
29362         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29363         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29364         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29365         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29366         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29367         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29368         (test-xfail-XPG3/ftw.h/conform): Likewise.
29369         (test-xfail-XPG3/grp.h/conform): Likewise.
29370         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29371         (test-xfail-XPG3/limits.h/conform): Likewise.
29372         (test-xfail-XPG3/pwd.h/conform): Likewise.
29373         (test-xfail-XPG3/search.h/conform): Likewise.
29374         (test-xfail-XPG3/signal.h/conform): Likewise.
29375         (test-xfail-XPG3/stdio.h/conform): Likewise.
29376         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29377         (test-xfail-XPG3/string.h/conform): Likewise.
29378         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29379         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29380         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29381         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29382         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29383         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29384         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29385         (test-xfail-XPG3/termios.h/conform): Likewise.
29386         (test-xfail-XPG3/time.h/conform): Likewise.
29387         (test-xfail-XPG3/unistd.h/conform): Likewise.
29388         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29389         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29390         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29391         (test-xfail-XPG4/netdb.h/conform): Likewise.
29392         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29393         (test-xfail-XPG4/signal.h/conform): Likewise.
29394         (test-xfail-XPG4/stdio.h/conform): Likewise.
29395         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29396         (test-xfail-XPG4/stropts.h/conform): Likewise.
29397         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29398         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29399         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29400         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29401         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29402         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29403         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29404         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29405         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29406         (test-xfail-XPG4/termios.h/conform): Likewise.
29407         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29408         (test-xfail-XPG4/unistd.h/conform): Likewise.
29409         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29410         (test-xfail-POSIX/sched.h/conform): Likewise.
29411         (test-xfail-POSIX/signal.h/conform): Likewise.
29412         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29413         (test-xfail-POSIX/tar.h/conform): Likewise.
29414         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29415         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29416         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29417         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29418         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29419         (test-xfail-UNIX98/sched.h/conform): Likewise.
29420         (test-xfail-UNIX98/signal.h/conform): Likewise.
29421         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29422         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29423         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29424         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29425         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29426         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29427         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29428         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29429         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29430         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29431         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29432         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29433         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29434         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29435         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29436         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29437         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29438         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29439         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29440         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29441         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29442         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29443         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29444         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29445         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29446         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29447         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29448         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29449         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29450         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29451         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29452         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29453         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29454         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29455         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29456         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29457         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29458         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29459         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29460         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29461         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29462         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29463         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29464         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29465         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29466         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29467         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29468         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29469         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29470         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29471         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29472         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29473         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29474         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29475         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29476         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29477         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29478         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29479         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29480         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29481         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29482         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29483         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29484         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29485         (conformtest-cc-flags): Likewise.
29486         ($(conformtest-header-tests): New target.
29487         * conform/check-header-lists.sh: New file.
29488         * conform/run-conformtest.sh: Remove.
29490         * conform/conformtest.pl: Allow ' and \ in values given for
29491         constants.
29492         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29493         inclusion.
29494         [POSIX] (sys/types.h): Likewise.
29495         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29496         inclusion.
29497         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29498         inclusion.
29499         * conform/data/signal.h-data (SIGIO): Remove expectation.
29500         [XPG3] (SIGBUS): Do not expect.
29501         [POSIX || XPG3] (SIGPOLL): Likewise.
29502         [POSIX || XPG3] (SIGPROF): Likewise.
29503         [POSIX || XPG3] (SIGSYS): Likewise.
29504         [XPG3] (SIGTRAP): Likewise.
29505         [POSIX || XPG3] (SIGURG): Likewise.
29506         [POSIX || XPG3] (SIGVTALRM): Likewise.
29507         [POSIX || XPG3] (SIGXCPU): Likewise.
29508         [POSIX || XPG3] (SIGXFSZ): Likewise.
29509         [POSIX] (SA_SIGINFO): Expect.
29510         [XPG3] (siginfo_t): Do not expect type or contents.
29511         [POSIX] (si_pid): Do not expect element.
29512         [POSIX] (si_uid): Likewise.
29513         [POSIX] (si_addr): Likewise.
29514         [POSIX] (si_status): Likewise.
29515         [POSIX] (si_band): Likewise.
29516         [XPG4] (si_value): Likewise.
29517         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29518         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29519         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29520         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29521         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29522         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29523         [POSIX || XPG3] (ILL_COPROC): Likewise.
29524         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29525         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29526         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29527         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29528         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29529         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29530         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29531         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29532         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29533         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29534         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29535         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29536         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29537         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29538         [POSIX || XPG3] (CLD_EXITED): Likewise.
29539         [POSIX || XPG3] (CLD_KILLED): Likewise.
29540         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29541         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29542         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29543         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29544         [POSIX || XPG3] (POLL_IN): Likewise.
29545         [POSIX || XPG3] (POLL_OUT): Likewise.
29546         [POSIX || XPG3] (POLL_MSG): Likewise.
29547         [POSIX || XPG3] (POLL_ERR): Likewise.
29548         [POSIX || XPG3] (POLL_PRI): Likewise.
29549         [POSIX || XPG3] (POLL_HUP): Likewise.
29550         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29551         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29552         (SIG*): Do not allow.
29553         [XPG3] (si_*): Likewise.
29554         [XPG3] (SI_*): Likewise.
29555         [XPG3 || XPG4] (sigev_*): Likewise.
29556         [XPG3 || XPG4] (SIGEV_*): Likewise.
29557         [XPG3 || XPG4] (sival_*): Likewise.
29558         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29559         [POSIX || XPG3] (BUS_*): Likewise.
29560         [POSIX || XPG3] (CLD_*): Likewise.
29561         [POSIX || XPG3] (FPE_*): Likewise.
29562         [POSIX || XPG3] (ILL_*): Likewise.
29563         [POSIX || XPG3] (POLL_*): Likewise.
29564         [POSIX || XPG3] (SEGV_*): Likewise.
29565         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29566         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29567         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29568         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29569         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29570         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29571         Specify type and value.
29572         (TVERSLEN): Likewise.
29573         (REGTYPE): Likewise.
29574         (AREGTYPE): Likewise.
29575         (LNKTYPE): Likewise.
29576         (SYMTYPE): Likewise.
29577         (CHRTYPE): Likewise.
29578         (BLKTYPE): Likewise.
29579         (DIRTYPE): Likewise.
29580         (FIFOTYPE): Likewise.
29581         (CONTTYPE): Likewise.
29582         (TSUID): Likewise.
29583         (TSGID): Likewise.
29584         (TSVTX): Likewise.
29585         (TUREAD): Likewise.
29586         (TUWRITE): Likewise.
29587         (TUEXEC): Likewise.
29588         (TGREAD): Likewise.
29589         (TGWRITE): Likewise.
29590         (TGEXEC): Likewise.
29591         (TOREAD): Likewise.
29592         (TOWRITE): Likewise.
29593         (TOEXEC): Likewise.
29594         [POSIX] (TSVTX): Expect constant.
29596 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29598         * Makefile (tests): Change dependencies to ....
29599         (tests-special): ... additions to this variable.
29600         (tests): Depend on $(tests-special).
29601         * Makerules (check-abi-list): New variable.
29602         (check-abi): Depend on $(check-abi-list).
29603         [$(subdir) = elf] (tests-special): Add
29604         $(objpfx)check-abi-libc.out.
29605         [$(build-shared) = yes && subdir] (tests-special): Add
29606         $(check-abi-list).
29607         [$(build-shared) = yes && subdir] (tests): Do not depend on
29608         check-abi.
29609         * Rules (tests): Depend on $(tests-special).
29610         (xtests): Depend on $(xtests-special).
29611         * catgets/Makefile (tests): Change dependencies to ....
29612         (tests-special): ... additions to this variable.
29613         * conform/Makefile (tests): Change dependencies to ....
29614         (tests-special): ... additions to this variable.
29615         * elf/Makefile (tests): Change dependencies to ....
29616         (tests-special): ... additions to this variable.
29617         * grp/Makefile (tests): Change dependencies to ....
29618         (tests-special): ... additions to this variable.
29619         * iconv/Makefile (xtests): Change dependencies to ....
29620         (xtests-special): ... additions to this variable.
29621         * iconvdata/Makefile (tests): Change dependencies to ....
29622         (tests-special): ... additions to this variable.
29623         * intl/Makefile (tests): Change dependencies to ....
29624         (tests-special): ... additions to this variable.  Also add
29625         $(objpfx)tst-gettext.out.
29626         * io/Makefile (tests): Change dependencies to ....
29627         (tests-special): ... additions to this variable.
29628         * libio/Makefile (tests): Change dependencies to ....
29629         (tests-special): ... additions to this variable.
29630         * malloc/Makefile (tests): Change dependencies to ....
29631         (tests-special): ... additions to this variable.
29632         * misc/Makefile (tests): Change dependencies to ....
29633         (tests-special): ... additions to this variable.
29634         * nptl/Makefile (tests): Change dependencies to ....
29635         (tests-special): ... additions to this variable.
29636         * nptl_db/Makefile (tests): Change dependencies to ....
29637         (tests-special): ... additions to this variable.
29638         * posix/Makefile (tests): Change dependencies to ....
29639         (tests-special): ... additions to this variable.
29640         (xtests): Change dependencies to ....
29641         (xtests-special): ... additions to this variable.
29642         * resolv/Makefile (tests): Change dependencies to ....
29643         (tests-special): ... additions to this variable.
29644         (xtests): Change dependencies to ....
29645         (xtests-special): ... additions to this variable.
29646         * stdio-common/Makefile (tests): Change dependencies to ....
29647         (tests-special): ... additions to this variable.
29648         (do-tst-unbputc): Remove target.
29649         (do-tst-printf): Likewise.
29650         * stdlib/Makefile (tests): Change dependencies to ....
29651         (tests-special): ... additions to this variable.
29652         * string/Makefile (tests): Change dependencies to ....
29653         (tests-special): ... additions to this variable.
29654         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29655         (tests-special): ... additions to this variable.
29657         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29658         whole file.
29659         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29660         whole file.
29661         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29662         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29664         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29665         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29666         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29667         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29668         * conform/data/libgen.h-data [XPG3]: Likewise.
29669         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29670         * conform/data/ndbm.h-data [XPG3]: Likewise.
29671         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29672         * conform/data/netdb.h-data [XPG3]: Likewise.
29673         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29674         * conform/data/poll.h-data [XPG3]: Likewise.
29675         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29676         * conform/data/strings.h-data [XPG3]: Likewise.
29677         * conform/data/stropts.h-data [XPG3]: Likewise.
29678         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29679         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29680         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29681         Likewise.
29682         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29683         * conform/data/sys/time.h-data [XPG3]: Likewise.
29684         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29685         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29686         * conform/data/sys/un.h-data [XPG3]: Likewise.
29687         * conform/data/syslog.h-data [XPG3]: Likewise.
29688         * conform/data/ucontext.h-data [XPG3]: Likewise.
29689         * conform/data/utmpx.h-data [XPG3]: Likewise.
29690         * conform/data/varargs.h-data [UNIX98]: Enable file.
29692         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29694         * math/libm-test.inc (struct test_f_f_data): Move expected results
29695         into structure for each rounding mode.
29696         (struct test_ff_f_data): Likewise.
29697         (struct test_ff_f_data_nexttoward): Likewise.
29698         (struct test_fi_f_data): Likewise.
29699         (struct test_fl_f_data): Likewise.
29700         (struct test_if_f_data): Likewise.
29701         (struct test_fff_f_data): Likewise.
29702         (struct test_c_f_data): Likewise.
29703         (struct test_f_f1_data): Likewise.
29704         (struct test_fF_f1_data): Likewise.
29705         (struct test_ffI_f1_data): Likewise.
29706         (struct test_c_c_data): Likewise.
29707         (struct test_cc_c_data): Likewise.
29708         (struct test_f_i_data): Likewise.
29709         (struct test_ff_i_data): Likewise.
29710         (struct test_f_l_data): Likewise.
29711         (struct test_f_L_data): Likewise.
29712         (struct test_fFF_11_data): Likewise.
29713         (RM_): New macro.
29714         (RM_FE_DOWNWARD): Likewise.
29715         (RM_FE_TONEAREST): Likewise.
29716         (RM_FE_TOWARDZERO): Likewise.
29717         (RM_FE_UPWARD): Likewise.
29718         (RUN_TEST_LOOP_f_f): Update references to expected results.
29719         (RUN_TEST_LOOP_2_f): Likewise.
29720         (RUN_TEST_LOOP_fff_f): Likewise.
29721         (RUN_TEST_LOOP_c_f): Likewise.
29722         (RUN_TEST_LOOP_f_f1): Likewise.
29723         (RUN_TEST_LOOP_fF_f1): Likewise.
29724         (RUN_TEST_LOOP_fI_f1): Likewise.
29725         (RUN_TEST_LOOP_ffI_f1): Likewise.
29726         (RUN_TEST_LOOP_c_c): Likewise.
29727         (RUN_TEST_LOOP_cc_c): Likewise.
29728         (RUN_TEST_LOOP_f_i): Likewise.
29729         (RUN_TEST_LOOP_f_i_tg): Likewise.
29730         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29731         (RUN_TEST_LOOP_f_b): Likewise.
29732         (RUN_TEST_LOOP_f_b_tg): Likewise.
29733         (RUN_TEST_LOOP_f_l): Likewise.
29734         (RUN_TEST_LOOP_f_L): Likewise.
29735         (RUN_TEST_LOOP_fFF_11): Likewise.
29736         * math/gen-libm-test.pl (parse_args): Output four copies of
29737         expected results for each test.
29739         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29740         (__ASSUME_UTIMES): Remove.
29741         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29742         (__ASSUME_UTIMES): Likewise.
29744         * math/gen-auto-libm-tests.c: Update comment on output format.
29745         (output_for_one_input_case): Generate before-rounding and
29746         after-rounding information as conditions on output flags not
29747         floating-point format.
29748         * math/auto-libm-test-out: Regenerated.
29749         * math/gen-libm-test.pl (cond_value): New function.
29750         (or_cond_value): Use cond_value.
29751         (generate_testfile): Handle conditional exceptions.
29753 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29755         * math/libm-test.inc (max_valid_error): New variable.
29756         (init_max_error): Take new argument specifying whether function
29757         results are exactly determined.  Set max_valid_error and bound
29758         other variables for errors based on this argument.
29759         (set_max_error): Do not record results above max_valid_error.
29760         (check_float_internal): Only accept errors of up to 0.5ulps if
29761         also at most max_valid_error.
29762         (START): Take new argument EXACT and pass it to init_max_error.
29763         (acos_test): Update call to START.
29764         (acos_test_tonearest): Likewise.
29765         (acos_test_towardzero): Likewise.
29766         (acos_test_downward): Likewise.
29767         (acos_test_upward): Likewise.
29768         (acosh_test): Likewise.
29769         (asin_test): Likewise.
29770         (asin_test_tonearest): Likewise.
29771         (asin_test_towardzero): Likewise.
29772         (asin_test_downward): Likewise.
29773         (asin_test_upward): Likewise.
29774         (asinh_test): Likewise.
29775         (atan_test): Likewise.
29776         (atanh_test): Likewise.
29777         (atan2_test): Likewise.
29778         (cabs_test): Likewise.
29779         (cacos_test): Likewise.
29780         (cacosh_test): Likewise.
29781         (carg_test): Likewise.
29782         (casin_test): Likewise.
29783         (casinh_test): Likewise.
29784         (catan_test): Likewise.
29785         (catanh_test): Likewise.
29786         (cbrt_test): Likewise.
29787         (ccos_test): Likewise.
29788         (ccosh_test): Likewise.
29789         (ceil_test): Likewise.
29790         (cexp_test): Likewise.
29791         (cimag_test): Likewise.
29792         (clog_test): Likewise.
29793         (clog10_test): Likewise.
29794         (conj_test): Likewise.
29795         (copysign_test): Likewise.
29796         (cos_test): Likewise.
29797         (cos_test_tonearest): Likewise.
29798         (cos_test_towardzero): Likewise.
29799         (cos_test_downward): Likewise.
29800         (cos_test_upward): Likewise.
29801         (cosh_test): Likewise.
29802         (cosh_test_tonearest): Likewise.
29803         (cosh_test_towardzero): Likewise.
29804         (cosh_test_downward): Likewise.
29805         (cosh_test_upward): Likewise.
29806         (cpow_test): Likewise.
29807         (cproj_test): Likewise.
29808         (creal_test): Likewise.
29809         (csin_test): Likewise.
29810         (csinh_test): Likewise.
29811         (csqrt_test): Likewise.
29812         (ctan_test): Likewise.
29813         (ctan_test_tonearest): Likewise.
29814         (ctan_test_towardzero): Likewise.
29815         (ctan_test_downward): Likewise.
29816         (ctan_test_upward): Likewise.
29817         (ctanh_test): Likewise.
29818         (ctanh_test_tonearest): Likewise.
29819         (ctanh_test_towardzero): Likewise.
29820         (ctanh_test_downward): Likewise.
29821         (ctanh_test_upward): Likewise.
29822         (erf_test): Likewise.
29823         (erfc_test): Likewise.
29824         (exp_test): Likewise.
29825         (exp_test_tonearest): Likewise.
29826         (exp_test_towardzero): Likewise.
29827         (exp_test_downward): Likewise.
29828         (exp_test_upward): Likewise.
29829         (exp10_test): Likewise.
29830         (exp10_test_tonearest): Likewise.
29831         (exp10_test_towardzero): Likewise.
29832         (exp10_test_downward): Likewise.
29833         (exp10_test_upward): Likewise.
29834         (pow10_test): Likewise.
29835         (exp2_test): Likewise.
29836         (expm1_test): Likewise.
29837         (expm1_test_tonearest): Likewise.
29838         (expm1_test_towardzero): Likewise.
29839         (expm1_test_downward): Likewise.
29840         (expm1_test_upward): Likewise.
29841         (fabs_test): Likewise.
29842         (fdim_test): Likewise.
29843         (floor_test): Likewise.
29844         (fma_test): Likewise.
29845         (fma_test_towardzero): Likewise.
29846         (fma_test_downward): Likewise.
29847         (fma_test_upward): Likewise.
29848         (fmax_test): Likewise.
29849         (fmin_test): Likewise.
29850         (fmod_test): Likewise.
29851         (fpclassify_test): Likewise.
29852         (frexp_test): Likewise.
29853         (hypot_test): Likewise.
29854         (ilogb_test): Likewise.
29855         (isfinite_test): Likewise.
29856         (finite_test): Likewise.
29857         (isgreater_test): Likewise.
29858         (isgreaterequal_test): Likewise.
29859         (isinf_test): Likewise.
29860         (isless_test): Likewise.
29861         (islessequal_test): Likewise.
29862         (islessgreater_test): Likewise.
29863         (isnan_test): Likewise.
29864         (isnormal_test): Likewise.
29865         (issignaling_test): Likewise.
29866         (isunordered_test): Likewise.
29867         (j0_test): Likewise.
29868         (j1_test): Likewise.
29869         (jn_test): Likewise.
29870         (ldexp_test): Likewise.
29871         (lgamma_test): Likewise.
29872         (gamma_test): Likewise.
29873         (lrint_test): Likewise.
29874         (lrint_test_tonearest): Likewise.
29875         (lrint_test_towardzero): Likewise.
29876         (lrint_test_downward): Likewise.
29877         (lrint_test_upward): Likewise.
29878         (llrint_test): Likewise.
29879         (llrint_test_tonearest): Likewise.
29880         (llrint_test_towardzero): Likewise.
29881         (llrint_test_downward): Likewise.
29882         (llrint_test_upward): Likewise.
29883         (log_test): Likewise.
29884         (log10_test): Likewise.
29885         (log1p_test): Likewise.
29886         (log2_test): Likewise.
29887         (logb_test): Likewise.
29888         (logb_test_downward): Likewise.
29889         (lround_test): Likewise.
29890         (llround_test): Likewise.
29891         (modf_test): Likewise.
29892         (nearbyint_test): Likewise.
29893         (nextafter_test): Likewise.
29894         (nexttoward_test): Likewise.
29895         (pow_test): Likewise.
29896         (pow_test_tonearest): Likewise.
29897         (pow_test_towardzero): Likewise.
29898         (pow_test_downward): Likewise.
29899         (pow_test_upward): Likewise.
29900         (remainder_test): Likewise.
29901         (drem_test): Likewise.
29902         (remainder_test_tonearest): Likewise.
29903         (drem_test_tonearest): Likewise.
29904         (remainder_test_towardzero): Likewise.
29905         (drem_test_towardzero): Likewise.
29906         (remainder_test_downward): Likewise.
29907         (drem_test_downward): Likewise.
29908         (remainder_test_upward): Likewise.
29909         (drem_test_upward): Likewise.
29910         (remquo_test): Likewise.
29911         (rint_test): Likewise.
29912         (rint_test_tonearest): Likewise.
29913         (rint_test_towardzero): Likewise.
29914         (rint_test_downward): Likewise.
29915         (rint_test_upward): Likewise.
29916         (round_test): Likewise.
29917         (scalb_test): Likewise.
29918         (scalbn_test): Likewise.
29919         (scalbln_test): Likewise.
29920         (signbit_test): Likewise.
29921         (sin_test): Likewise.
29922         (sin_test_tonearest): Likewise.
29923         (sin_test_towardzero): Likewise.
29924         (sin_test_downward): Likewise.
29925         (sin_test_upward): Likewise.
29926         (sincos_test): Likewise.
29927         (sinh_test): Likewise.
29928         (sinh_test_tonearest): Likewise.
29929         (sinh_test_towardzero): Likewise.
29930         (sinh_test_downward): Likewise.
29931         (sinh_test_upward): Likewise.
29932         (sqrt_test): Likewise.
29933         (sqrt_test_tonearest): Likewise.
29934         (sqrt_test_towardzero): Likewise.
29935         (sqrt_test_downward): Likewise.
29936         (sqrt_test_upward): Likewise.
29937         (tan_test): Likewise.
29938         (tan_test_tonearest): Likewise.
29939         (tan_test_towardzero): Likewise.
29940         (tan_test_downward): Likewise.
29941         (tan_test_upward): Likewise.
29942         (tanh_test): Likewise.
29943         (tgamma_test): Likewise.
29944         (trunc_test): Likewise.
29945         (y0_test): Likewise.
29946         (y1_test): Likewise.
29947         (yn_test): Likewise.
29948         (significand_test): Likewise.
29950         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
29951         individual tests in comment.
29952         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
29953         (prev_max_error): New variable.
29954         (prev_real_max_error): Likewise.
29955         (prev_imag_max_error): Likewise.
29956         (compare_ulp_data): Don't refer to test names in comment.
29957         (find_test_ulps): Remove function.
29958         (find_function_ulps): Likewise.
29959         (find_complex_function_ulps): Likewise.
29960         (init_max_error): Take function name as argument.  Look up ulps
29961         for that function.
29962         (print_ulps): Remove function.
29963         (print_max_error): Use prev_max_error instead of calling
29964         find_function_ulps.
29965         (print_complex_max_error): Use prev_real_max_error and
29966         prev_imag_max_error instead of calling find_complex_function_ulps.
29967         (check_float_internal): Take max_ulp parameter instead of calling
29968         find_test_ulps.  Don't call print_ulps.
29969         (check_float): Update call to check_float_internal.
29970         (check_complex): Update calls to check_float_internal.
29971         (START): Pass argument to init_max_error.
29972         * math/gen-libm-test.pl (%results): Don't include "kind"
29973         information.
29974         (parse_ulps): Don't handle ulps of individual tests.
29975         (print_ulps_file): Likewise.
29976         (output_ulps): Likewise.
29977         * math/README.libm-test: Update.
29978         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
29979         individual tests.
29980         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
29981         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29982         * sysdeps/arm/libm-test-ulps: Likewise.
29983         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29984         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
29985         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
29986         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
29987         * sysdeps/microblaze/libm-test-ulps: Likewise.
29988         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29989         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29990         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29991         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29992         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29993         * sysdeps/sh/libm-test-ulps: Likewise.
29994         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29995         * sysdeps/tile/libm-test-ulps: Likewise.
29996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29998 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30000         * math/libm-test.inc (print_complex_max_error): Check separately
30001         whether real and imaginary errors are within allowed range and
30002         pass 0 to print_complex_function_ulps instead of value within
30003         allowed range.
30005 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30007         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30008         formatting.
30009         (get_handles_fopen): Likewise.
30010         (do_write_test): Likewise.
30012         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30014         * libio/fileops.c (do_ftell): Use cached offset when
30015         available.
30016         * libio/iofwide.c (do_ftell_wide): Likewise.
30017         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30018         _IO_file_attach.
30019         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30021         [BZ #16532]
30022         * libio/libioP.h (get_file_offset): New function.
30023         * libio/fileops.c (get_file_offset): Likewise.
30024         (do_ftell): Likewise.
30025         (_IO_new_file_seekoff): Split out ftell logic.
30026         * libio/wfileops.c (do_ftell_wide): Likewise.
30027         (_IO_wfile_seekoff): Split out ftell logic.
30028         * libio/tst-ftell-active-handler.c: New test case.
30029         * libio/Makefile (tests): Add it.
30031 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30033         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30034         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30036 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30038         [BZ #16639]
30039         * nscd/connections.c (nscd_init): Call do_exit.
30040         (start_threads): Call do_exit and notify_parent.
30041         (begin_drop_privileges): Call do_exit.
30042         (finish_drop_privileges): Likewise.
30043         * nscd/selinux.c (preserve_capabilities): Likewise.
30044         (install_real_capabilities): Likewise.
30045         (nscd_selinux_enabled): Likewise.
30046         (avc_create_thread): Likewise.
30047         (avc_alloc_lock): Likewise.
30048         (nscd_avc_init): Likewise.
30049         * nscd/nscd.c (parent_fd): New static variable.
30050         (main): Create a pipe between parent and child processes.
30051         Skip closing parent_fd.
30052         (monitor_child): New function.
30053         (do_exit): Likewise.
30054         (notify_parent): Likewise.
30055         * nscd/nscd.h (notify_parent): Likewise.
30056         (do_exit): Likewise.
30058 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30060         * malloc/malloc.c (__libc_calloc): Revert last change.
30062 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30066 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30068         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30070         implementation.
30071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30072         (__libc_ifunc_impl_list): Likewise.
30073         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30074         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30075         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30076         * string/strrchr.c: Define STRRCHR.
30078 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30080         * benchtest/bench-strtok.c (simple_strtok): Delete.
30081         (strtok_string): Use as benchmark.
30082         * string/strtok (STRTOK): New macro.
30084 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30086         * manual/threads.texi: Add header and standard comments to all
30087         functions.
30089         * elf/dl-lookup.c (check_match): New function.
30090         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30091         (do_lookup_x): Remove nested function check_match. Use non-nested
30092         function check_match.
30094 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30096         * csu/Makefile (generated, before-compile): Use += rather than =.
30097         * catgets/Makefile (generated, generated-dirs): Likewise.
30098         * debug/Makefile (generated): Likewise.
30099         * dlfcn/Makefile (generated): Likewise.
30100         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30101         * iconvdata/Makefile (before-compile, generated): Likewise.
30102         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30103         * libio/Makefile (generated): Likewise.
30104         * malloc/Makefile (generated): Likewise.
30105         * manual/Makefile (generated, generated-dirs): Likewise.
30106         * misc/Makefile (generated): Likewise.
30107         * posix/Makefile (generated): Likewise.
30108         * resolv/Makefile (generated): Likewise.
30109         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30110         * timezone/Makefile (generated, generated-dirs): Likewise.
30112         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30114 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30117         power8 implementation.
30118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30119         file: POWER8 llround ifunc implementation.
30120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30121         (__lllround): Add POWER8 implementation.
30122         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30123         POWER8 llround implementation.
30125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30126         power8 implementation.
30127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30128         file: POWER8 llrint ifunc implementation.
30129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30130         Add POWER8 implementation.
30131         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30132         POWER8 llrint implementation.
30134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30135         power8 implementation.
30136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30137         file: POWER8 finite ifunc implementation.
30138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30139         Add POWER8 implementation.
30140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30141         Likewise.
30142         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30143         POWER8 finite implementation.
30144         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30147         power8 implementation.
30148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30149         file: POWER8 isinf ifunc implementation.
30150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30151         POWER8 implementation.
30152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30153         Likewise.
30154         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30155         isinf implementation.
30156         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30158         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30159         (INIT_ARCH): Add hwcap2 initialization.
30160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30161         power8 implementation.
30162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30163         file: POWER8 isnan ifunc implementation.
30164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30165         POWER8 implementation.
30166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30167         Likewise.
30168         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30169         isnan implementation.
30170         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30172 2014-02-27  Joey Ye  <joey.ye@arm.com>
30174         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30175         (_FP_NANFRAC_Q): Set to zero.
30177 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30179         [BZ #16623]
30180         * math/auto-libm-test-in: New test inputs.
30181         * math/auto-libm-test-out: Regenerate.
30182         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30183         and DA.
30184         (__cos): Likewise.
30185         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30187 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30189         * scripts/evaluate-test.sh: Take new argument indicating whether
30190         failure is expected.
30191         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30192         indicating whether failure is expected.
30193         * conform/Makefile (test-xfail-run-conformtest): New variable.
30194         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30195         level.
30196         * posix/Makefile (test-xfail-annexc): New variable.
30197         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30199 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30201         * argp/Makefile: Include Makeconfig immediately after defining
30202         subdir.
30203         * assert/Makefile: Likewise.
30204         * benchtests/Makefile: Likewise.
30205         * catgets/Makefile: Likewise.
30206         * conform/Makefile: Likewise.
30207         * crypt/Makefile: Likewise.
30208         * csu/Makefile: Likewise.
30209         (all): Remove target.
30210         * ctype/Makefile: Include Makeconfig immediately after defining
30211         subdir.
30212         * debug/Makefile: Likewise.
30213         * dirent/Makefile: Likewise.
30214         * dlfcn/Makefile: Likewise.
30215         * gmon/Makefile: Likewise.
30216         * gnulib/Makefile: Likewise.
30217         * grp/Makefile: Likewise.
30218         * gshadow/Makefile: Likewise.
30219         * hesiod/Makefile: Likewise.
30220         * hurd/Makefile: Likewise.
30221         (all): Remove target.
30222         * iconvdata/Makefile: Include Makeconfig immediately after
30223         defining subdir.
30224         * inet/Makefile: Likewise.
30225         * intl/Makefile: Likewise.
30226         * io/Makefile: Likewise.
30227         * libio/Makefile: Likewise.
30228         (all): Remove target.
30229         * locale/Makefile: Include Makeconfig immediately after defining
30230         subdir.
30231         * login/Makefile: Likewise.
30232         * mach/Makefile: Likewise.
30233         (all): Remove target.
30234         * malloc/Makefile: Include Makeconfig immediately after defining
30235         subdir.
30236         (all): Remove target.
30237         * manual/Makefile: Include Makeconfig immediately after defining
30238         subdir.
30239         * math/Makefile: Likewise.
30240         * misc/Makefile: Likewise.
30241         * nis/Makefile: Likewise.
30242         * nss/Makefile: Likewise.
30243         * po/Makefile: Likewise.
30244         (all): Remove target.
30245         * posix/Makefile: Include Makeconfig immediately after defining
30246         subdir.
30247         * pwd/Makefile: Likewise.
30248         * resolv/Makefile: Likewise.
30249         * resource/Makefile: Likewise.
30250         * rt/Makefile: Likewise.
30251         * setjmp/Makefile: Likewise.
30252         * shadow/Makefile: Likewise.
30253         * signal/Makefile: Likewise.
30254         * socket/Makefile: Likewise.
30255         * soft-fp/Makefile: Likewise.
30256         * stdio-common/Makefile: Likewise.
30257         * stdlib/Makefile: Likewise.
30258         * streams/Makefile: Likewise.
30259         * string/Makefile: Likewise.
30260         * sunrpc/Makefile: Likewise.
30261         (all): Remove target.
30262         * sysvipc/Makefile: Include Makeconfig immediately after defining
30263         subdir.
30264         * termios/Makefile: Likewise.
30265         * time/Makefile: Likewise.
30266         * timezone/Makefile: Likewise.
30267         (all): Remove target.
30268         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30269         subdir.
30270         * wctype/Makefile: Likewise.
30272 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30274         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30275         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30276         (libc_feholdexcept_setround_mips): Ditto.
30277         (libc_feholdsetround): New.
30278         (libc_feholdsetroundf): New.
30279         (libc_feholdsetroundl): New.
30280         (libc_feupdateenv_test_mips): New.
30281         (libc_feupdateenv_test): New.
30282         (libc_feupdateenv_testf): New.
30283         (libc_feupdateenv_testl): New.
30284         (libc_feresetround): New.
30285         (libc_feresetroundf): New.
30286         (libc_feresetroundl): New.
30287         (libc_fetestexcept_mips): New.
30288         (libc_fetestexcept): New.
30289         (libc_fetestexceptf): New.
30290         (libc_fetestexceptl): New.
30291         (HAVE_RM_CTX): New.
30292         (libc_feholdexcept_setround_mips_ctx): New.
30293         (libc_feholdexcept_setround_ctx): New.
30294         (libc_feholdexcept_setroundf_ctx): New.
30295         (libc_feholdexcept_setroundl_ctx): New.
30296         (libc_fesetenv_mips_ctx): New.
30297         (libc_fesetenv_ctx): New.
30298         (libc_fesetenv_ctxf): New.
30299         (libc_fesetenv_ctxl): New.
30300         (libc_feupdateenv_mips_ctx): New.
30301         (libc_feupdateenv_ctx): New.
30302         (libc_feupdateenvf_ctx): New.
30303         (libc_feupdateenvl_ctx): New.
30304         (libc_feholdsetround_mips_ctx): New.
30305         (libc_feholdsetround_ctx): New.
30306         (libc_feholdsetroundf_ctx): New.
30307         (libc_feholdsetroundl_ctx): New.
30308         (libc_feresetround_mips_ctx): New.
30309         (libc_feresetround_ctx): New.
30310         (libc_feresetroundf_ctx): New.
30311         (libc_feresetroundl_ctx): New.
30313 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30315         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30317         * manual/ipc.texi: New file.
30318         * manual/Makefile (chapters): Add ipc.
30319         * manual/job.texi: Add "Inter-Process Communication" to next.
30320         * manual/process.texi: Add "Inter-Process Communication" to prev.
30322 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30326 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30328         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30330         * manual/arith.texi: Fix spaces after sentences.
30331         * manual/charset.texi: Likewise.
30332         * manual/errno.texi: Likewise.
30333         * manual/install.texi: Likewise.
30334         * manual/llio.texi: Likewise.
30335         * manual/locale.texi: Likewise.
30336         * manual/maint.texi: Likewise.
30337         * manual/math.texi: Likewise.
30338         * manual/memory.texi: Likewise.
30339         * manual/message.texi: Likewise.
30340         * manual/probes.texi: Likewise.
30341         * manual/resource.texi: Likewise.
30342         * manual/signal.texi: Likewise.
30343         * manual/socket.texi: Likewise.
30344         * manual/stdio.texi: Likewise.
30345         * manual/string.texi: Likewise.
30346         * manual/time.texi: Likewise.
30347         * manual/users.texi: Likewise.
30349 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30351         [BZ #16632]
30352         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30353         _DEFAULT_SOURCE is defined.
30355 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30356             Carlos O'Donell  <carlos@redhat.com>
30358         [BZ #16613]
30359         * elf/dl-tls.c (_dl_count_modids): New function.
30360         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30361         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30362         audit library and increment generation counter.
30363         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30364         * elf/tst-audit9.c: New file.
30365         * elf/tst-auditmod9a.c: New file.
30366         * elf/tst-auditmod9b.c: New file.
30367         * elf/Makefile: Add rules to build and run tst-audit9.
30369 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30371         [BZ #15347]
30372         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30374 2014-02-25  Will Newton  <will.newton@linaro.org>
30376         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30377         (__longjmp): Restore sp and lr before restoring callee
30378         saved registers.  Add longjmp and longjmp_target
30379         SystemTap probe point.
30380         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30381         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30382         Define to zero to match jmpbuf layout.
30383         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30384         (__sigsetjmp): Save sp and lr before saving callee
30385         saved registers.  Add setjmp SystemTap probe point.
30387 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30389         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30391 2014-02-24  Andreas Schwab  <schwab@suse.de>
30393         [BZ #15804]
30394         * elf/pldd.c (wait_for_ptrace_stop): New function.
30395         (main): Call it after attaching.
30397 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30399         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30400         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30401         Versions files is now verboten.
30402         * hurd/Versions (libc: GLIBC_2.0):
30403         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30404         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30405         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30406         * mach/Versions: Likewise.
30408         * csu/Versions: Remove unused %include.
30409         * resolv/Versions: Likewise.
30411 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30413         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30414         ($(objpfx)check-local-headers.out): Likewise.
30415         ($(objpfx)begin-end-check.out): Likewise.
30416         * Makerules (check-abi-%.out): Likewise.
30417         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30418         ($(objpfx)test2.cat): Likewise.
30419         ($(objpfx)de/libc.cat): Likewise.
30420         ($(objpfx)test-gencat.out): Likewise.
30421         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30422         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30423         ($(objpfx)noload-mem): Likewise.
30424         ($(objpfx)tst-pathopt.out): Likewise.
30425         ($(objpfx)tst-rtld-load-self.out): Likewise.
30426         ($(objpfx)tst-array1-cmp.out): Likewise.
30427         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30428         ($(objpfx)tst-array2-cmp.out): Likewise.
30429         ($(objpfx)tst-array3-cmp.out): Likewise.
30430         ($(objpfx)tst-array4-cmp.out): Likewise.
30431         ($(objpfx)tst-array5-cmp.out): Likewise.
30432         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30433         ($(objpfx)check-textrel.out): Likewise.
30434         ($(objpfx)check-execstack.out): Likewise.
30435         ($(objpfx)check-localplt.out): Likewise.
30436         ($(objpfx)order2-cmp.out): Likewise.
30437         ($(objpfx)tst-leaks1-mem): Likewise.
30438         ($(objpfx)tst-leaks1-static-mem): Likewise.
30439         ($(objpfx)tst-initorder-cmp.out): Likewise.
30440         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30441         ($(objpfx)tst-unused-dep.out): Likewise.
30442         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30443         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30444         * iconv/Makefile (test-iconvconfig): Likewise.
30445         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30446         ($(objpfx)iconv-test.out): Likewise.
30447         ($(objpfx)tst-tables.out): Likewise.
30448         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30449         ($(objpfx)tst-gettext.out): Likewise.
30450         ($(objpfx)tst-translit.out): Likewise.
30451         ($(objpfx)tst-gettext2.out): Likewise.
30452         ($(objpfx)tst-gettext4.out): Likewise.
30453         ($(objpfx)tst-gettext6.out): Likewise.
30454         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30455         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30456         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30457         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30458         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30459         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30460         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30461         ($(objpfx)wordexp-tst.out): Likewise.
30462         ($(objpfx)annexc.out): Likewise.
30463         ($(objpfx)tst-fnmatch-mem): Likewise.
30464         ($(objpfx)bug-regex2-mem): Likewise.
30465         ($(objpfx)bug-regex14-mem): Likewise.
30466         ($(objpfx)bug-regex21-mem): Likewise.
30467         ($(objpfx)bug-regex31-mem): Likewise.
30468         ($(objpfx)tst-vfork3-mem): Likewise.
30469         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30470         ($(objpfx)tst-pcre-mem): Likewise.
30471         ($(objpfx)tst-boost-mem): Likewise.
30472         ($(objpfx)tst-getconf.out): Likewise.
30473         ($(objpfx)bug-ga2-mem): Likewise.
30474         ($(objpfx)bug-glob2-mem): Likewise.
30475         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30476         ($(objpfx)mtrace-tst-leaks2): Likewise.
30477         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30478         ($(objpfx)tst-printf.out): Likewise.
30479         ($(objpfx)tst-setvbuf1.out): Likewise.
30480         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30481         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30482         ($(objpfx)tst-fmtmsg.out): Likewise.
30483         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30484         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30486         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30487         * bits/sigaction.h [__USE_MISC]: Likewise.
30488         * bits/waitstatus.h: Update #endif comments.
30489         * ctype/ctype.h: Likewise.
30490         * dirent/dirent.h: Likewise.
30491         [__USE_MISC]: Remove redundant conditionals.
30492         * grp/grp.h: Update #endif comments.
30493         [__USE_GNU]: Remove redundant conditionals.
30494         [__USE_MISC]: Likewise.
30495         * inet/netinet/in.h [__USE_GNU]: Likewise.
30496         * io/sys/stat.h [__USE_MISC]: Likewise.
30497         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30498         * libio/bits/stdio.h: Update #endif comments.
30499         [__USE_MISC]: Remove redundant conditionals.
30500         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30501         * libio/stdio.h: Update #endif comments.
30502         [__USE_MISC]: Remove redundant conditionals.
30503         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30504         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30505         * math/math.h: Update #else and #endif comments.
30506         [__USE_MISC]: Remove redundant conditionals.
30507         * misc/sys/uio.h: Update #endif comments.
30508         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30509         * posix/glob.h [__USE_MISC]: Likewise.
30510         * posix/sys/types.h: Update #endif comments.
30511         [__USE_MISC]: Remove redundant conditionals.
30512         * posix/sys/wait.h: Update #endif comments.
30513         [__USE_MISC]: Remove redundant conditionals.
30514         * posix/unistd.h: Update #endif comments.
30515         [__USE_MISC]: Remove redundant conditionals.
30516         * pwd/pwd.h [__USE_GNU]: Likewise.
30517         [__USE_MISC]: Likewise.
30518         * resolv/netdb.h [__USE_GNU]: Likewise.
30519         * signal/signal.h: Update #endif comments.
30520         [__USE_MISC]: Remove redundant conditionals.
30521         * stdlib/stdlib.h: Update #else and #endif comments.
30522         [__USE_MISC]: Remove redundant conditionals.
30523         [__USE_GNU]: Likewise.
30524         * string/bits/string2.h [__USE_MISC]: Likewise.
30525         * string/string.h: Update #endif comments.
30526         [__USE_MISC]: Remove redundant conditionals.
30527         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30528         Likewise.
30529         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30530         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30531         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30532         Likewise.
30533         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30534         Likewise.
30535         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30536         comments.
30537         [__USE_MISC]: Remove redundant conditionals.
30538         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30539         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30540         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30541         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30542         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30543         Likewise.
30544         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30545         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30546         Likewise.
30547         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30548         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30549         Likewise.
30550         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30551         Likewise.
30552         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30553         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30554         Likewise.
30555         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30556         Likewise.
30557         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30558         * sysdeps/x86/bits/string.h: Update #endif comments.
30559         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30560         conditionals.
30561         * time/sys/time.h: Update #endif comments.
30562         * time/time.h: Likewise.
30563         [__USE_MISC]: Remove redundant conditionals.
30565 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30567         [BZ #16600]
30568         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30570 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30572         * Versions.def (librt): Add GLIBC_2.17.
30574 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30576         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30577         synonym for _SYS_AUXV_H to allow direct inclusion.
30578         * sysdeps/sparc/bits/hwcap.h: Likewise.
30579         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30580         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30581         * sysdeps/sparc/sysdep.h: Likewise.
30583 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30585         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30587 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30589         * benchtests/bench-strrchr.c: Print length instead of position.
30591 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30593         [BZ #16611]
30594         * sysdeps/unix/sysv/linux/kernel-features.h
30595         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30596         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30597         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30598         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30599         Likewise.
30600         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30601         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30602         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30603         (__ASSUME_SENDMMSG): Define instead of using previous
30604         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30605         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30606         (__ASSUME_SENDMMSG_SYSCALL): Define.
30607         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30608         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30609         Likewise.
30610         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30611         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30612         Likewise.
30613         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30614         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30615         Likewise.
30616         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30617         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30618         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30619         [__ASSUME_SENDMMSG]: Change conditionals to
30620         [__ASSUME_SENDMMSG_SOCKETCALL].
30621         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30622         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30623         Define.
30624         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30625         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30626         Likewise.
30627         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30628         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30629         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30630         [!__ASSUME_SENDMMSG]: Change conditional to
30631         [!__ASSUME_SENDMMSG_SOCKETCALL].
30632         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30633         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30634         Define.
30636         [BZ #16610]
30637         * sysdeps/unix/sysv/linux/kernel-features.h
30638         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30639         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30640         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30641         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30642         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30643         [__i386__ || __sparc__]
30644         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30645         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30646         (__ASSUME_RECVMMSG): Define instead of using previous
30647         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30648         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30649         (__ASSUME_RECVMMSG_SYSCALL): Define.
30650         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30651         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30652         Likewise.
30653         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30654         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30655         Likewise.
30656         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30657         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30658         Likewise.
30659         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30660         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30661         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30662         [__ASSUME_RECVMMSG]: Change condition to
30663         [__ASSUME_RECVMMSG_SOCKETCALL].
30664         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30665         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30666         Define.
30667         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30668         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30670         Likewise.
30671         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30672         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30673         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30674         [!__ASSUME_RECVMMSG]: Change condition to
30675         [!__ASSUME_RECVMMSG_SOCKETCALL].
30676         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30677         (__ASSUME_RECVMMSG_SYSCALL): Define.
30679         [BZ #16609]
30680         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30681         __powerpc__ || __s390__ || __sh__ || __sparc__]
30682         (__ASSUME_SOCKETCALL): Define.
30683         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30684         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30685         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30686         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30687         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30688         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30689         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30690         (__ASSUME_ACCEPT4): Define instead of using previous
30691         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30692         __powerpc__ || __sparc__ || __s390__)] condition.
30693         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30694         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30695         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30696         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30697         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30698         [!__ASSUME_ACCEPT4]: Change condition to
30699         [!__ASSUME_ACCEPT4_SOCKETCALL].
30700         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30701         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30702         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30703         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30704         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30705         __ASSUME_ACCEPT4_SYSCALL.
30706         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30707         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30708         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30709         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30710         __ASSUME_ACCEPT4_SYSCALL.
30711         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30712         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30713         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30714         [__ASSUME_ACCEPT4]: Change condition to
30715         [__ASSUME_ACCEPT4_SOCKETCALL].
30716         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30717         (__ASSUME_SOCKETCALL): Define.
30718         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30719         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30720         (__ASSUME_SOCKETCALL): Define.
30721         (__ASSUME_ACCEPT4): Remove.
30722         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30723         Define.
30724         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30725         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30726         Likewise.
30727         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30728         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30730         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30731         macro.
30732         (HWCAP_ARM_LPAE): Likewise.
30733         (HWCAP_ARM_EVTSTRM): Likewise.
30734         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30735         Add vpfd32, lpae and evtstrm.
30736         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30737         Increase to 22.
30739 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30741         * math/auto-libm-test-in: Add tests of clog10.
30742         * math/auto-libm-test-out: Regenerated.
30743         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30744         * sysdeps/i386/fpu/libm-test-ulps: Update.
30745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30747 2014-02-18  Andreas Schwab  <schwab@suse.de>
30749         [BZ #16574]
30750         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30751         Store non-zero if the second buffer was newly allocated.
30752         (send_dg): Likewise.
30753         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30754         to send_vc and send_dg.
30755         (res_nsend): Pass NULL for ansp2_malloced.
30756         * resolv/res_query.c (__libc_res_nquery): Add parameter
30757         answerp2_malloced and pass it down to __libc_res_nsend.
30758         (res_nquery): Pass additional NULL to __libc_res_nquery.
30759         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30760         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30761         second answer buffer if answerp2_malloced was set.
30762         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30763         (__libc_res_nquerydomain): Add parameter
30764         answerp2_malloced and pass it down to __libc_res_nquery.
30765         (res_nquerydomain): Pass additional NULL to
30766         __libc_res_nquerydomain.
30767         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30768         additional NULL to __libc_res_nsend and __libc_res_nquery.
30769         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30770         additional NULL to __libc_res_nsearch.
30771         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30772         parameter of __libc_res_nsearch to check for separately allocated
30773         second buffer.
30774         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30775         __libc_res_nquery.
30776         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30777         additional NULL to __libc_res_nquery.
30778         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30779         __libc_res_nsearch.
30780         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30781         * include/resolv.h: Update prototypes of __libc_res_nquery,
30782         __libc_res_nsearch, __libc_res_nsend.
30784 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30786         * math/auto-libm-test-in: Add tests of fma.
30787         * math/auto-libm-test-out: Regenerated.
30788         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30789         (fma_towardzero_test_data): Likewise.
30790         (fma_downward_test_data): Likewise.
30791         (fma_upward_test_data): Likewise.
30792         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30793         mpc_mode.
30794         (rounding_modes): Add values for new field.
30795         (func_calc_method): Add value mpfr_fff_f.
30796         (func_calc_desc): Add mpfr_fff_f union field.
30797         (test_function): Add field exact_args.
30798         (FUNC): Add macro argument EXACT_ARGS.
30799         (FUNC_mpfr_f_f): Update call to FUNC.
30800         (FUNC_mpfr_f_f): Likewise.
30801         (FUNC_mpfr_ff_f): Likewise.
30802         (FUNC_mpfr_if_f): Likewise.
30803         (FUNC_mpc_c_f): Likewise.
30804         (FUNC_mpc_c_c): Likewise.
30805         (test_functions): Add fma.  Update calls to FUNC.
30806         (handle_input_arg): Add argument exact_args.
30807         (add_test): Update call to handle_input_arg.
30808         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30809         (output_for_one_input_case): Update call to calc_generic_results.
30810         Recalculate exact zero results in each rounding mode.
30812         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30813         non-negative before setting low bit.
30814         * math/auto-libm-test-in: Mark one asin test possibly having
30815         spurious underflow.
30816         * math/auto-libm-test-out: Regenerated.
30817         * sysdeps/i386/fpu/libm-test-ulps: Update.
30818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30820 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30822         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30823         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30824         ports/sysdeps/unix/sysv/linux/microblaze.
30825         * README: Add missing listing for microblaze*-*-linux-gnu.
30827 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30829         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30830         duplicate code
30832 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30834         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30835         * sysdeps/unix/sysv/linux/ia64: Move directory from
30836         ports/sysdeps/unix/sysv/linux/ia64.
30837         * README: Update listing for ia64-*-linux-gnu.
30839 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30840             Joseph Myers  <joseph@codesourcery.com>
30842         * Makeconfig (test-name): New variable.
30843         (evaluate-test): Likewise.
30844         * Makerules (do-test-clean): Remove .test-result files.
30845         (common-mostlyclean): Likewise.
30846         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30847         * scripts/evaluate-test.sh: New file.
30849 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30851         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30852         separate $(objpfx)tst-fopenloc-cmp.out and
30853         $(objpfx)tst-fopenloc-mem.out targets.
30854         (tests): Update dependencies.
30855         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30856         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30857         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30858         (tst-rxspencer-no-utf8-ARGS): New variable.
30859         (tst-rxspencer-no-utf8-ENV): Likewise.
30860         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30861         instead of $(objpfx)tst-rxspencer-mem.
30862         ($(objpfx)tst-rxspencer-mem): Change target to
30863         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30864         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30865         * posix/tst-rxspencer-no-utf8.c: New file.
30867         * elf/Makefile ($(objpfx)order.out): Remove rule.
30868         [$(run-built-tests) = yes] (tests): Depend on
30869         $(objpfx)order-cmp.out.
30870         ($(objpfx)order-cmp.out): New rule.
30871         [$(run-built-tests) = yes] (tests): Depend on
30872         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30873         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30874         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30875         $(objpfx)tst-array5-static-cmp.out.
30876         ($(objpfx)tst-array1.out): Remove rule.
30877         ($(objpfx)tst-array1-cmp.out): New rule.
30878         ($(objpfx)tst-array1-static.out): Remove rule.
30879         ($(objpfx)tst-array1-static-cmp.out): New rule.
30880         ($(objpfx)tst-array2.out): Remove rule.
30881         ($(objpfx)tst-array2-cmp.out): New rule.
30882         ($(objpfx)tst-array3.out): Remove rule.
30883         ($(objpfx)tst-array3-cmp.out): New rule.
30884         ($(objpfx)tst-array4.out): Remove rule.
30885         ($(objpfx)tst-array4-cmp.out): New rule.
30886         ($(objpfx)tst-array5.out): Remove rule.
30887         ($(objpfx)tst-array5-cmp.out): New rule.
30888         ($(objpfx)tst-array5-static.out): Remove rule.
30889         ($(objpfx)tst-array5-static-cmp.out): New rule.
30890         [$(run-built-tests) = yes] (tests): Depend on
30891         $(objpfx)order2-cmp.out.
30892         ($(objpfx)order2.out): Remove rule.
30893         ($(objpfx)order2-cmp.out): New rule.
30894         ($(objpfx)tst-initorder.out): Remove rule.
30895         [$(run-built-tests) = yes] (tests): Depend on
30896         $(objpfx)tst-initorder-cmp.out.
30897         ($(objpfx)tst-initorder-cmp.out): New rule.
30898         ($(objpfx)tst-initorder2.out): Remove rule.
30899         [$(run-built-tests) = yes] (tests): Depend on
30900         $(objpfx)tst-initorder2-cmp.out.
30901         ($(objpfx)tst-initorder2-cmp.out): New rule.
30902         [$(run-built-tests) = yes] (tests): Depend on
30903         $(objpfx)tst-unused-dep-cmp.out.
30904         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
30905         ($(objpfx)tst-unused-dep-cmp.out): New rule.
30906         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
30907         on $(objpfx)tst-setvbuf1-cmp.out.
30908         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
30909         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
30910         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
30911         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
30912         ($(objpfx)tst-svc.out): Remove rule.
30913         ($(objpfx)tst-svc-cmp.out): New rule.
30915 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
30917         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
30918         * ctype/ctype.h [__USE_MISC]: Likewise.
30919         * dirent/dirent.h [__USE_MISC]: Likewise.
30920         * grp/grp.h [__USE_MISC]: Likewise.
30921         * io/fcntl.h [__USE_MISC]: Likewise.
30922         * io/sys/stat.h [__USE_MISC]: Likewise.
30923         * libio/stdio.h [__USE_MISC]: Likewise.
30924         * posix/unistd.h [__USE_MISC]: Likewise.
30925         * pwd/pwd.h [__USE_MISC]: Likewise.
30926         * stdlib.h [__USE_MISC]: Likewise.
30927         * string/bits/string2.h [__USE_MISC]: Likewise.
30928         * string/string.h [__USE_MISC]: Likewise.
30929         * time/time.h [__USE_MISC]: Likewise.
30931 2014-02-13  Andreas Schwab  <schwab@suse.de>
30933         [BZ #16574]
30934         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
30935         second answer buffer if it was separately allocated.
30937 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
30939         * sysdeps/mips/math-tests.h: Include <features.h>.
30940         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30941         (ROUNDING_TESTS_long_double): Do not define.
30942         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30943         (EXCEPTION_TESTS_long_double): Likewise.
30944         * sysdeps/mips/mips64/libm-test-ulps: Update.
30946         * include/features.h (__USE_BSD): Remove macro definitions.
30947         (__USE_SVID): Likewise.
30948         (_BSD_SOURCE): Likewise.
30949         (_SVID_SOURCE): Likewise.
30950         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
30951         from definition of _DEFAULT_SOURCE.
30952         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
30953         [_DEFAULT_SOURCE].
30954         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
30955         * bits/mman.h [__USE_BSD]: Likewise.
30956         * bits/termios.h [__USE_BSD]: Likewise.
30957         * bits/waitstatus.h [__USE_BSD]: Likewise.
30958         * ctype/ctype.h [__USE_SVID]: Likewise.
30959         * dirent/dirent.h [__USE_BSD]: Likewise.
30960         * grp/grp.h [__USE_SVID]: Likewise.
30961         [__USE_BSD]: Likewise.
30962         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
30963         * io/fcntl.h [__USE_BSD]: Likewise.
30964         * io/ftw.h [__USE_BSD]: Likewise.
30965         * io/sys/stat.h [__USE_BSD]: Likewise.
30966         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
30967         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
30968         * libio/stdio.h [__USE_SVID]: Likewise.
30969         [__USE_BSD]: Likewise.
30970         * math/math.h [__USE_SVID]: Likewise.
30971         [__USE_BSD]: Likewise.
30972         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
30973         * misc/bits/syslog.h [__USE_BSD]: Likewise.
30974         * misc/search.h [__USE_SVID]: Likewise.
30975         * misc/sys/mman.h [__USE_BSD]: Likewise.
30976         * misc/sys/syslog.h [__USE_BSD]: Likewise.
30977         * misc/sys/uio.h [__USE_BSD]: Likewise.
30978         * posix/bits/unistd.h [__USE_BSD]: Likewise.
30979         * posix/glob.h [__USE_BSD]: Likewise.
30980         * posix/regex.h [__USE_BSD]: Likewise.
30981         * posix/sys/types.h [__USE_BSD]: Likewise.
30982         [__USE_SVID]: Likewise.
30983         * posix/sys/utsname.h [__USE_SVID]: Likewise.
30984         * posix/sys/wait.h [__USE_BSD]: Likewise.
30985         [__USE_SVID]: Likewise.
30986         * posix/unistd.h [__USE_BSD]: Likewise.
30987         [__USE_SVID]: Likewise.
30988         * pwd/pwd.h [__USE_SVID]: Likewise.
30989         * resolv/netdb.h [__USE_BSD]: Likewise.
30990         * setjmp/setjmp.h [__USE_BSD]: Likewise.
30991         * signal/signal.h [__USE_BSD]: Likewise.
30992         [__USE_SVID]: Likewise.
30993         * socket/sys/socket.h [__USE_BSD]: Likewise.
30994         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
30995         * stdlib/stdlib.h [__USE_BSD]: Likewise.
30996         [__USE_SVID]: Likewise.
30997         * string/bits/string2.h [__USE_BSD]: Likewise.
30998         [__USE_SVID]: Likewise.
30999         * string/bits/string3.h [__USE_BSD]: Likewise.
31000         * string/endian.h [__USE_BSD]: Likewise.
31001         * string/string.h [__USE_SVID]: Likewise.
31002         [__USE_BSD]: Likewise.
31003         * string/strings.h [__USE_BSD]: Likewise.
31004         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31005         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31006         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31007         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31008         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31009         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31010         Likewise.
31011         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31012         Likewise.
31013         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31014         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31015         Likewise.
31016         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31017         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31018         Likewise.
31019         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31020         Likewise.
31021         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31022         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31023         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31024         Likewise.
31025         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31026         Likewise.
31027         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31028         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31029         * termios/termios.h [__USE_BSD]: Likewise.
31030         * time/sys/time.h [__USE_BSD]: Likewise.
31031         * time/time.h [__USE_BSD]: Likewise.
31032         [__USE_SVID]: Likewise.
31034         * Makefile (subdir_targets): Remove subdir_lint.out.
31036         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31037         (do-tst-printf): Likewise.
31038         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31039         $(objpfx)tst-printf.out.
31041         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31043         * Makerules (check-abi-%): Change target to
31044         $(objpfx)check-abi-%.out.
31045         (check-abi target): Update dependencies.
31046         (check-abi-pattern variable): Redirect output of diff to $@.
31047         (check-abi variable): Likewise.
31048         * elf/Makefile (check-abi): Update dependencies.
31050         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31051         unused.
31052         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31053         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31054         subnormal range.
31055         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31056         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31057         value has largest subnormal exponent.
31058         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31059         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31060         * sysdeps/aarch64/soft-fp/sfp-machine.h
31061         (_FP_TININESS_AFTER_ROUNDING): New macro.
31062         * sysdeps/alpha/soft-fp/sfp-machine.h
31063         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31064         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31065         Likewise.
31066         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31067         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31068         * sysdeps/mips/soft-fp/sfp-machine.h
31069         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31070         * sysdeps/powerpc/soft-fp/sfp-machine.h
31071         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31072         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31073         Likewise.
31074         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31075         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31076         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31077         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31078         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31079         Likewise.
31081 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31083         [BZ #16545]
31084         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31085         model 1.
31087 2014-02-12  Richard Henderson  <rth@redhat.com>
31089         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31090         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31091         * sysdeps/unix/sysv/linux/alpha: Move directory from
31092         ports/sysdeps/unix/sysv/linux/alpha.
31093         * README: Update listing for alpha-*-linux-gnu.
31095 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31097         * include/features.h: Update comment documenting feature test
31098         macros.
31099         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31100         _DEFAULT_SOURCE.
31101         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31102         (_SVID_SOURCE): Likewise.
31103         (_DEFAULT_SOURCE): Update description of default features.
31104         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31105         with _GNU_SOURCE.
31106         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31107         (S_ISVTX): Likewise.
31108         * manual/math.texi (Mathematical Constants): Likewise.
31109         * manual/signal.texi (Interrupted Primitives): Likewise.
31110         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31111         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31112         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31113         Don't refer to _SVID_SOURCE in warning text.
31115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31117         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31118         already defined.
31119         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31120         * sysdeps/mips/dl-lookup.c: Remove.
31121         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31123 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31125         [BZ #16447]
31126         * math/auto-libm-test-in: Add testcase for expl.
31127         * math/auto-libm-test-out: Regenerate.
31128         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31129         calculation of unsafe.
31130         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31132 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31134         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31135         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31136         ports/sysdeps/unix/sysv/linux/aarch64.
31137         * README: Update listing for aarch64*-*-linux-gnu.
31139 2014-02-11  Will Newton  <will.newton@linaro.org>
31141         * manual/probes.texi (Mathematical Function Probes): Use
31142         "triggered" instead of "hit".
31144         * manual/probes.texi (Internal Probes): Add documentation
31145         of setjmp, longjmp and longjmp_target probes.
31147         * include/stap-probe.h: Add comment about probe argument
31148         format.
31150         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31151         definition.  (tr_where, tr_freehook, tr_mallochook,
31152         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31154 2014-02-11  David S. Miller  <davem@davemloft.net>
31156         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31157         processing int_tests.
31159 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31161         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31162         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31163         * sysdeps/unix/sysv/linux/mips: Move directory from
31164         ports/sysdeps/unix/sysv/linux/mips.
31165         * README: Update listing for mips-*-linux-gnu and
31166         mips64-*-linux-gnu.
31168 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31170         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31171         * sysdeps/unix/sysv/linux/m68k: Move directory from
31172         ports/sysdeps/unix/sysv/linux/m68k.
31173         * README: Update listing for m68k-*-linux-gnu.
31175 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31177         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31178         * sysdeps/unix/sysv/linux/generic: Move directory from
31179         ports/sysdeps/unix/sysv/linux/generic.
31180         * sysdeps/unix/sysv/linux/tile: Move directory from
31181         ports/sysdeps/unix/sysv/linux/tile.
31182         * README: Update listing for tile*-*-linux-gnu.
31184 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31186         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31187         __builtin_expect.
31188         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31189         * catgets/open_catalog.c (__open_catalog): Likewise.
31190         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31191         * debug/confstr_chk.c: Likewise.
31192         * debug/fread_chk.c (__fread_chk): Likewise.
31193         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31194         * debug/getgroups_chk.c: Likewise.
31195         * debug/mbsnrtowcs_chk.c: Likewise.
31196         * debug/mbsrtowcs_chk.c: Likewise.
31197         * debug/mbstowcs_chk.c: Likewise.
31198         * debug/memcpy_chk.c: Likewise.
31199         * debug/memmove_chk.c: Likewise.
31200         * debug/mempcpy_chk.c: Likewise.
31201         * debug/memset_chk.c: Likewise.
31202         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31203         * debug/strcat_chk.c (__strcat_chk): Likewise.
31204         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31205         * debug/strncat_chk.c (__strncat_chk): Likewise.
31206         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31207         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31208         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31209         * debug/wcpncpy_chk.c: Likewise.
31210         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31211         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31212         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31213         * debug/wcsncpy_chk.c: Likewise.
31214         * debug/wcsnrtombs_chk.c: Likewise.
31215         * debug/wcsrtombs_chk.c: Likewise.
31216         * debug/wcstombs_chk.c: Likewise.
31217         * debug/wmemcpy_chk.c: Likewise.
31218         * debug/wmemmove_chk.c: Likewise.
31219         * debug/wmempcpy_chk.c: Likewise.
31220         * debug/wmemset_chk.c: Likewise.
31221         * dirent/scandirat.c (SCANDIRAT): Likewise.
31222         * dlfcn/dladdr1.c (dladdr1): Likewise.
31223         * dlfcn/dladdr.c (dladdr): Likewise.
31224         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31225         * dlfcn/dlerror.c (__dlerror): Likewise.
31226         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31227         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31228         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31229         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31230         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31231         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31232         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31233         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31234         Likewise.
31235         * elf/dl-conflict.c: Likewise.
31236         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31237         * elf/dl-dst.h: Likewise.
31238         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31239         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31240         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31241         * elf/dl-init.c (call_init, _dl_init): Likewise.
31242         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31243         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31244         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31245         Likewise.
31246         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31247         Likewise.
31248         * elf/dl-minimal.c (__libc_memalign): Likewise.
31249         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31250         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31251         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31252         * elf/dl-sym.c (do_sym): Likewise.
31253         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31254         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31255         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31256         * elf/dl-writev.h (_dl_writev): Likewise.
31257         * elf/ldconfig.c (search_dir): Likewise.
31258         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31259         (dl_main): Likewise.
31260         * elf/setup-vdso.h (setup_vdso): Likewise.
31261         * grp/compat-initgroups.c (compat_call): Likewise.
31262         * grp/fgetgrent.c (fgetgrent): Likewise.
31263         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31264         * grp/putgrent.c (putgrent): Likewise.
31265         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31266         Likewise.
31267         * hurd/hurdinit.c: Likewise.
31268         * iconvdata/8bit-gap.c (struct): Likewise.
31269         * iconvdata/ansi_x3.110.c : Likewise.
31270         * iconvdata/big5.c : Likewise.
31271         * iconvdata/big5hkscs.c : Likewise.
31272         * iconvdata/cp1255.c: Likewise.
31273         * iconvdata/cp1258.c : Likewise.
31274         * iconvdata/cp932.c : Likewise.
31275         * iconvdata/euc-cn.c: Likewise.
31276         * iconvdata/euc-jisx0213.c : Likewise.
31277         * iconvdata/euc-jp.c: Likewise.
31278         * iconvdata/euc-jp-ms.c : Likewise.
31279         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31280         * iconvdata/gb18030.c : Likewise.
31281         * iconvdata/gbbig5.c (const): Likewise.
31282         * iconvdata/gbgbk.c: Likewise.
31283         * iconvdata/gbk.c : Likewise.
31284         * iconvdata/ibm1364.c : Likewise.
31285         * iconvdata/ibm930.c : Likewise.
31286         * iconvdata/ibm932.c: Likewise.
31287         * iconvdata/ibm933.c : Likewise.
31288         * iconvdata/ibm935.c : Likewise.
31289         * iconvdata/ibm937.c : Likewise.
31290         * iconvdata/ibm939.c : Likewise.
31291         * iconvdata/ibm943.c: Likewise.
31292         * iconvdata/iso_11548-1.c: Likewise.
31293         * iconvdata/iso-2022-cn.c : Likewise.
31294         * iconvdata/iso-2022-cn-ext.c : Likewise.
31295         * iconvdata/iso-2022-jp-3.c: Likewise.
31296         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31297         * iconvdata/iso-2022-kr.c : Likewise.
31298         * iconvdata/iso646.c (gconv_end): Likewise.
31299         * iconvdata/iso_6937-2.c : Likewise.
31300         * iconvdata/iso_6937.c : Likewise.
31301         * iconvdata/iso8859-1.c: Likewise.
31302         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31303         * iconvdata/shift_jisx0213.c : Likewise.
31304         * iconvdata/sjis.c : Likewise.
31305         * iconvdata/t.61.c : Likewise.
31306         * iconvdata/tcvn5712-1.c : Likewise.
31307         * iconvdata/tscii.c: Likewise.
31308         * iconvdata/uhc.c : Likewise.
31309         * iconvdata/unicode.c (gconv_end): Likewise.
31310         * iconvdata/utf-16.c (gconv_end): Likewise.
31311         * iconvdata/utf-32.c (gconv_end): Likewise.
31312         * iconvdata/utf-7.c (base64): Likewise.
31313         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31314         * iconv/gconv_close.c (__gconv_close): Likewise.
31315         * iconv/gconv_open.c (__gconv_open): Likewise.
31316         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31317         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31318         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31319         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31320         (ucs4le_internal_loop_single): Likewise.
31321         * iconv/iconv.c (iconv): Likewise.
31322         * iconv/iconv_close.c: Likewise.
31323         * iconv/loop.c (SINGLE): Likewise.
31324         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31325         * include/atomic.h: Likewise.
31326         * inet/inet6_option.c (option_alloc): Likewise.
31327         * intl/bindtextdom.c (set_binding_values): Likewise.
31328         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31329         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31330         * intl/localealias.c (read_alias_file): Likewise.
31331         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31332         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31333         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31334         * libio/fmemopen.c (fmemopen): Likewise.
31335         * libio/iofgets.c (_IO_fgets): Likewise.
31336         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31337         * libio/iofgetws.c (fgetws): Likewise.
31338         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31339         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31340         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31341         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31342         * locale/findlocale.c (_nl_find_locale): Likewise.
31343         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31344         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31345         Likewise.
31346         * locale/setlocale.c (setlocale): Likewise.
31347         * login/programs/pt_chown.c (main): Likewise.
31348         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31349         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31350         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31351         (mmap, mmap64, mremap, munmap): Likewise.
31352         * math/e_exp2l.c: Likewise.
31353         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31354         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31355         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31356         * math/s_catan.c (__catan): Likewise.
31357         * math/s_catanf.c (__catanf): Likewise.
31358         * math/s_catanh.c (__catanh): Likewise.
31359         * math/s_catanhf.c (__catanhf): Likewise.
31360         * math/s_catanhl.c (__catanhl): Likewise.
31361         * math/s_catanl.c (__catanl): Likewise.
31362         * math/s_ccosh.c (__ccosh): Likewise.
31363         * math/s_ccoshf.c (__ccoshf): Likewise.
31364         * math/s_ccoshl.c (__ccoshl): Likewise.
31365         * math/s_cexp.c (__cexp): Likewise.
31366         * math/s_cexpf.c (__cexpf): Likewise.
31367         * math/s_cexpl.c (__cexpl): Likewise.
31368         * math/s_clog10.c (__clog10): Likewise.
31369         * math/s_clog10f.c (__clog10f): Likewise.
31370         * math/s_clog10l.c (__clog10l): Likewise.
31371         * math/s_clog.c (__clog): Likewise.
31372         * math/s_clogf.c (__clogf): Likewise.
31373         * math/s_clogl.c (__clogl): Likewise.
31374         * math/s_csin.c (__csin): Likewise.
31375         * math/s_csinf.c (__csinf): Likewise.
31376         * math/s_csinh.c (__csinh): Likewise.
31377         * math/s_csinhf.c (__csinhf): Likewise.
31378         * math/s_csinhl.c (__csinhl): Likewise.
31379         * math/s_csinl.c (__csinl): Likewise.
31380         * math/s_csqrt.c (__csqrt): Likewise.
31381         * math/s_csqrtf.c (__csqrtf): Likewise.
31382         * math/s_csqrtl.c (__csqrtl): Likewise.
31383         * math/s_ctan.c (__ctan): Likewise.
31384         * math/s_ctanf.c (__ctanf): Likewise.
31385         * math/s_ctanh.c (__ctanh): Likewise.
31386         * math/s_ctanhf.c (__ctanhf): Likewise.
31387         * math/s_ctanhl.c (__ctanhl): Likewise.
31388         * math/s_ctanl.c (__ctanl): Likewise.
31389         * math/w_pow.c: Likewise.
31390         * math/w_powf.c: Likewise.
31391         * math/w_powl.c: Likewise.
31392         * math/w_scalb.c (sysv_scalb): Likewise.
31393         * math/w_scalbf.c (sysv_scalbf): Likewise.
31394         * math/w_scalbl.c (sysv_scalbl): Likewise.
31395         * misc/error.c (error_tail): Likewise.
31396         * misc/pselect.c (__pselect): Likewise.
31397         * nis/nis_callback.c (__nis_create_callback): Likewise.
31398         * nis/nis_call.c (__nisfind_server): Likewise.
31399         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31400         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31401         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31402         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31403         * nis/nis_lookup.c (nis_lookup): Likewise.
31404         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31405         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31406         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31407         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31408         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31409         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31410         * nis/nss_compat/compat-initgroups.c (add_group)
31411         (internal_getgrent_r): Likewise.
31412         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31413         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31414         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31415         (internal_getspnam_r): Likewise.
31416         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31417         (_nss_nis_getaliasbyname_r): Likewise.
31418         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31419         (_nss_nis_getntohost_r): Likewise.
31420         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31421         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31422         (_nss_nis_getgrgid_r): Likewise.
31423         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31424         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31425         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31426         (_nss_nis_gethostbyname4_r): Likewise.
31427         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31428         (initgroups_netid): Likewise.
31429         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31430         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31431         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31432         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31433         (_nss_nis_getprotobynumber_r): Likewise.
31434         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31435         (_nss_nis_getsecretkey): Likewise.
31436         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31437         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31438         (_nss_nis_getpwuid_r): Likewise.
31439         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31440         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31441         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31442         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31443         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31444         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31445         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31446         Likewise.
31447         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31448         (_nss_nisplus_getntohost_r): Likewise.
31449         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31450         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31451         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31452         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31453         Likewise.
31454         * nis/nss_nisplus/nisplus-initgroups.c
31455         (_nss_nisplus_initgroups_dyn): Likewise.
31456         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31457         (_nss_nisplus_getnetbyaddr_r): Likewise.
31458         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31459         (_nss_nisplus_getprotobynumber_r): Likewise.
31460         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31461         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31462         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31463         Likewise.
31464         * nis/nss_nisplus/nisplus-service.c
31465         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31466         (_nss_nisplus_getservbyport_r): Likewise.
31467         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31468         (_nss_nisplus_getspnam_r): Likewise.
31469         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31470         Likewise.
31471         * nscd/aicache.c (addhstaiX): Likewise.
31472         * nscd/cache.c (cache_search, prune_cache): Likewise.
31473         * nscd/connections.c (register_traced_file, send_ro_fd)
31474         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31475         (main_loop_epoll): Likewise.
31476         * nscd/grpcache.c (addgrbyX): Likewise.
31477         * nscd/hstcache.c (addhstbyX): Likewise.
31478         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31479         * nscd/mem.c (gc, mempool_alloc): Likewise.
31480         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31481         (addinnetgrX): Likewise.
31482         * nscd/nscd-client.h (__nscd_acquire_maplock)
31483         (__nscd_drop_map_ref): Likewise.
31484         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31485         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31486         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31487         Likewise.
31488         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31489         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31490         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31491         (__nscd_get_map_ref): Likewise.
31492         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31493         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31494         Likewise.
31495         * nscd/pwdcache.c (addpwbyX): Likewise.
31496         * nscd/selinux.c (preserve_capabilities): Likewise.
31497         * nscd/servicescache.c (addservbyX): Likewise.
31498         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31499         * posix/fnmatch.c (fnmatch): Likewise.
31500         * posix/getopt.c (_getopt_internal_r): Likewise.
31501         * posix/glob.c (glob, glob_in_dir): Likewise.
31502         * posix/wordexp.c (exec_comm_child): Likewise.
31503         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31504         (getanswer_r, gaih_getanswer_slice): Likewise.
31505         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31506         * resolv/res_init.c: Likewise.
31507         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31508         * resolv/res_query.c (__libc_res_nquery): Likewise.
31509         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31510         Likewise.
31511         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31512         * stdio-common/perror.c (perror): Likewise.
31513         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31514         * stdio-common/tmpnam.c (tmpnam): Likewise.
31515         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31516         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31517         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31518         Likewise.
31519         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31520         * stdlib/putenv.c (putenv): Likewise.
31521         * stdlib/setenv.c (__add_to_environ): Likewise.
31522         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31523         * stdlib/strtol_l.c (INTERNAL): Likewise.
31524         * string/memmem.c (memmem): Likewise.
31525         * string/strerror.c (strerror): Likewise.
31526         * string/strnlen.c (__strnlen): Likewise.
31527         * string/test-memmem.c (simple_memmem): Likewise.
31528         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31529         * sunrpc/pm_getport.c (__get_socket): Likewise.
31530         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31531         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31532         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31533         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31534         Likewise.
31535         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31536         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31537         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31538         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31539         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31540         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31541         Likewise.
31542         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31543         Likewise.
31544         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31545         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31546         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31547         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31548         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31549         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31550         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31551         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31552         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31553         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31554         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31555         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31556         Likewise.
31557         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31558         Likewise.
31559         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31560         Likewise.
31561         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31562         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31563         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31564         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31565         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31566         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31567         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31568         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31569         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31570         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31571         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31573         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31574         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31575         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31576         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31577         Likewise.
31578         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31579         Likewise.
31580         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31581         Likewise.
31582         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31583         Likewise.
31584         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31585         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31586         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31587         Likewise.
31588         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31589         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31590         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31591         * sysdeps/posix/sleep.c: Likewise.
31592         * sysdeps/posix/tempname.c: Likewise.
31593         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31594         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31595         Likewise.
31596         * sysdeps/powerpc/powerpc32/dl-machine.h
31597         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31598         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31599         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31600         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31601         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31602         Likewise.
31603         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31604         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31605         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31606         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31607         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31608         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31609         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31610         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31611         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31612         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31613         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31614         (elf_machine_lazy_rel): Likewise.
31615         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31616         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31617         (elf_machine_lazy_rel): Likewise.
31618         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31619         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31620         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31621         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31622         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31623         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31624         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31625         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31626         Likewise.
31627         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31628         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31629         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31630         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31631         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31632         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31633         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31634         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31635         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31636         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31637         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31638         Likewise.
31639         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31640         (__posix_fallocate64_l64): Likewise.
31641         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31642         (posix_fallocate): Likewise.
31643         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31644         Likewise.
31645         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31646         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31647         (getifaddrs_internal): Likewise.
31648         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31649         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31650         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31651         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31652         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31653         (__posix_fallocate64_l64): Likewise.
31654         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31655         Likewise.
31656         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31657         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31658         (__get_clockfreq): Likewise.
31659         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31660         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31661         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31662         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31663         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31664         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31665         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31666         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31667         Likewise.
31668         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31669         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31670         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31671         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31672         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31673         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31674         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31675         Likewise.
31676         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31677         (posix_fallocate): Likewise.
31678         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31679         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31680         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31681         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31682         (elf_machine_rela, elf_machine_rela_relative)
31683         (elf_machine_lazy_rel): Likewise.
31684         * time/asctime.c (asctime_internal): Likewise.
31685         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31686         * time/tzset.c (__tzset_parse_tz): Likewise.
31687         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31688         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31689         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31690         * wcsmbs/wcsmbsload.h: Likewise.
31692         [BZ #15894]
31693         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31695         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31696         (arena_get2): Remove THREAD_STATS conditionals.
31697         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31698         (__malloc_stats, int): Likewise.
31700 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31702         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31703         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31705         * manual/setjmp.texi: Fix typos/grammar errors.
31707         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31708         Only return early when n is <= 0.  Delete unused return statement.
31710         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31711         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31712         * debug/tst-longjmp_chk3.c: New file.
31714         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31715         (test_main): Replace code with set_fortify_handler call.
31716         * debug/test-strcpy_chk.c: Likewise.
31717         * debug/tst-chk1.c: Likewise.
31718         * debug/tst-longjmp_chk.c: Likewise.
31719         * test-skeleton.c: Include fcntl.h & paths.h
31720         (set_fortify_handler): Define.
31722         * debug/tst-longjmp_chk.c: Add header comment and include
31723         ../test-skeleton.c.
31724         (do_test): Mark static.
31725         (TEST_FUNCTION): Define.
31727         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31728         (IP_PMTUDISC_INTERFACE): Likewise.
31729         (IP_MULTICAST_IF): Likewise.
31730         (IP_MULTICAST_TTL): Likewise.
31731         (IP_MULTICAST_LOOP): Likewise.
31732         (IP_ADD_MEMBERSHIP): Likewise.
31733         (IP_DROP_MEMBERSHIP): Likewise.
31734         (IP_UNBLOCK_SOURCE): Likewise.
31735         (IP_BLOCK_SOURCE): Likewise.
31736         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31737         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31738         (IP_MSFILTER): Likewise.
31739         (MCAST_JOIN_GROUP): Likewise.
31740         (MCAST_BLOCK_SOURCE): Likewise.
31741         (MCAST_UNBLOCK_SOURCE): Likewise.
31742         (MCAST_LEAVE_GROUP): Likewise.
31743         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31744         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31745         (MCAST_MSFILTER): Likewise.
31746         (IP_MULTICAST_ALL): Likewise.
31747         (IP_UNICAST_IF): Likewise.
31749         * timezone/Makefile: Delete $(have-ksh) check.
31750         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31751         * timezone/tzselect.ksh: Add +x mode bits.
31753         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31754         (ANON_INODE_FS_MAGIC): Likewise.
31755         (BDEVFS_MAGIC): Likewise.
31756         (BINFMTFS_MAGIC): Likewise.
31757         (BTRFS_TEST_MAGIC): Likewise.
31758         (CRAMFS_MAGIC_WEND): Likewise.
31759         (DEBUGFS_MAGIC): Likewise.
31760         (ECRYPTFS_SUPER_MAGIC): Likewise.
31761         (EXT3_SUPER_MAGIC): Likewise.
31762         (EXT4_SUPER_MAGIC): Likewise.
31763         (FUTEXFS_SUPER_MAGIC): Likewise.
31764         (HOSTFS_SUPER_MAGIC): Likewise.
31765         (HUGETLBFS_MAGIC): Likewise.
31766         (MINIX3_SUPER_MAGIC): Likewise.
31767         (MTD_INODE_FS_MAGIC): Likewise.
31768         (NILFS_SUPER_MAGIC): Likewise.
31769         (OPENPROM_SUPER_MAGIC): Likewise.
31770         (PIPEFS_MAGIC): Likewise.
31771         (PSTOREFS_MAGIC): Likewise.
31772         (QNX6_SUPER_MAGIC): Likewise.
31773         (RAMFS_MAGIC): Likewise.
31774         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31775         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31776         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31777         (SECURITYFS_MAGIC): Likewise.
31778         (SELINUX_MAGIC): Likewise.
31779         (SMACK_MAGIC): Likewise.
31780         (SOCKFS_MAGIC): Likewise.
31781         (SQUASHFS_MAGIC): Likewise.
31782         (STACK_END_MAGIC): Likewise.
31783         (TMPFS_MAGIC): Likewise.
31784         (USBDEVICE_SUPER_MAGIC): Likewise.
31785         (V9FS_MAGIC): Likewise.
31786         (XENFS_SUPER_MAGIC): Likewise.
31787         (CRAMFS_MAGIC): Fix typo in comment.
31788         (EXT2_SUPER_MAGIC): Update comment.
31789         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31791 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31793         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31794         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31795         * sysdeps/unix/sysv/linux/arm: Move directory from
31796         ports/sysdeps/unix/sysv/linux/arm.
31797         * README: Update listing for arm-*-linux-gnueabi.
31799         * README: Remove mention of am33.
31801 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31803         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31804         than the comma operator, to avoid "rhs of comma has no effect"
31805         compiler warnings.
31806         (__sigfillset, __sigandset, __sigorset): Likewise.
31807         * include/signal.h (__sigemptyset): Likewise.
31808         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31810 2014-02-07  Allan McRae  <allan@archlinux.org>
31812         * version.h (RELEASE): Set to "development".
31813         (VERSION): Set to "2.19.90"
31814         * NEWS: Add 2.20 section.
31816 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31818         [BZ #16529]
31819         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31821 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31823         * manual/contrib.texi: Update entry for Carlos O'Donell,
31824         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31826 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31828         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31830         * sysdeps/unix/sysv/linux/kernel-features.h
31831         [__LINUX_KERNEL_VERSION >= 0x020621]
31832         (__ASSUME_PROC_PID_TASK_COMM): Define.
31834 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31836         [BZ #16398]
31837         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31838         conversion when destination buffer does not have enough space.
31839         * libio/tst-ftell-partial-wide.c: New test case.
31840         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31842         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31843         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31844         Leonard and Allan McRae.
31846 2014-02-04  David S. Miller  <davem@davemloft.net>
31848         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31849         32-bit.
31851 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31854         New file
31855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31856         New file
31857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31858         New file.
31859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31860         New file.
31861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31862         New file.
31863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31864         New file.
31865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31866         New file.
31867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31868         New file.
31869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31870         New file.
31871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31872         New file.
31873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31874         New file.
31875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31876         New file.
31877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31878         New file.
31880 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31882         * nptl/shlib-versions: Change powerpc*le start to 2.17.
31883         * shlib-versions: Likewise.
31885 2014-02-04  Roland McGrath  <roland@hack.frob.com>
31886             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31888         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
31889         (abilist-pattern): New variable, set to %-le.abilist.
31891         * Makerules (abilist-pattern): New variable.
31892         (vpath): Use $(abilist-pattern) in place of %.abilist.
31893         (check-abi-% pattern rule): Likewise.
31894         (check-abi, update-abi): Likewise.
31896 2014-02-04  Eric Wong  <normalperson@yhbt.net>
31898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31900 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
31902         * manual/startup.texi: Add next, previous, and top entries for
31903         the `Program Arguments' and `Environment Variables' nodes.
31905 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
31907         * manual/macros.texi: Add comments before MTASC-safety macros.
31909         * manual/users.texi: Document MTASC-safety properties.
31911         * manual/threads.texi (pthread_key_create, pthread_key_delete)
31912         (pthread_getspecific, pthread_setspecific): Format with
31913         @deftypefun, and add @safety note.
31914         * manual/signal.texi: Move comments that analyze the above
31915         functions to their home place.
31917 2014-02-03  Allan McRae  <allan@archlinux.org>
31919         * po/sl.po: Update Slovenian translation from translation project.
31921 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
31923         * manual/time.texi (timegm): Add missing blank after @c.
31924         Reported by Joseph Myers <joseph@codesourcery.com>.
31926 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
31928         * manual/check-safety.sh: New.
31929         * manual/Makefile ($(objpfx)stamp-summary): Run it.
31931         * manual/terminal.texi: Document MTASC-safety properties.
31933         * manual/filesys.texi: Document MTASC-safety properties.
31935         * manual/errno.texi: Document MTASC-safety properties.
31937         * manual/intro.texi: Document safety identifiers and
31938         conditionals.
31940         * manual/string.texi (wcstok): Fix prototype.
31941         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
31943         * manual/time.texi: Document MTASC-safety properties.
31945         * manual/string.texi: Document MTASC-safety properties.
31947         * manual/threads.texi: Document MTASC-safety properties.
31949         * manual/stdio.texi: Document MTASC-safety properties.
31951         * manual/syslog.texi: Document MTASC-safety properties.
31953         * manual/sysinfo.texi: Document MTASC-safety properties.
31955         * manual/startup.texi: Document MTASC-safety properties.
31957         * manual/socket.texi: Document MTASC-safety properties.
31959         * manual/signal.texi: Document MTASC-safety properties.
31961 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
31963         * manual/setjmp.texi: Document MTASC-safety properties.
31965         * manual/search.texi: Document MTASC-safety properties.
31967         * manual/resource.texi: Document MTASC-safety properties.
31969         * manual/process.texi: Document MTASC-safety properties.
31971         * manual/platform.texi: Document MTASC-safety properties.
31973         * manual/pipe.texi: Document MTASC-safety properties.
31975         * manual/pattern.texi: Document MTASC-safety properties.
31977         * manual/message.texi: Document MTASC-safety properties.
31979         [BZ #12751]
31980         * manual/memory.texi: Document MTASC-safety properties.
31982         * manual/math.texi: Document MTASC-safety properties.
31984         * manual/locale.texi: Document MTASC-safety properties.
31986         * manual/llio.texi: Document MTASC-safety properties.
31988         * manual/libdl.texi: New.
31990         * manual/lang.texi: Document MTASC-safety properties.
31992         * manual/job.texi: Document MTASC-safety properties.
31994         * manual/getopt.texi: Document MTASC-safety properties.
31996         * manual/ctype.texi: Document MTASC-safety properties.
31998 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32000         [BZ #16046]
32001         * csu/libc-tls.c (static_map): Remove variable.
32002         (__libc_setup_tls): Use main executable's link map for TLS data.
32003         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32004         casing for LM_ID_BASE and GL(dl_nns).
32005         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32006         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32007         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32008         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32009         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32010         member.
32011         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32012         l_phnum members.
32014 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32016         * manual/debug.texi: Document MTASC-safety properties.
32018 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32020         [BZ #16510]
32021         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32022         of __x86_64__ when disabling x87 inline functions.
32024 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32026         * manual/charset.texi: Document MTASC-safety properties.
32028         * manual/crypt.texi: Document MTASC-safety properties.
32030         * manual/conf.texi: Document MTASC-safety properties.
32032         * manual/arith.texi: Document MTASC-safety properties.
32034         * manual/argp.texi: Document MTASC-safety properties.
32036         * manual/macros.texi: Introduce macros to document multi
32037         thread, asynchronous signal and asynchronous cancellation
32038         safety properties.
32039         * manual/intro.texi: Introduce the properties themselves.
32041 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32043         * sysdeps/sh/sh4/Makefile: New file.
32045 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32047         * math/gen-libm-test.pl ($srcdir): New variable.
32048         ($auto_input): Use it.
32050 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32052         [BZ #16506]
32053         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32054         access beyond array bounds when parsing netgroups file.
32056         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32057         the old buffer before realloc.
32059 2014-01-27  Allan McRae  <allan@archlinux.org>
32061         * po/fr.po: Update French translation from translation project.
32063 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32065         * sysdeps/sh/libm-test-ulps: Regenerate.
32067 2014-01-24  David S. Miller  <davem@davemloft.net>
32069         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32071 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32073         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32074         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32076 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32078         [BZ #16474]
32079         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32080         string pointers after reallocation.
32082 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32084         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32085         __SH4A__ instead of __SH_FPU_ANY__.
32087 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32089         * sysdeps/sh/fpu_control.h: New file.
32090         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32091         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32092         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32093         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32094         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32095         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32096         * sysdeps/sh/sys/ucontext.h: Remove.
32097         * sysdeps/sh/sys: Remove directory.
32099 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32101         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32102         s390/sys/ucontext.h.
32103         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32104         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32106 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32108         [BZ #15605]
32109         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32111 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32113         [BZ#16431]
32114         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32115         Adjust the vDSO correctly for internal calls.
32116         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32118 2014-01-20  Allan McRae  <allan@archlinux.org>
32120         * po/ca.po: Update Catalan translation from translation project.
32122 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32124         * sysdeps/s390/sotruss-lib.c: New file.
32126 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32128         [BZ#16430]
32129         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32130         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32131         local calls issues by not having a PLT stub required for IFUNC calls.
32132         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32134 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32136         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32137         * math/test-fpucw-static.c: Likewise.
32139 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32141         [BZ #16453]
32142         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32144 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32146         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32147         implementation for powerpc.
32149 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32151         [BZ #14782]
32152         * sysdeps/posix/system.c (__libc_system): Do not enable
32153         asynchronous cancellation.
32155 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32157         [BZ #16427]
32158         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32159         handling only for numbers special also in the IEEE case.
32161 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32163         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32165 2014-01-11  Allan McRae  <allan@archlinux.org>
32167         * po/bg.po: Update Bulgarian translation from translation project.
32169         * po/de.po: Update German translation from translation project.
32171 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32173         * sysdeps/generic/gcc-compat.h: New file.
32175 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32177         * benchtests/asin-inputs: Correct slow inputs.
32178         * benchtests/acos-inputs: Likewise.
32180 2014-01-10  Allan McRae  <allan@archlinux.org>
32182         * po:sv.po: Update Swedish translation from translation project.
32184         * po/vi.po: Update Vietnamese translation from translation project.
32186         * po/eo.po: Update Esperanto translation from translation project.
32188         * po/cs.po: Update Czech translation from translation project.
32190         * po/nl.po: Update Dutch translation from translation project.
32192         * po/pl.po: Update Polish translation from translation project.
32194         * po/ru.po: Update Russian translation from translation project.
32196         * po/uk.po: Update Ukrainian translation from translation project.
32198 2014-01-08  Brooks Moses  <bmoses@google.com>
32200         * elf/dl-load.c: Fix comment typo.
32202 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32204         * po/header.pot: Rename to...
32205         * po/pot.header: ... this.
32206         * po/Makefile: Use pot.header.
32208 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32209             Maxim Kuvyrkov  <maxim@kugelworks.com>
32211         [BZ #16394]
32212         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32213         SRC and DEST against LEN.
32215 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32217         [BZ #16414]
32218         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32219         implementation.
32220         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32222 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32226 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32228         [BZ #16408]
32229         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32230         for large positive arguments.
32232 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32234         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32236         * math/auto-libm-test-in: Mark various tests with
32237         xfail-rounding:ldbl-128ibm.
32238         * math/auto-libm-test-out: Regenerated.
32240         [BZ #16407]
32241         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32242         Increase overflow threshold.
32244 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32246         [BZ #14286]
32247         * stdio-common/vfprintf.c: Check for integer overflow.
32249 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32251         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32252         the first argument and return value of __tls_get_addr_internal.
32254 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32256         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32257         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32259 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32261         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32262         * sysdeps/s390/rtld-global-offsets.sym: New file.
32263         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32264         GLIBC_2.19 symbol.
32265         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32266         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32267         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32268         ... this.
32269         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32270         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32271         ... this.
32272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32273         Regenerate.
32274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32275         Regenerate.
32276         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32277         halfs of GPRs for high_gprs contexts.
32278         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32279         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32280         field.
32281         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32282         uc_flags field.
32283         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32284         64 bit versions:
32285         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32286         for high GPRs (uc_high_gprs) and for future extensions
32287         (__reserved).
32288         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32289         for future extensions (__reserved).
32290         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32291         64 bit versions:
32292         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32293         SC_HIGHGPRS offset definition.
32294         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32295         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32297         * Versions.def: Add GLIBC_2.19 for libpthread.
32298         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32299         siglongjmp for libpthread with GLIBC_2.19 symver.
32300         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32301         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32302         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32303         * sysdeps/s390/__longjmp.c: New file.
32304         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32305         * sysdeps/s390/longjmp.c: New file.
32306         * sysdeps/s390/setjmp.S: New file.
32307         * sysdeps/s390/sigjmp.S: New file.
32308         * sysdeps/s390/v1-longjmp.c: New file.
32309         * sysdeps/s390/v1-setjmp.h: New file.
32310         * sysdeps/s390/v1-sigjmp.c: New file.
32311         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32312         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32313         GLIBC_2.19 version.
32314         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32315         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32316         versioned symbols for ____longjmp_chk.
32317         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32318         Likewise.
32319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32320         Regenerate.
32321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32322         Regenerate.
32323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32324         Regenerate.
32325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32326         Regenerate.
32327         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32328         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32329         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32330         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32331         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32332         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32333         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32334         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32335         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32336         * sysdeps/s390/rtld-__longjmp.c: New file.
32337         * sysdeps/s390/rtld-setjmp.S: New file.
32339 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32341         [BZ #16400]
32342         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32343         Return -__logl (x) for small positive arguments without evaluating
32344         a polynomial.
32346 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32348         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32349         Rename to ...
32350         (__ptrace_peeksiginfo_args): ... this.
32351         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32352         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32353         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32355 2014-01-06  Allan McRae  <allan@archlinux.org>
32357         * inet/netinet/in.h: Fix typo in comment.
32359 2014-01-05  Andreas Jaeger  <aj@suse.de>
32361         * sysdeps/i386/fpu/libm-test-ulps: Update.
32363 2014-01-05  Allan McRae  <allan@archlinux.org>
32365         * po/libc.pot: Regenerated.
32367         * malloc/memusagestat.c: Fix gettext call formatting.
32369 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32371         * nscd/nscd.c: Improve usage() output.
32373 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32375         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32376         * sysdeps/unix/sysv/linux/configure: Regenerated.
32377         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32378         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32380 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32382         [BZ #16390]
32383         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32384         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32386 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32388         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32389         extra tokens at end of #undef directive.
32390         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32391         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32392         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32394 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32396         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32398         * math/auto-libm-test-in: Mark various tests with
32399         xfail-rounding:ldbl-128ibm.
32400         * math/auto-libm-test-out: Regenerated.
32402 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32404         [BZ #16386]
32405         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32406         numbers with subnormal high part when calculating exponent.
32408         [BZ #16385]
32409         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32410         fabs.
32412         [BZ #16384]
32413         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32414         M_LN2l.
32415         (__ieee754_acoshl): Use __log1pl not __log1p.
32417 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32419         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32420         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32421         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32422         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32423         (reused_arena, arena_get2): Convert to GNU style.
32424         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32425         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32426         (memalign_check, __malloc_set_state): Likewise.
32427         * malloc/mallocbug.c (main): Likewise.
32428         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32429         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32430         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32431         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32432         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32433         (__posix_memalign, malloc_info): Likewise.
32434         * malloc/malloc.h: Likewise.
32435         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32436         (mallochook, memalignhook, reallochook, mabort): Likewise.
32437         * malloc/mcheck.h: Likewise.
32438         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32439         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32440         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32441         * malloc/morecore.c (__default_morecore): Likewise.
32442         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32443         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32444         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32445         (print_and_abort): Likewise.
32446         * malloc/obstack.h: Likewise.
32447         * malloc/set-freeres.c (__libc_freeres): Likewise.
32448         * malloc/tst-mallocstate.c (main): Likewise.
32449         * malloc/tst-mtrace.c (main): Likewise.
32450         * malloc/tst-realloc.c (do_test): Likewise.
32452 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32454         [BZ #16366]
32455         * nscd/netgroupcache.c (do_notfound): New function.
32456         (addgetnetgrentX): Use it.
32458         [BZ # 16365]
32459         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32460         NSS_STATUS_NOTFOUND.
32462 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32464         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32467 2014-01-01  Allan McRae  <allan@archlinux.org>
32469         * scripts/update-copyrights: Update configure input file suffix.
32471         * NEWS: Update copyright year.
32472         * catgets/gencat.c: Likewise.
32473         * csu/version.c: Likewise.
32474         * debug/catchsegv.sh: Likewise.
32475         * debug/pcprofiledump.c: Likewise.
32476         * debug/xtrace.sh: Likewise.
32477         * elf/ldconfig.c: Likewise.
32478         * elf/ldd.bash.in: Likewise.
32479         * elf/pldd.c: Likewise.
32480         * elf/sotruss.ksh: Likewise.
32481         * elf/sprof.c: Likewise.
32482         * iconv/iconv_prog.c: Likewise.
32483         * iconv/iconvconfig.c: Likewise.
32484         * locale/programs/locale.c: Likewise.
32485         * locale/programs/localedef.c: Likewise.
32486         * login/programs/pt_chown.c: Likewise.
32487         * malloc/memusage.sh: Likewise.
32488         * malloc/memusagestat.c: Likewise.
32489         * malloc/mtrace.pl: Likewise.
32490         * manual/libc.texinfo: Likewise.
32491         * nscd/nscd.c: Likewise.
32492         * nss/getent.c: Likewise.
32493         * nss/makedb.c: Likewise.
32494         * posix/getconf.c: Likewise.
32495         * scripts/test-installation.pl: Likewise.
32497         * All files with FSF copyright notices: Update copyright dates
32498         using scripts/update-copyrights.
32499         * intl/plural.c: Regenerated.
32500         * locale/programs/charmap-kw.h: Likewise.
32501         * locale/programs/locfile-kw.h: Likewise.
32503 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32505         * sysdeps/unix/sysv/linux/configure: Regenerated.
32506         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32507         the linux/fanotify.h header.
32508         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32509         HAVE_LINUX_FANOTIFY_H is defined.
32511 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32513         * benchtests/cos-inputs: New inputs.
32514         * benchtests/sin-inputs: Likewise.
32516         * benchtests/atan-inputs: New inputs. Fix name of multiple
32517         precision fallback inputs.
32519         * benchtests/atanh-inputs: New inputs.
32520         * benchtests/tanh-inputs: Likewise.
32522         * benchtests/acosh-inputs: New inputs.
32523         * benchtests/asinh-inputs: Likewise.
32525         * benchtests/cosh-inputs: New inputs.
32526         * benchtests/sinh-inputs: Likewise.
32528         * benchtests/acos-inputs: Add more inputs.
32529         * benchtests/asin-inputs: Likewise.
32531 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32533         [BZ #16375]
32534         * manual/arith.texi: Fix spelling.
32535         * manual/charset.texi: Likewise.
32536         * manual/errno.texi: Likewise.
32537         * manual/filesys.texi: Likewise.
32538         * manual/lang.texi: Likewise.
32539         * manual/llio.texi: Likewise.
32540         * manual/locale.texi: Likewise.
32541         * manual/message.texi: Likewise.
32542         * manual/resource.texi: Likewise.
32543         * manual/search.texi: Likewise.
32544         * manual/setjmp.texi: Likewise.
32545         * manual/stdio.texi: Likewise.
32546         * manual/string.texi: Likewise.
32547         * manual/sysinfo.texi: Likewise.
32548         * manual/time.texi: Likewise.
32550 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32552         * po/sl.po: New file.
32554 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32556         * .gitignore: Add core/.gdbinit/.gdb_history.
32558 2013-12-27  Allan McRae  <allan@archlinux.org>
32560         [BZ #16369]
32561         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32562         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32564 2013-12-24  Brooks Moses  <bmoses@google.com>
32566         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32567         all compilers that claim C++98 compliance, not just GCC.
32568         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32569         Likewise.
32571 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32573         * NEWS: Restore accidentally deleted bug-fix entries.
32575 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32576             Ondřej Bílka  <neleai@seznam.cz>
32578         [BZ #15073]
32579         * malloc/malloc.c (_int_free): Perform sanity check only if we
32580         have_lock.
32582 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32584         [BZ #12986]
32585         * manual/stdio.texi (String Input Conversions): Clarify that character
32586         classes are not supported.
32588 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32592 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32594         [BZ #16337]
32595         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32596         Calculate results for small negative arguments directly rather
32597         than using reflection formula with special underflow handling.
32599         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32600         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32601         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32602         (fchflags): Likewise.
32603         (revoke): Likewise.
32604         (setlogin): Likewise.
32605         (sigaltstack): Likewise.
32606         (wait4): Likewise.
32607         (sigblock): Remove.
32608         (sigsetmask): Likewise.
32609         (wait3): Likewise.
32610         (waitpid): Likewise.
32611         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32612         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32613         file.
32614         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32615         * sysdeps/unix/bsd/Makefile: ... here.
32616         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32617         * sysdeps/unix/bsd/Versions: ... here.
32618         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32619         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32620         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32621         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32622         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32623         * sysdeps/unix/bsd/sigblock.c: ... here.
32624         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32625         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32626         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32627         * sysdeps/unix/bsd/sigvec.c: ... here.
32628         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32629         * sysdeps/unix/bsd/tcdrain.c: ... here.
32630         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32631         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32632         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32633         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32634         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32635         * sysdeps/unix/bsd/wait.c: ... here.
32636         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32637         * sysdeps/unix/bsd/wait3.c: ... here.
32638         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32639         * sysdeps/unix/bsd/waitpid.c: ... here.
32641 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32643         [BZ #16356]
32644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32645         round-to-nearest for [!USE_AS_EXPM1L].
32646         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32647         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32648         more tests of exp and exp10.  Expect some exp10 tests to miss
32649         exceptions or fail in directed rounding modes.
32650         * math/auto-libm-test-out: Regenerated.
32651         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32652         (exp10_test_tonearest): New function.
32653         (exp10_towardzero_test_data): New array.
32654         (exp10_test_towardzero): New function.
32655         (exp10_downward_test_data): New array.
32656         (exp10_test_downward): New function.
32657         (exp10_upward_test_data): New array.
32658         (exp10_test_upward): New function.
32659         (main): Call the new functions.
32660         * sysdeps/i386/fpu/libm-test-ulps: Update.
32661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32663 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32665         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32666         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32667         * math/auto-libm-test-out: Regenerated.
32668         * math/libm-test.inc (acosh_test_data): Add more tests.
32669         (atanh_test_data): Likewise.
32670         (ceil_test_data): Likewise.
32671         (copysign_test_data): Likewise.
32672         * sysdeps/i386/fpu/libm-test-ulps: Update.
32673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32675         * timezone/checktab.awk: Update from tzcode 2013i.
32676         * timezone/private.h: Likewise.
32677         * timezone/scheck.c: Likewise.
32678         * timezone/tzfile.h: Likewise.
32679         * timezone/tzselect.ksh: Likewise.
32680         * timezone/zdump.c: Likewise.
32681         * timezone/zic.c: Likewise.
32683         * math/auto-libm-test-in: Add tests of cpow.
32684         * math/auto-libm-test-out: Regenerated.
32685         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32686         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32687         mpc_cc_c.
32688         (func_calc_desc): Add mpc_cc_c union field.
32689         (test_functions): Add cpow.
32690         (special_fill_2pi): New function.
32691         (special_real_inputs): Add 2pi.
32692         (calc_generic_results): Handle mpc_cc_c.
32693         * sysdeps/i386/fpu/libm-test-ulps: Update.
32694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32696         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32697         csqrt, ctan and ctanh.
32698         * math/auto-libm-test-out: Regenerated.
32699         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32700         (TEST_COND_x86): Likewise.
32701         (ccos_test_data): Use AUTO_TESTS_c_c.
32702         (ccosh_test_data): Likewise.
32703         (cexp_test_data): Likewise.
32704         (clog_test_data): Likewise.
32705         (csqrt_test_data): Likewise.
32706         (ctan_test_data): Likewise.
32707         (ctan_tonearest_test_data): Likewise.
32708         (ctan_towardzero_test_data): Likewise.
32709         (ctan_downward_test_data): Likewise.
32710         (ctan_upward_test_data): Likewise.
32711         (ctanh_test_data): Likewise.
32712         (ctanh_tonearest_test_data): Likewise.
32713         (ctanh_towardzero_test_data): Likewise.
32714         (ctanh_downward_test_data): Likewise.
32715         (ctanh_upward_test_data): Likewise.
32716         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32717         mpc_c_c.
32718         (func_calc_desc): Add mpc_c_c union field.
32719         (FUNC_mpc_c_c): New macro.
32720         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32721         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32722         ctanh.
32723         (special_fill_min_subnorm_p120): New function.
32724         (special_real_inputs): Add min_subnorm_p120.
32725         (calc_generic_results): Handle mpc_c_c.
32726         * sysdeps/i386/fpu/libm-test-ulps: Update.
32727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32729 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32731         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32732         (do_sin_slow): New functions.
32733         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32734         (cslow2, csloww1, csloww2): Use the new functions.
32736         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32737         Use M to change sign of result instead of X.  Assume X is
32738         positive.
32739         (csloww1): Likewise.
32740         (__sin): Adjust.
32741         (__cos): Adjust.
32743         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32744         arguments A and DA.
32745         (__sin): Adjust.
32746         (__cos): Likewise.
32748         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32749         (__cos): Likewise.
32750         (sloww1): Don't adjust sign of DX.
32751         (csloww1): Likewise.
32752         (sloww2): Use X directly and don't adjust sign of DX.
32753         (csloww2): Likewise.
32755 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32757         * math/auto-libm-test-in: Add tests of cabs and carg.
32758         * math/auto-libm-test-out: Regenerated.
32759         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32760         (carg_test_data): Likewise.
32761         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32762         mpc_c_f.
32763         (func_calc_desc): Add mpc_c_f union field.
32764         (test_functions): Add cabs and carg.
32765         (calc_generic_results): Handle mpc_c_f.
32767         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32768         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32769         as a macro and a compat symbol.
32770         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32771         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32772         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32773         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32774         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32775         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32776         not use .hidden.
32777         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32778         Likewise.
32779         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32780         Likewise.
32781         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32782         Likewise.
32783         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32784         Likewise.
32785         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32786         Likewise.
32787         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32788         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32789         from GLIBC_2.3.2.
32791 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32795 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32797         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32798         trailing whitespace removed.
32799         * scripts/config.guess: Update to version 2013-11-29.
32800         * scripts/config.sub: Update to version 2013-10-01.
32802         * math/auto-libm-test-in: Add tests of sincos.
32803         * math/auto-libm-test-out: Regenerated.
32804         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32805         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32806         mpfr_f_11.
32807         (func_calc_desc): Add mpfr_f_11 union field.
32808         (test_functions): Add sincos.
32809         (calc_generic_results): Handle mpfr_f_11.
32810         * sysdeps/i386/fpu/libm-test-ulps: Update.
32811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32813 2013-12-19  Andreas Schwab  <schwab@suse.de>
32815         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32816         CALL_MCOUNT.
32817         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32818         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32819         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32821 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32823         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32824         * sysdeps/i386/fpu/libm-test-ulps: Update.
32825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32827         [BZ #16293]
32828         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32829         round-to-nearest mode when using frndint.
32830         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32831         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32832         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32833         Likewise.
32834         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32835         sinh test to fail.
32836         * math/auto-libm-test-out: Regenerated.
32837         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32838         (TEST_COND_x86): Likewise.
32839         (expm1_tonearest_test_data): New array.
32840         (expm1_test_tonearest): New function.
32841         (expm1_towardzero_test_data): New array.
32842         (expm1_test_towardzero): New function.
32843         (expm1_downward_test_data): New array.
32844         (expm1_test_downward): New function.
32845         (expm1_upward_test_data): New array.
32846         (expm1_test_upward): New function.
32847         (main): Run the new test functions.
32848         * sysdeps/i386/fpu/libm-test-ulps: Update.
32849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32851         * include/features.h: Update comment documenting feature test
32852         macros.  Mention _DEFAULT_SOURCE in comment.
32853         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32854         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32855         _BSD_SOURCE and _SVID_SOURCE.
32856         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32857         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32858         !_SVID_SOURCE]: Likewise.
32859         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32860         (__USE_POSIX_IMPLICITLY): Define.
32861         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32862         (_POSIX_SOURCE): Undefine and redefine.
32863         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32864         (_POSIX_C_SOURCE): Likewise.
32865         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32866         (Feature Test Macros): Update documentation of default features.
32868 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32870         * benchtests/Makefile: Add bench-strtok.
32871         * benchtests/bench-strtok.c: New file: strtok benchtest.
32873 2013-12-19  Allan McRae  <allan@archlinux.org>
32875         * manual/install.texi: Suppress menu for plain text output.
32876         * INSTALL: Regenerated.
32878 2013-12-18  Brooks Moses  <bmoses@google.com>
32880         [BZ #15846]
32881         * misc/getauxval.c: Include errno.h.
32882         (__getauxval): Set errno to ENOENT if the requested type is not
32883         found.
32884         * misc/sys/auxv.h (getauxval): Document that it may set errno;
32885         don't declare with __attribute_const__.
32886         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
32887         * manual/startup.texi: Document that getauxval sets errno.
32889 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32891         * math/auto-libm-test-in: Add tests of jn and yn.
32892         * math/auto-libm-test-out: Regenerated.
32893         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
32894         (yn_test_data): Likewise.
32895         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32896         mpfr_if_f.
32897         (func_calc_desc): Add mpfr_if_f union field.
32898         (FUNC_mpfr_if_f): New macro.
32899         (test_functions): Add jn and yn.
32900         (calc_generic_results): Assert type of second input for
32901         mpfr_ff_f.  Handle mpfr_if_f.
32902         (output_for_one_input_case): Disable all checking for arguments
32903         fitting floating-point types in case of an integer argument.
32904         * sysdeps/i386/fpu/libm-test-ulps: Update.
32905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32908         Don't expect fegetround reference in libm.so.
32910 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32912         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
32913         $(config-cflags-nofma).
32915 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32917         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
32918         * math/auto-libm-test-out: Regenerated.
32920         [BZ #16338]
32921         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
32922         to determine exponent and adjust argument to have exponent of -1.
32923         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
32924         log2.
32925         * math/auto-libm-test-out: Regenerated.
32926         * sysdeps/i386/fpu/libm-test-ulps: Update.
32927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32929 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
32931         * manual/probes.texi: Remove cases when per-thread arenas are
32932         disabled.
32934 2013-12-18  Andreas Schwab  <schwab@suse.de>
32936         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
32937         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
32938         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
32939         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
32940         * sysdeps/i386/i686/multiarch/Makefile: Update.
32941         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
32943 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32945         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
32946         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
32948 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
32950         [BZ #15968]
32951         Support TZ transition times < 00:00:00.
32952         This is needed for version-3 tz-format files; it supports time
32953         stamps past 2037 for America/Godthab (the only entry in the tz
32954         database for which this change is relevant).
32955         * manual/time.texi (TZ Variable): Document transition times
32956         from -167:59:59 through -00:00:01.
32957         * time/tzset.c (tz_rule): Time of day is now signed.
32958         (__tzset_parse_tz): Parse negative time of day.
32960         Document TZ transition times >= 25:00:00.
32961         * manual/time.texi (TZ Variable): Document transition times from
32962         25:00:00 through 167:59:59.  These are already supported, and this
32963         support will help with version-3 tz-format files.
32965         * manual/time.texi (TZ Variable): Modernize North America example
32966         to reflect current (i.e., 2007-and-later) daylight saving rules.
32968         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
32970 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32972         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
32973         * sysdeps/unix/bsd/bits/stat.h: Likewise.
32974         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
32975         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32976         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
32977         * sysdeps/unix/bsd/bsdstat.h: Likewise.
32978         * sysdeps/unix/bsd/clock.c: Likewise.
32979         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
32980         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
32981         * sysdeps/unix/bsd/init-posix.c: Likewise.
32982         * sysdeps/unix/bsd/poll.c: Likewise.
32983         * sysdeps/unix/bsd/ptsname.c: Likewise.
32984         * sysdeps/unix/bsd/seekdir.c: Likewise.
32985         * sysdeps/unix/bsd/setegid.c: Likewise.
32986         * sysdeps/unix/bsd/seteuid.c: Likewise.
32987         * sysdeps/unix/bsd/setgid.c: Likewise.
32988         * sysdeps/unix/bsd/setrgid.c: Likewise.
32989         * sysdeps/unix/bsd/setruid.c: Likewise.
32990         * sysdeps/unix/bsd/setsid.c: Likewise.
32991         * sysdeps/unix/bsd/setuid.c: Likewise.
32992         * sysdeps/unix/bsd/sigaction.c: Likewise.
32993         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
32994         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
32995         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
32996         * sysdeps/unix/bsd/telldir.c: Likewise.
32997         * sysdeps/unix/bsd/times.c: Likewise.
32998         * sysdeps/unix/bsd/usleep.c: Likewise.
33000         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33001         ($(objpfx)libbsd-compat.a): Remove rule.
33003         * include/features.h (__FAVOR_BSD): Do not define.
33004         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33005         features conflicting with POSIX.
33006         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33007         (_BSD_SOURCE): Remove description of not being a subset of other
33008         feature test macros.
33009         * manual/job.texi (getpgrp): Do not document BSD version.
33010         (getpgid): Do not document by reference to BSD getpgrp.
33011         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33012         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33013         * signal/signal.h [__FAVOR_BSD]: Likewise.
33014         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33015         instead of making contents conditional on [__FAVOR_BSD].
33016         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33018 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33022 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33024         [BZ #16314]
33025         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33026         values below 2**-450, not 2**-500.
33027         * math/auto-libm-test-in: Don't allow spurious underflow from
33028         hypot.
33029         * math/auto-libm-test-out: Regenerated.
33031         [BZ #16316]
33032         [BZ #16330]
33033         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33034         values of ha and hb and sort them after adjusting subnormal
33035         arguments.
33036         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33037         Likewise.
33038         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33039         values of ea and eb and sort them after adjusting subnormal
33040         arguments.
33041         * math/auto-libm-test-in: Do not expect some hypot tests of
33042         subnormals to fail.  Add more hypot tests.
33043         * math/auto-libm-test-out: Regenerated.
33045 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33047         [BZ #13304]
33048         * sysdeps/sh/s_fma.c: New file.
33049         * sysdeps/sh/s_fmaf.c: New file.
33050         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33051         version.
33052         * sysdeps/sh/Implies: Add sh/soft-fp.
33054 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33056         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33057         level of indirection to members `objname', `errstring', `malloced'.
33058         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33059         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33060         it as the __longjmp argument (just pass 1 instead).
33061         (_dl_catch_error): Initialize C with argument pointers and address of
33062         volatile local ERRCODE rather than copying values out of C at return.
33064 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33066         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33067         * math/auto-libm-test-out: Regenerated.
33068         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33069         (hypot_test_data): Likewise.
33070         (pow_test_data): Likewise.
33071         (pow_tonearest_test_data): Likewise.
33072         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33073         mpfr_ff_f.
33074         (func_calc_desc): Add mpfr_ff_f union field.
33075         (FUNC_mpfr_ff_f): New macro.
33076         (test_functions): Add atan2, hypot and pow.
33077         (special_fill_min): New function.
33078         (special_fill_minus_min): Likewise.
33079         (special_fill_min_subnorm): Likewise.
33080         (special_fill_minus_min_subnorm): Likewise.
33081         (special_real_inputs): Add min, -min, min_subnorm and
33082         -min_subnorm.
33083         (calc_generic_results): Handle mpfr_ff_f.
33084         * sysdeps/i386/fpu/libm-test-ulps: Update.
33085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33087 2013-12-16  Will Newton  <will.newton@linaro.org>
33089         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33090         (Aligned Memory Blocks): Add documentation for aligned_alloc
33091         and suggest it as an alternative to posix_memalign.
33092         (Hooks for Malloc): Document __memalign_hook is also called
33093         for aligned_alloc.  (Summary of Malloc): Add summary for
33094         aligned alloc.  Document __memalign_hook is also called
33095         for aligned_alloc.
33097 2013-12-16  Will Newton  <will.newton@linaro.org>
33099         * manual/memory.texi (Malloc Examples): Clarify default
33100         alignment documentation.  Suggest posix_memalign rather
33101         than memalign or valloc.
33102         (Aligned Memory Blocks): Remove suggestion to use memalign
33103         or valloc.  Remove obsolete comment about BSD.
33104         Document memalign errno values and mark the function obsolete.
33105         Document posix_memalign returned error codes.  Mark valloc
33106         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33107         called for posix_memalign and valloc.
33108         (Summary of Malloc): Add posix_memalign to function summary.
33109         __memalign_hook is also called for posix_memalign and valloc.
33111 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33113         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33114         TAYLOR_SIN.
33115         (__sin): Adjust.
33116         (__cos): Likewise.
33117         (sloww): Use mynumber union.  Expand ternary operator into
33118         if-else statements.
33119         (cslow): use mynumber union.
33121 2013-12-16  Allan McRae  <allan@archlinux.org>
33123         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33124         * configure: Regenerated.
33126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33128         [BZ #14120]
33129         * configure.ac: Added --enable-maintainer-mode. Check for
33130         autoconf when enabled.
33131         * configure: Regenerated.
33133         * nscd/nscd.service: New file.
33134         * nscd/nscd.tmpfiles: New file.
33136 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33138         [BZ #12100]
33139         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33140         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33141         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33142         (strstr): Add __strstr_sse2_unaligned ifunc.
33143         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33144         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33145         (strcasestr): Remove __strcasestr_sse42 ifunc.
33146         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33150 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33152         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33153         * sysdeps/sh/bits/fenv.h: ... here.
33154         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33156 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33158         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33161         hypotf multiarch implementations.
33162         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33163         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33164         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33165         multiarch hypot for PPC64.
33166         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33167         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33168         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33169         multiarch hypotf for PPC64.
33171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33172         modff multiarch implementations.
33173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33176         multiarch modf for PPC64.
33177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33180         multiarch modff for PPC64.
33182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33183         and logl multiarch implementations.
33184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33187         multiarch logb for PPC64.
33188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33191         multiarch logb for PPC64.
33192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33195         multiarch logb for PPC64.
33197         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33198         isinff multiarch implementation.
33199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33200         file.
33201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33203         multiarch isinf for PPC64.
33204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33205         file.
33206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33207         multiarch isinff for PPC64.
33209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33210         finitef multiarch implementation.
33211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33212         file.
33213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33215         multiarch finite for PPC64.
33216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33217         file.
33218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33219         multiarch finitef for PPC64.
33221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33222         lrint multiarch implementation.
33223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33224         file.
33225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33227         multiarch llrint for PPC64.
33228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33229         multiarch lrint for PPC64.
33231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33232         copysignf multiarch implementation.
33233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33234         file.
33235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33236         file.
33237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33238         multiarch copysign for PPC64.
33239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33240         multiarch copysignf for PPC64.
33242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33243         multiarch implementation.
33244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33245         file.
33246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33247         file.
33248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33249         file.
33250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33251         file.
33252         multiarch llround for PPC64.
33253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33254         multiarch trunc for PPC64.
33255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33256         multiarch truncf for PPC64.
33258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33259         multiarch implementation.
33260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33261         file.
33262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33263         file.
33264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33265         file.
33266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33267         file.
33268         multiarch llround for PPC64.
33269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33270         multiarch round for PPC64.
33271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33272         multiarch roundf for PPC64.
33274         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33275         multiarch implementation.
33276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33277         file.
33278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33279         file.
33280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33281         file.
33282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33283         file.
33284         multiarch llround for PPC64.
33285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33286         multiarch floor for PPC64.
33287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33288         multiarch floorf for PPC64.
33290         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33291         multiarch implementation.
33292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33293         file.
33294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33295         file.
33296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33297         file.
33298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33299         file.
33300         multiarch llround for PPC64.
33301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33302         multiarch ceil for PPC64.
33303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33304         multiarch ceilf for PPC64.
33306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33307         multiarch implementation.
33308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33309         file.
33310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33311         file.
33312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33313         file.
33314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33315         multiarch llround for PPC64.
33316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33317         multiarch lround for PPC64.
33319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33320         multiarch implementation.
33321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33324         file.
33325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33328         multiarch isnan for PPC64.
33329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33330         multiarch isnanf for PPC64.
33332         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33333         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33334         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33335         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33336         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33339         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33340         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33341         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33342         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33345         multiarch implementations.
33346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33347         (__libc_ifunc_impl_list): Likewise.
33348         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33349         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33350         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33351         multiarch stpcpy for PPC64.
33353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33354         multiarch implementations.
33355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33356         (__libc_ifunc_impl_list): Likewise.
33357         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33358         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33359         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33360         multiarch strcpy for PPC64.
33362         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33363         redefine function name.
33364         (_wordcopy_fwd_dest_aligned): Likewise.
33365         (_wordcopy_bwd_aligned): Likewise.
33366         (_wordcopy_bwd_dest_aligned): Likewise.
33367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33368         multiarch implementations.
33369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33370         (__libc_ifunc_impl_list): Likewise.
33371         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33372         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33373         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33374         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33375         multiarch wcscpy for PPC64.
33377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33378         multiarch implementations.
33379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33380         (__libc_ifunc_impl_list): Likewise.
33381         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33382         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33383         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33384         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33385         multiarch wcscpy for PPC64.
33387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33388         multiarch implementations.
33389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33390         (__libc_ifunc_impl_list): Likewise.
33391         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33392         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33393         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33394         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33395         multiarch wcsrchr for PPC64.
33397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33398         multiarch implementations.
33399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33400         (__libc_ifunc_impl_list): Likewise.
33401         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33402         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33403         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33404         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33405         multiarch wcschr for PPC64.
33407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33408         multiarch implementations.
33409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33410         (__libc_ifunc_impl_list): Likewise.
33411         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33412         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33413         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33414         multiarch strchrnul for PPC64.
33416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33417         implementations.
33418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33419         (__libc_ifunc_impl_list): Likewise.
33420         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33421         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33422         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33423         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33424         strchr for PPC64.
33426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33427         implementations.
33428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33429         (__libc_ifunc_impl_list): Likewise.
33430         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33431         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33432         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33433         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33434         strncmp for PPC64.
33436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33437         multiarch implementations.
33438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33439         (__libc_ifunc_impl_list): Likewise.
33440         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33441         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33442         strncasecmp for PPC64.
33443         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33444         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33445         multiarch strncasecmp_l for PPC64.
33447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33448         multiarch implementations.
33449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33450         (__libc_ifunc_impl_list): Likewise.
33451         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33452         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33453         multiarch strcasecmp for PPC64.
33454         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33455         file.
33456         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33457         multiarch strcasecmp_l for PPC64.
33459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33460         implementations.
33461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33462         (__libc_ifunc_impl_list): Likewise.
33463         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33464         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33465         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33466         strnlen for PPC64.
33468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33469         implementations.
33470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33471         (__libc_ifunc_impl_list): Likewise.
33472         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33473         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33474         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33475         strlen for PPC64.
33477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33478         implementations.
33479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33480         (__libc_ifunc_impl_list): Likewise.
33481         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33482         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33483         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33484         rawmemrchr for PPC64.
33486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33487         implementation.
33488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33489         (__libc_ifunc_impl_list): Likewise.
33490         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33491         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33492         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33493         memrchr for PPC64.
33495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33496         implementation.
33497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33498         (__libc_ifunc_impl_list): Likewise.
33499         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33500         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33501         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33502         memchr for PPC64.
33504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33505         implementation.
33506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33507         (__libc_ifunc_impl_list): Likewise.
33508         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33509         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33510         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33511         mempcpy for PPC64.
33513         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33514         avoid cretion of __bzero symbol.
33515         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33516         Likewise.
33517         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33518         Likewise.
33519         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33520         Likewise.
33521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33522         multiarch implementations.
33523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33524         (__libc_ifunc_impl_list): Likewise.
33525         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33526         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33527         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33528         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33529         bzero for PPC32.
33530         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33531         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33532         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33533         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33534         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33535         memset for PPC64.
33536         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33538         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33540         implementations.
33541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33542         (__libc_ifunc_impl_list): Likewise.
33543         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33544         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33545         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33546         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33547         memcmp for PPC64.
33549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33550         multiarch for POWER/PPC64.
33551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33552         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33553         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33554         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33555         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33556         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33557         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33558         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33559         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33560         memcpy for PPC64.
33562         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33563         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33564         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33565         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33566         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33567         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33568         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33569         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33570         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33571         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33572         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33573         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33574         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33575         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33576         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33585 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33587         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33589 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33591         * benchtests/Makefile (bench): Add exp2 and log2.
33592         (LDLIBS-bench-exp2): Add -lm.
33593         (LDLIBS-bench-log2): Likewise.
33594         * benchtests/exp2-inputs: New inputs file.
33595         * benchtests/log2-inputs: New inputs file.
33596         * benchtests/log-inputs: Add new inputs.
33597         * benchtests/tan-inputs: Likewise.
33599 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33601         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33602         definition...
33603         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33604         (csloww2): ... from here.
33606         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33607         instead of structures.
33608         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33609         (POLYNOMIAL): Likewise.
33610         (TAYLOR_SLOW): Likewise.
33611         (__sin): Likewise.
33612         (__cos): Likewise.
33613         (slow1): Likewise.
33614         (slow2): Likewise.
33615         (sloww): Likewise.
33616         (sloww1); Likewise.
33617         (sloww2): Likewise.
33618         (bsloww1): Likewise.
33619         (bsloww2): Likewise.
33620         (cslow2): Likewise.
33621         (csloww): Likewise.
33622         (csloww1): Likewise.
33623         (csloww2): Likewise.
33625 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33627         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33628         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33629         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33630         * malloc/hooks.c (realloc_check): Likewise.
33632         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33633         * malloc/arena.c: Remove PER_THREAD conditional.
33634         [!PER_THREAD]: Remove code.
33635         (ptmalloc_unlock_all2): Likewise.
33636         (ptmalloc_init): Likewise.
33637         (_int_new_arena): Likewise.
33638         (arena_get2): Likewise.
33639         * malloc/hooks.c (__malloc_get_state): Likewise.
33640         (__malloc_set_state): Likewise.
33641         * malloc/malloc.c: Likewise.
33642         (struct malloc_state): Likewise.
33643         (struct malloc_par): Likewise.
33644         (__libc_realloc): Likewise.
33645         (__libc_mallopt): Likewise.
33647 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33649         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33651 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33653         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33654         macro to a function.  Check for zero perturb_byte.
33655         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33657         * malloc/malloc.c: (force_reg): Remove.
33658         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33659         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33660         force_reg by atomic_forced_read.
33661         * malloc/arena.c (ptmalloc_init): Likewise.
33662         * malloc/hooks.c (top_check): Likewise.
33664 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33668 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33672 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33674         * math/auto-libm-test-in: Add tests of lgamma.
33675         * math/auto-libm-test-out: Regenerated.
33676         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33677         (M_LOG_2_SQRT_PIl): Likewise.
33678         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33679         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33680         mpfr_f_f1.
33681         (func_calc_desc): Add mpfr_f_f1 union field.
33682         (ARGS1): New macro.
33683         (ARGS2): Likewise.
33684         (ARGS3): Likewise.
33685         (ARGS4): Likewise.
33686         (RET1): Likewise.
33687         (RET2): Likewise.
33688         (CALC): Likewise.
33689         (FUNC): Likewise.
33690         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33691         (test_functions): Add lgamma.
33692         (calc_generic_results): Handle mpfr_f_f1.
33693         * sysdeps/i386/fpu/libm-test-ulps: Update.
33694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33696 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33698         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33699         __mpn_add_n for PowerPC64/POWER7.
33700         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33701         __mpn_sub_n for PowerPC64/POWER7.
33703         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33704         __mpn_addmul_1 for PowerPC64.
33705         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33706         __mpn_submul_1 for PowerPC64.
33707         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33708         for PowerPC64.
33709         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33710         for PowerPC64.
33712 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33714         [BZ #15089]
33715         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33717 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33719         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33721         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33722         add multiarch folders.
33723         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33724         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33725         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33726         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33727         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33728         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33729         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33730         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33731         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33732         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33733         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33742         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33744         New file.
33745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33746         New file.
33747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33748         multiarch __ieee754_hypot for PowerPC32.
33749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33750         New file.
33751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33752         New file.
33753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33754         multiarch __ieee754_hypotf for PowerPC32.
33756         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33757         long_double_symbol only if __logbl is defined.
33758         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33759         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33760         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33761         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33762         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33763         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33764         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33765         path for implementation.
33766         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33767         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33769         logb, and logbl multiarch implementations for PowerPC32.
33770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33771         file.
33772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33773         file.
33774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33775         multiarch logb for PowerPC32.
33776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33777         file.
33778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33779         file.
33780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33781         multiarch logbf for PowerPC32.
33782         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33784         file.
33785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33786         multiarch logbl implementation for PowerPC32.
33788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33789         and modff multiarch implementations.
33790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33791         New file.
33792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33793         New file.
33794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33795         multiarch modf for PowerPC32.
33796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33797         New file.
33798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33799         New file.
33800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33801         multiarch modff for PowerPC32.
33803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33804         and lrintf multiarch implementations.
33805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33806         New file.
33807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33808         New file.
33809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33810         multiarch lrint for PowerPC32.
33811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33812         file: multiarch lrintf for PowerPC32.
33814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33815         and lroundf multiarch implementations.
33816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33817         New file.
33818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33819         New file.
33820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33821         New file.
33822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33823         multiarch lround for PowerPC32.
33824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33825         file: multiarch lroundf for PowerPC32.
33827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33828         copysign and copysignf multiarch implementations.
33829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33830         New file.
33831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33832         New file.
33833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33834         file: multiarch copysign for PowerPC32.
33835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33836         file: multiarch copysignf for PowerPC32.
33838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33839         and truncf multiarch implementations.
33840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33841         New file.
33842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33843         file.
33844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33845         multiarch trunc for PowerPC32.
33846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33847         New file.
33848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33849         New file.
33850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33851         multiarch truncf for PowerPC32.
33853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33854         and roundf multiarch implementations.
33855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33856         New file.
33857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33858         file.
33859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33860         multiarch round for PowerPC32.
33861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33862         New file.
33863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33864         New file.
33865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33866         multiarch roundf for PowerPC32.
33868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33869         and floorf multiarch implementations.
33870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33871         New file.
33872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33873         file.
33874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33875         multiarch floor for PowerPC32.
33876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33877         New file.
33878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
33879         New file.
33880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
33881         multiarch floorf for PowerPC32.
33883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
33884         and ceilf multiarch implementations.
33885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
33886         New file.
33887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
33888         file.
33889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
33890         multiarch ceil for PowerPC32.
33891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
33892         New file.
33893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
33894         file.
33895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
33896         multiarch ceilf for PowerPC32.
33898         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
33899         is defined.
33900         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
33901         FINITEF is defined.
33902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
33903         and finitef multiarch implementations.
33904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
33905         New file.
33906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
33907         file.
33908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
33909         multiarch finite for PowerPC32.
33910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
33911         New file.
33912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
33913         file: multiarch finitef for PowerPC32.
33915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
33916         and isinff multiarch implementations.
33917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
33918         file.
33919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
33920         file.
33921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
33922         multiarch isinf for PowerPC32.
33923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
33924         New file.
33925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
33926         multiarch isinff for PowerPC32.
33928         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
33929         alias when __isnan is defined.
33930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
33931         and isnanf multiarch implementations.
33932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
33933         file.
33934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
33935         file.
33936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
33937         file.
33938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
33939         file.
33940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
33941         multiarch isnan for PowerPC32.
33942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
33943         New file.
33944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
33945         New file.
33946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
33947         multiarch isnanf for PowerPC32.
33949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
33950         and sqrtf multiarch implementations.
33951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
33952         file.
33953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
33954         file.
33955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
33956         multiarch sqrt for PowerPC32.
33957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
33958         file.
33959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
33960         file.
33961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
33962         multiarch sqrtf for PowerPC32.
33964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
33965         and llroundf multiarch implementations.
33966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
33967         New file.
33968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
33969         New file.
33970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
33971         New file.
33972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
33973         file: multiarch llround for PowerPC32.
33974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
33975         file: multiarch llroundf for PowerPC32.
33977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
33978         multiarch PowerPC32 fpu implementations.
33979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
33980         New file.
33981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
33982         New file.
33983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
33984         multiarch llrint for PowerPC32.
33985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
33986         New file.
33987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
33988         New file.
33989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
33990         file.
33992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
33994         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
33995         file.
33996         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
33997         file.
33998         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
33999         file.
34000         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34001         multiarch wordcopy for PPC32.
34002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34003         wordcopy objects.
34004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34005         (__libc_ifunc_impl_list): Likewise.
34006         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34007         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34008         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34009         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34010         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34011         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34013         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34015         file.
34016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34017         file.
34018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34019         file.
34020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34021         multiarch wcscpy for PPC32.
34022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34023         multiarch objects.
34024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34025         (__libc_ifunc_impl_list): Likewise.
34026         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34027         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34028         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34029         sysdeps/powerpc/power6/wcscpy.c.
34031         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34033         file.
34034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34035         file.
34036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34037         file.
34038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34039         multiarch wcsrchr for PPC32.
34040         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34041         multiarch objects.
34042         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34043         (__libc_ifunc_impl_list): Likewise.
34044         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34045         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34046         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34047         sysdeps/powerpc/power6/wcsrchr.c.
34049         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34050         file.
34051         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34052         file.
34053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34054         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34055         multiarch wcschr for PPc32.
34056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34057         multiarch objects.
34058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34059         (__libc_ifunc_impl_list): Likewise.
34060         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34061         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34062         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34063         sysdeps/powerpc/power6/wcschr.c.
34065         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34066         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34067         file.
34068         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34069         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34070         file: multiarch strchr for PPC32.
34071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34072         multiarch objects.
34073         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34074         (__libc_ifunc_impl_list): Likewise.
34076         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34077         name.
34078         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34079         file.
34080         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34081         file.
34082         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34083         multiarch strchrnul for PPC32.
34084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34085         multiarch objects.
34086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34087         (__libc_ifunc_impl_list): Likewise.
34089         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34090         file.
34091         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34092         multiarch strncasecmp for PPC32.
34093         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34094         file.
34095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34096         multiarch strncasecmp_l for PPC32.
34097         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34098         strncasecmp multiarch objects.
34099         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34100         (__libc_ifunc_impl_list): Likewise.
34102         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34103         file.
34104         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34105         multiarch strncasecmp for PPC32.
34106         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34107         New file.
34108         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34109         multiarch strcasecmp_l for PPC32.
34110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34111         multiarch objects.
34112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34113         (__libc_ifunc_impl_list): Likewise.
34115         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34116         file.
34117         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34118         file.
34119         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34120         multiarch strncmp for PPC32.
34121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34122         multiarch objects.
34123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34124         (__libc_ifunc_impl_list): Likewise.
34126         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34127         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34128         file.
34129         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34130         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34132         multiarch objects.
34133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34134         (__libc_ifunc_impl_list): Likewise.
34136         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34137         file.
34138         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34139         file.
34140         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34142         multiarch objects.
34143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34144         (__libc_ifunc_impl_list): Likewise.
34146         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34147         file.
34148         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34149         file.
34150         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34151         multiarch rawmemchr for PPC32.
34152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34153         multiarch objects.
34154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34155         (__libc_ifunc_impl_list): Likewise.
34157         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34158         file.
34159         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34160         file.
34161         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34162         file: memrchr multiarch for PPC32.
34163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34164         multiarch objects.
34165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34166         (__libc_ifunc_impl_list): Likewise.
34168         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34169         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34170         file.
34171         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34172         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34173         multiarch memchr for PPC32.
34174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34175         multiarch objects.
34176         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34177         (__libc_ifunc_impl_list): Likewise.
34179         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34180         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34181         file.
34182         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34183         file.
34184         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34185         file: multiarch mempcpy for PPC32.
34186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34187         multiarch objects.
34188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34189         (__libc_ifunc_impl_list): Likewise.
34191         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34192         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34193         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34194         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34195         multiarch bzero for PPC32.
34196         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34197         file.
34198         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34199         file.
34200         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34201         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34202         file: multiarch memset for PPC32.
34203         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34205         memset multiarch objects.
34206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34207         (__libc_ifunc_impl_list): Likewise.
34209         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34210         file.
34211         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34212         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34213         memcmp for PPC32.
34214         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34216         multiarch objects.
34217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34218         (__libc_ifunc_impl_list): Likewise.
34220         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34222         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34223         file.
34224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34225         file.
34226         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34227         file.
34228         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34229         multiarch memcpy for PPC32.
34230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34231         multiarch objects.
34232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34233         (__libc_ifunc_impl_list): Likewise.
34235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34236         support multiarch for POWER/PPC32.
34237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34238         Likewise.
34239         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34241         Implies file to make multiarch folder appers before the fpu and
34242         default folder for power4 configuration.
34244 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34246         * scripts/bench.pl: Append volatile keyword to type.
34248 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34250         * sysdeps/sh/sotruss-lib.c: New file.
34251         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34253 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34257 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34259         [BZ #6810]
34260         * math/w_tgamma.c: Include <errno.h>.
34261         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34262         * math/w_tgammaf.c: Include <errno.h>.
34263         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34264         * math/w_tgammal.c: Include <errno.h>.
34265         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34266         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34267         underflow.  Add more tgamma tests.
34268         * math/auto-libm-test-out: Regenerated.
34269         * sysdeps/i386/fpu/libm-test-ulps: Update.
34270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34272         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34273         sin, sinh, tan, tanh, tgamma, y0 and y1.
34274         * math/auto-libm-test-out: Regenerated.
34275         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34276         (TEST_COND_x86): Likewise.
34277         (M_E2l): Remove macro.
34278         (M_E3l): Likewise.
34279         (M_2_SQRT_PIl): Likewise.
34280         (M_SQRT_PIl): Likewise.
34281         (M_1_DIV_El): Likewise.
34282         (log_test_data): Use AUTO_TESTS_f_f.
34283         (log10_test_data): Likewise.
34284         (log1p_test_data): Likewise.
34285         (log2_test_data): Likewise.
34286         (sin_test_data): Likewise.
34287         (sin_tonearest_test_data): Likewise.
34288         (sin_towardzero_test_data): Likewise.
34289         (sin_downward_test_data): Likewise.
34290         (sin_upward_test_data): Likewise.
34291         (sinh_test_data): Likewise.
34292         (sinh_tonearest_test_data): Likewise.
34293         (sinh_towardzero_test_data): Likewise.
34294         (sinh_downward_test_data): Likewise.
34295         (sinh_upward_test_data): Likewise.
34296         (tan_test_data): Likewise.
34297         (tan_tonearest_test_data): Likewise.
34298         (tan_towardzero_test_data): Likewise.
34299         (tan_downward_test_data): Likewise.
34300         (tan_upward_test_data): Likewise.
34301         (tanh_test_data): Likewise.
34302         (tgamma_test_data): Likewise.
34303         (y0_test_data): Likewise.
34304         (y1_test_data): Likewise.
34305         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34306         (special_real_inputs): Add pi/4.
34307         * sysdeps/i386/fpu/libm-test-ulps: Update.
34308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34310 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34312         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34313         "longjmp_target" static probes.
34314         (__longjmp): Rename to __longjmp_symbol.
34315         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34316         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34317         on which longjmp to generate.
34318         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34319         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34320         probe.
34321         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34322         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34323         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34324         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34325         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34326         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34328         __longjmp_symbol based on which __longjmp to generate.
34329         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34330         probe.
34331         (setjmp): Rename to setjmp_symbol.
34332         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34333         (_setjmp): Rename to _setjmp_symbol.
34334         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34335         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34336         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34337         which setjmp to generate.
34338         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34339         "longjmp_target" static probes.
34341 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34343         * benchtests/README: Add note about output arguments.
34344         * benchtests/bench-sincos.c: Remove file.
34345         * benchtests/sincos-inputs: New file.
34346         * scripts/bench.pl: Identify output arguments and define
34347         static variables for them.
34349         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34351         [BZ #15941]
34352         * Makefile (INSTALL): Add install-plain.texi as the primary
34353         dependency.
34354         * manual/install-plain.texi: New file.
34355         * manual/install.texi: Include node directive only for
34356         non-plaintext output.
34358 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34360         * stdlib/longlong.h: Update from GCC.
34362         [BZ #6807]
34363         [BZ #15901]
34364         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34365         * math/w_j0f.c (y0f): Likewise.
34366         * math/w_j0l.c (__y0l): Likewise.
34367         * math/w_j1.c (y1): Likewise.
34368         * math/w_j1f.c (y1f): Likewise.
34369         * math/w_j1l.c (__y1l): Likewise
34370         * math/w_jn.c (yn): Likewise.
34371         * math/w_jnf.c (ynf): Likewise.
34372         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34373         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34374         value for Bessel function domain errors outside _SVID_ mode.
34375         Adjust sign of return value for yn (negative integer, 0).
34376         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34377         by zero in return for negative x and set sign appropriately for
34378         negative n.
34379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34380         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34381         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34382         expectations in error cases.
34383         (y1_test_data): Likewise.
34384         (yn_test_data): Likewise.
34385         * sysdeps/i386/fpu/libm-test-ulps: Update.
34386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34388 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34390         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34391         "64" to "64-v1".  Add "64-v2".
34392         (abi-64-options): Rename to ...
34393         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34394         (abi-64-condition): Rename to ...
34395         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34396         (abi-64-ld-soname): Rename to ...
34397         (abi-64-v1-ld-soname): ... this.
34398         (abi-64-v2-options): Define.
34399         (abi-64-v2-condition): Likewise.
34400         (abi-64-v2-ld-soname): Likewise.
34401         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34402         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34407 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34408             Alan Modra  <amodra@gmail.com>
34410         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34411         New versions for use with the ELFv2 ABI.
34412         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34413         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34414         declaration.
34415         (struct La_ppc64v2_retval): Likewise.
34416         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34417         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34418         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34419         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34420         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34421         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34422         Do not save or restore CR.
34423         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34424         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34425         return values for ELFv2 ABI.  Fix location of FPR return registers.
34426         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34427         updated values for _CALL_ELF == 2.
34428         (La_regs, La_retval, int_retval): Likewise.
34430 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34432         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34433         (FRAME_MIN_SIZE_PARM): Likewise.
34434         (FRAME_BACKCHAIN): Likewise.
34435         (FRAME_CR_SAVE): Likewise.
34436         (FRAME_LR_SAVE): Likewise.
34437         (FRAME_TOC_SAVE): Likewise.
34438         (FRAME_PARM_SAVE): Likewise.
34439         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34440         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34441         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34442         (call_mcount_parm_offset): New macro.
34443         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34444         (PROF): Use symbolic stack frame offsets.
34445         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34446         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34447         Redefine in terms of FRAME_MIN_SIZE.
34448         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34449         (_dl_profile_resolve): Likewise.  Update comment.
34450         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34451         symbols stack frame offsets.
34452         (__sigsetjmp): Likewise.
34453         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34454         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34455         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34456         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34459         (FRAME_BACKCHAIN): Remove.
34460         (FRAME_CR_SAVE): Likewise.
34461         (FRAME_LR_SAVE): Likewise.
34462         (FRAME_COMPILER_DW): Likewise.
34463         (FRAME_LINKER_DW): Likewise.
34464         (FRAME_TOC_SAVE): Likewise.
34465         (FRAME_PARM_SAVE): Likewise.
34466         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34467         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34468         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34470         (CHECK_SP): Use symbolic stack frame offsets.
34471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34472         zone" instead of caller's parameter save area for temp storage.
34473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34474         Likewise.  Also, use symbolic stack frame offsets.
34475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34476         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34477         our own stack frame instead of the caller's.
34478         (__socket): Use symbolic stack frame offsets.
34480 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34481             Alan Modra  <amodra@gmail.com>
34483         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34484         Define.
34485         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34486         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34487         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34488         New function.
34489         (elf_machine_fixup_plt): Call it.
34490         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34491         reloc arguments.
34492         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34493         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34494         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34495         r2 before calling target.
34497 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34498             Alan Modra  <amodra@gmail.com>
34500         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34501         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34502         versions of macros to support ELFv2 ABI.
34503         (LOCALENTRY): New macro.
34504         (ENTRY, EALIGN): Use it.
34505         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34506         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34507         fall through into ENTRY entry point.
34508         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34509         Only define if _CALL_ELF != 2.
34511         (elf_machine_matches_host): Verify ABI version matches.
34512         (RTLD_START): Use LOCALENTRY.
34513         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34514         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34515         (PLT_ENTRY_WORDS): New macro.
34516         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34517         (elf_machine_runtime_setup): Support ELFv2 ABI.
34518         (elf_machine_fixup_plt): Likewise.
34519         (elf_machine_plt_conflict): Likewise.
34520         (resolve_ifunc): Likewise.
34521         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34522         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34523         Likewise.
34524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34525         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34527         (makecontext): Support ELFv2 ABI.
34528         * elf/elf.h (EF_PPC64_ABI): Define.
34530 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34532         * sysdeps/powerpc/powerpc64/sysdep.h
34533         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34534         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34535         (ENTRY) [ASSEMBLER]: ... but instead here ...
34536         (EALIGN) [ASSEMBLER]: ... and here.
34537         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34538         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34539         (ENTRY_2) [!ASSEMBLER]: Use it.
34540         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34541         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34542         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34543         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34544         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34546         Use PPC64_LOAD_FUNCPTR.
34548         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34550 2013-12-04  Alan Modra  <amodra@gmail.com>
34552         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34553         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34554         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34555         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34557         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34558         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34559         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34560         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34561         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34562         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34564 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34567         (__makecontext): Fix incorrect CFI when backtracing out of
34568         context created via makecontext.
34569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34570         (__setcontext): Fix incorrect CFI during switch to new context.
34571         (__novec_setcontext): Likewise.
34573 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34575         [BZ #4772]
34576         * time/strptime_l.c (__strptime_internal): Allow modifiers
34577         in strptime.
34578         * time/tst-strptime.c (day_tests): Add testcase.
34580 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34582         * scripts/bench.pl: Skip over blank lines.
34584 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34586         [BZ #926]
34587         * manual/time.texi (Calendar Time): Clarify what timezone functions
34588         use.
34590 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34594 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34596         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34597         implementation.
34598         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34599         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34600         * debug/memset_chk.c (__memset_chk): Likewise.
34601         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34602         * debug/strncpy_chk.c: Likewise.
34604 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34606         [BZ #15268]
34607         [BZ #15425]
34608         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34609         (__ieee754_exp): For possibly underflowing results, check size of
34610         result and force underflow exception if required.
34611         * math/auto-libm-test-in: Add more tests of exp.
34612         * math/auto-libm-test-out: Regenerated.
34613         * sysdeps/i386/fpu/libm-test-ulps: Update.
34614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34616         [BZ #16283]
34617         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34618         * math/w_exp2f.c (__exp2f): Likewise.
34619         * math/w_exp2l.c (__exp2l): Likewise.
34620         * math/auto-libm-test-in: Do not allow missing errno on exp2
34621         underflow.
34622         * math/auto-libm-test-out: Regenerated.
34624 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34626         [BZ #16274]
34627         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34628         handle filename validation.
34629         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34630         (do_open): Delete.
34632 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34634         [BZ #6786]
34635         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34636         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34637         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34638         <float.h>.
34639         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34640         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34641         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34642         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34643         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34644         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34645         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34646         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34647         Add more erfc tests.
34648         * math/auto-libm-test-out: Regenerated.
34649         * sysdeps/i386/fpu/libm-test-ulps: Update.
34650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34652         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34653         exp2, expm1, j0 and j1.
34654         * math/auto-libm-test-out: Regenerated.
34655         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34656         (erfc_test_data): Likewise.
34657         (exp_test_data): Likewise.
34658         (exp_tonearest_test_data): Likewise.
34659         (exp_towardzero_test_data): Likewise.
34660         (exp_downward_test_data): Likewise.
34661         (exp_upward_test_data): Likewise.
34662         (exp10_test_data): Likewise.
34663         (exp2_test_data): Likewise.
34664         (expm1_test_data): Likewise.
34665         (j0_test_data): Likewise.
34666         (j1_test_data): Likewise.
34667         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34668         (input_flag_type): Add flag_xfail_rounding.
34669         (input_flags): Add xfail-rounding.
34670         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34671         (output_for_one_input_case): Handle flag_xfail_rounding.
34672         * sysdeps/i386/fpu/libm-test-ulps: Update.
34673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34675 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34677         [BZ #16289]
34678         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34679         division by 0.
34681 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34683         [BZ #16195]
34684         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34685         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34686         (STAP_PROBE0): New macro.
34687         (STAP_PROBE1): Likewise.
34688         (STAP_PROBE2): Likewise.
34689         (STAP_PROBE3): Likewise.
34690         (STAP_PROBE4): Likewise.
34692 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34694         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34696 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34698         * benchtests/Makefile (bench): Add sqrt.
34699         (LDLIBS-bench-sqrt): New.
34700         * benchtests/sqrt-input: New.
34702 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34704         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34705         (GAIH_EAI): Likewise.
34706         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34707         (gaih_inet): Likewise.
34708         (getaddrinfo): Don't use GAIH_EAI.
34710         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34711         (struct gaih): Remove definition.
34713 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34715         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34716         Use HERRNOP directly.
34718 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34722 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34724         * math/gen-auto-libm-tests.c (test_functions): Add more
34725         single-argument functions.
34726         (special_fill_pi_2): New function.
34727         (special_fill_minus_pi_2): Likewise.
34728         (special_fill_pi_6): Likewise.
34729         (special_fill_minus_pi_6): Likewise.
34730         (special_fill_pi_3): Likewise.
34731         (special_fill_2pi_3): Likewise.
34732         (special_fill_e): Likewise.
34733         (special_fill_1_e): Likewise.
34734         (special_fill_e_minus_1): Likewise.
34735         (special_real_inputs): Add more special inputs.
34736         (output_for_one_input_case): Do not require ERANGE on underflow to
34737         zero if round-to-nearest result does not underflow to zero, unless
34738         exact results required.
34739         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34740         atan, atanh, cbrt, cos and cosh.
34741         * math/auto-libm-test-out: Regenerated.
34742         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34743         (acos_tonearest_test_data): Likewise.
34744         (acos_towardzero_test_data): Likewise.
34745         (acos_downward_test_data): Likewise.
34746         (acos_upward_test_data): Likewise.
34747         (acosh_test_data): Likewise.
34748         (asin_test_data): Likewise.
34749         (asin_tonearest_test_data): Likewise.
34750         (asin_towardzero_test_data): Likewise.
34751         (asin_upward_test_data): Likewise.
34752         (asinh_test_data): Likewise.
34753         (atan_test_data): Likewise.
34754         (atanh_test_data): Likewise.
34755         (cbrt_test_data): Likewise.
34756         (cos_test_data): Likewise.
34757         (cos_tonearest_test_data): Likewise.
34758         (cos_towardzero_test_data): Likewise.
34759         (cos_downward_test_data): Likewise.
34760         (cos_upward_test_data): Likewise.
34761         (cosh_test_data): Likewise.
34762         (cosh_tonearest_test_data): Likewise.
34763         (cosh_towardzero_test_data): Likewise.
34764         (cosh_downward_test_data): Likewise.
34765         (cosh_upward_test_data): Likewise.
34766         * sysdeps/i386/fpu/libm-test-ulps: Update.
34767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34769 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34771         [BZ #6787]
34772         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34773         * math/w_exp10f.c (__exp10f): Likewise.
34774         * math/w_exp10l.c (__exp10l): Likewise.
34775         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34776         errno settings in existing tests.
34778         [BZ #14032]
34779         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34780         precision control set to double precision.
34781         * sysdeps/i386/fpu/w_sqrt.c: New file.
34782         * math/auto-libm-test-in: Add more tests.
34783         * math/auto-libm-test-out: Update.
34785         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34786         (sqrt_test_tonearest): New function.
34787         (sqrt_towardzero_test_data): New variable.
34788         (sqrt_test_towardzero): New function.
34789         (sqrt_downward_test_data): New variable.
34790         (sqrt_test_downward): New function.
34791         (sqrt_upward_test_data): New variable.
34792         (sqrt_test_upward): New function.
34793         (main): Call the new functions.
34795         * math/gen-auto-libm-tests.c: New file.
34796         * math/auto-libm-test-in: Likewise.
34797         * math/auto-libm-test-out: New generated file.
34798         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34799         variables.
34800         (%beautify): Add generated representations of zero.
34801         (top level): Set $auto_input and call parse_auto_input.
34802         (beautify): Remove trailing "f" from hex float constants.
34803         (parse_args): Handle XFAIL_TEST.
34804         (convert_condition): New function.
34805         (or_value): Likewise.
34806         (or_cond_value): Likewise.
34807         (generate_testfile): Handle AUTO_TESTS_* lines.
34808         (parse_auto_input): New function.
34809         * math/libm-test.inc (XFAIL_TEST): New macro.
34810         (ERRNO_UNCHANGED): Update value.
34811         (ERRNO_EDOM): Likewise.
34812         (ERRNO_ERANGE): Likewise.
34813         (IGNORE_RESULT): Likewise.
34814         (TEST_COND_flt_32): New macro.
34815         (TEST_COND_dbl_64): Likewise.
34816         (TEST_COND_ldbl_96_intel): Likewise.
34817         (TEST_COND_ldbl_96_m68k): Likewise.
34818         (TEST_COND_ldbl_128): Likewise.
34819         (TEST_COND_ldbl_128ibm): Likewise.
34820         (TEST_COND_long32): Likewise.
34821         (TEST_COND_long64): Likewise.
34822         (TEST_COND_before_rounding): Likewise.
34823         (TEST_COND_after_rounding): Likewise.
34824         (enable_test): Handle XFAIL_TEST flag.
34825         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34826         with finite results.
34827         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34828         auto-libm-test-out.
34830 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34831             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34833         [BZ #16214]
34834         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34835         __tls_get_addr_internal instead of __tls_get_offset in order to
34836         avoid GOT pointer dependency.  Make rtld export
34837         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34838         __tls_get_addr since we are a __tls_get_offset platform.
34839         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34840         GOT pointer being set up before.
34841         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34843 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34845         * manual/math.texi (Errors in Math Functions): Document accuracy
34846         goals.
34848         [BZ #15004]
34849         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34850         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34851         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34852         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34853         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34854         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34855         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34856         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34857         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34858         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34859         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34860         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34861         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34862         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34863         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34864         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34866         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34867         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34868         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34869         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34870         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34871         Likewise.
34872         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34873         Likewise.
34874         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34875         Likewise.
34876         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34877         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34878         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
34879         atomic-feupdateenv and flt-rounds.
34880         * sysdeps/powerpc/nofpu/Versions (libc): Add
34881         __atomic_feholdexcept, __atomic_feclearexcept,
34882         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
34883         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
34884         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
34885         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
34886         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
34887         here.
34888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34889         Update.
34891         * manual/arith.texi (FP Exceptions): Document that exceptions may
34892         not be raised when matherr is used.
34893         (Math Error Reporting): Document overflow in directed rounding
34894         modes.  Document that errno may not be set when finite values are
34895         returned on overflow.  Document intent to set errno on underflow
34896         only for underflow to zero.
34898         [BZ #16271]
34899         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
34900         round-to-nearest then adjust result for other rounding modes.
34901         * include/fenv.h (fegetround): Use libm_hidden_proto.
34902         * math/fegetround.c (fegetround): Use libm_hidden_def.
34903         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34904         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34905         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34906         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34907         Likewise.
34908         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
34909         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34910         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34911         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
34913 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34915         [BZ #16077]
34916         * nss/Versions (libnss_files): Add
34917         _nss_files_gethostbyname3_r.
34918         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
34919         New function.
34920         (HOST_DB_LOOKUP): Remove macro.
34921         (_nss_files_gethostbyname_r): Implement function without the
34922         HOST_DB_LOOKUP macro.
34923         (_nss_files_gethostbyname2_r): Likewise.
34925 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
34927         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
34929 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
34931         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
34932         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
34933         warning.
34935 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34937         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
34938         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
34939         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34940         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34941         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
34942         __fe_nomask_env_priv and attribute_hidden.
34943         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
34944         (libc_feupdateenv_test_ppc): Likewise.
34945         (libc_feresetround_ppc): Likewise.
34946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34947         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
34948         compat_symbol macro.
34949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34950         (__fe_nomask_env): Likewise.
34951         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
34953 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34955         * string/Makefile: Remove ifunc tests.
34956         * string/test-string.h: Define TEST_IFUNC.
34957         * string/test-bcopy-ifunc.c: Remove.
34958         * string/test-bzero-ifunc.c: Likewise.
34959         * string/test-memccpy-ifunc.c: Likewise.
34960         * string/test-memchr-ifunc.c: Likewise.
34961         * string/test-memcmp-ifunc.c: Likewise.
34962         * string/test-memcpy-ifunc.c: Likewise.
34963         * string/test-memmem-ifunc.c: Likewise.
34964         * string/test-memmove-ifunc.c: Likewise.
34965         * string/test-mempcpy-ifunc.c: Likewise.
34966         * string/test-memrchr-ifunc.c: Likewise.
34967         * string/test-memset-ifunc.c: Likewise.
34968         * string/test-rawmemchr-ifunc.c: Likewise.
34969         * string/test-stpcpy-ifunc.c: Likewise.
34970         * string/test-stpncpy-ifunc.c: Likewise.
34971         * string/test-strcasecmp-ifunc.c: Likewise.
34972         * string/test-strcasestr-ifunc.c: Likewise.
34973         * string/test-strcat-ifunc.c: Likewise.
34974         * string/test-strchr-ifunc.c: Likewise.
34975         * string/test-strchrnul-ifunc.c: Likewise.
34976         * string/test-strcmp-ifunc.c: Likewise.
34977         * string/test-strcpy-ifunc.c: Likewise.
34978         * string/test-strcspn-ifunc.c: Likewise.
34979         * string/test-strlen-ifunc.c: Likewise.
34980         * string/test-strncasecmp-ifunc.c: Likewise.
34981         * string/test-strncat-ifunc.c: Likewise.
34982         * string/test-strncmp-ifunc.c: Likewise.
34983         * string/test-strncpy-ifunc.c: Likewise.
34984         * string/test-strnlen-ifunc.c: Likewise.
34985         * string/test-strpbrk-ifunc.c: Likewise.
34986         * string/test-strrchr-ifunc.c: Likewise.
34987         * string/test-strspn-ifunc.c: Likewise.
34988         * string/test-strstr-ifunc.c: Likewise.
34990 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34992         * benchtests/Makefile: Remove ifunc tests.
34993         * benchtests/bench-string.h: Define TEST_IFUNC.
34994         * benchtests/bench-bcopy-ifunc.c: Remove.
34995         * benchtests/bench-bzero-ifunc.c: Likewise.
34996         * benchtests/bench-memccpy-ifunc.c: Likewise.
34997         * benchtests/bench-memchr-ifunc.c: Likewise.
34998         * benchtests/bench-memcmp-ifunc.c: Likewise.
34999         * benchtests/bench-memcpy-ifunc.c: Likewise.
35000         * benchtests/bench-memmem-ifunc.c: Likewise.
35001         * benchtests/bench-memmove-ifunc.c: Likewise.
35002         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35003         * benchtests/bench-memrchr-ifunc.c: Likewise.
35004         * benchtests/bench-memset-ifunc.c: Likewise.
35005         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35006         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35007         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35008         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35009         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35010         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35011         * benchtests/bench-strcat-ifunc.c: Likewise.
35012         * benchtests/bench-strchr-ifunc.c: Likewise.
35013         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35014         * benchtests/bench-strcmp-ifunc.c: Likewise.
35015         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35016         * benchtests/bench-strcpy-ifunc.c: Likewise.
35017         * benchtests/bench-strcspn-ifunc.c: Likewise.
35018         * benchtests/bench-strlen-ifunc.c: Likewise.
35019         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35020         * benchtests/bench-strncat-ifunc.c: Likewise.
35021         * benchtests/bench-strncmp-ifunc.c: Likewise.
35022         * benchtests/bench-strncpy-ifunc.c: Likewise.
35023         * benchtests/bench-strnlen-ifunc.c: Likewise.
35024         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35025         * benchtests/bench-strrchr-ifunc.c: Likewise.
35026         * benchtests/bench-strsep-ifunc.c: Likewise.
35027         * benchtests/bench-strspn-ifunc.c: Likewise.
35028         * benchtests/bench-strstr-ifunc.c: Likewise.
35030 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35032         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35034 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35036         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35037         * rt/aio.h: Likewise.
35038         * sysdeps/gnu/bits/utmp.h: Likewise.
35039         * sysdeps/gnu/bits/utmpx.h: Likewise.
35040         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35041         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35042         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35043         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35044         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35045         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35046         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35047         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35048         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35049         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35050         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35051         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35052         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35054         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35055         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35056         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35057         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35058         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35059         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35060         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35061         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35062         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35063         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35064         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35065         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35066         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35067         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35068         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35069         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35070         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35071         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35072         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35073         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35074         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35075         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35076         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35077         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35078         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35079         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35080         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35081         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35083 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35085         [BZ #16245]
35086         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35087         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35089 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35091         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35092         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35093         Likewise.
35095 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35097         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35098         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35099         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35100         (__fesetround): Remove define.
35101         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35102         rounding and exceptions handling.
35103         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35104         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35105         (__fe_nomask_env): Likewise.
35106         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35107         __fegetround instead of fegetround.
35108         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35109         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35111 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35113         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35114         it's there.
35116         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35118 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35120         [BZ #11157]
35121         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35122         (encrypt_r): Likewise.
35123         * malloc/obstack.h (obstack_free): Likewise.
35124         * posix/unistd.h (encrypt): Likewise.
35126 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35128         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35129         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35130         DL_CALL_DT_FINI() that call the functions directly.
35131         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35132         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35133         * elf/dl-fini.c: Likewise.
35135 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35137         * malloc/hooks.c (memalign_check): Add alignment rounding.
35138         * malloc/malloc.c (_mid_memalign): New function.
35139         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35140         Implement by calling _mid_memalign.
35141         * manual/probes.texi (Memory Allocation Probes): Remove
35142         memory_valloc_retry and memory_pvalloc_retry.
35144 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35146         * locale/programs/locarchive.c (open_archive): Add const
35147         qualifier to ARCHIVEFNAME and copy default fname to
35148         DEFAULT_FNAME.
35150         [BZ #15601]
35151         * libio/tst-widetext.input: Rename Oriya to Odia.
35152         * locale/iso-639.def: Likewise.
35154         * manual/probes.texi (Mathematical Function Probes): Add
35155         documentation for sin, cos, asin and acos probes.
35156         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35157         (__sin32): Add slowasin probe.
35158         (__cos32): Add slowacos probe.
35159         (__mpsin): Add slowsin probe.
35160         (__mpcos): Add slowcos probe.
35162 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35164         [BZ #15483]
35165         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35166         thread-local __sim_exceptions_thread and global
35167         __sim_exceptions_global.
35168         (__sim_disabled_exceptions): Change to thread-local
35169         __sim_disabled_exceptions_thread and global
35170         __sim_disabled_exceptions_global.
35171         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35172         and global __sim_round_mode_global.
35173         (__simulate_exceptions): Use thread-local floating-point state and
35174         set global state from it as needed.
35175         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35176         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35177         __sim_round_mode_thread.
35178         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35179         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35180         and global __sim_exceptions_global.
35181         (__sim_disabled_exceptions): Change to thread-local
35182         __sim_disabled_exceptions_thread and global
35183         __sim_disabled_exceptions_global.
35184         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35185         and global __sim_round_mode_global.
35186         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35187         (SIM_SET_GLOBAL): Likewise.
35188         * sysdeps/powerpc/soft-fp/sfp-machine.h
35189         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35190         __sim_round_mode_thread.
35191         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35192         __sim_disabled_exceptions_thread.
35193         (__sim_exceptions): Change to __sim_exceptions_thread.
35194         (__sim_disabled_exceptions): Change to
35195         __sim_disabled_exceptions_thread.
35196         (__sim_round_mode): Change to __sim_round_mode_thread.
35197         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35198         thread-local floating-point state and set global state from it as
35199         needed.
35200         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35201         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35202         (__sim_disabled_exceptions): Remove extern declaration.
35203         (feenableexcept): Use thread-local floating-point state and set
35204         global state from it as needed.
35205         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35206         extern declaration.
35207         (__sim_disabled_exceptions): Likewise.
35208         (__sim_round_mode): Likewise.
35209         (__fegetenv): Use thread-local floating-point state.
35210         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35211         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35212         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35213         floating-point state and set global state from it as needed.
35214         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35215         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35216         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35217         Likewise.
35218         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35219         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35220         Likewise.
35221         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35222         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35223         Use __sim_round_mode_thread.
35224         * math/test-fenv-tls.c: New file.
35225         * math/Makefile (tests): Add test-fenv-tls.
35226         ($(objpfx)test-fenv-tls): Depend on
35227         $(common-objpfx)nptl/libpthread.so.
35229 2013-11-19  Andreas Schwab  <schwab@suse.de>
35231         * locale/programs/locale.c (show_info): Decode wordarray elements.
35232         * locale/categories.def (LC_MONETARY): Add element for
35233         _NL_MONETARY_CRNCYSTR.
35234         * locale/C-monetary.c (conversion_rate): New variable.
35235         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35236         element.
35238 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35240         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35241         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35243 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35245         * elf/Makefile (tst-auxv): New test.
35246         * elf/tst-auxv.c: New
35247         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35249 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35251         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35252         (hidden_proto): Caller changed.
35253         (hidden_tls_proto): New macro.
35254         (libc_hidden_tls_proto): Likewise.
35255         (rtld_hidden_tls_proto): Likewise.
35256         (libm_hidden_tls_proto): Likewise.
35257         (libresolv_hidden_tls_proto): Likewise.
35258         (librt_hidden_tls_proto): Likewise.
35259         (libdl_hidden_tls_proto): Likewise.
35260         (libnss_files_hidden_tls_proto): Likewise.
35261         (libnsl_hidden_tls_proto): Likewise.
35262         (libnss_nisplus_hidden_tls_proto): Likewise.
35263         (libutil_hidden_tls_proto): Likewise.
35265 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35267         [BZ #10253]
35268         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35269         (decompose_rpath): Defer expansion to fillin_rpath.
35270         (_dl_init_paths): Pass linkmap to fillin_rpath.
35272 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35274         * benchtests/Makefile: Add strsep.
35275         * benchtests/bench-strsep.c: New file: strsep benchtest.
35276         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35278 2013-11-18  Andreas Schwab  <schwab@suse.de>
35280         * locale/programs/locale.c (show_info) [case byte]: Check for
35281         '\377' instead of '\177'.
35282         * locale/C-monetary.c (not_available): Always use "\377".
35283         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35284         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35285         detect unavailable sign_posn locale elements.
35286         * locale/localeconv.c (__localeconv): For grouping and
35287         mon_grouping handle "\177" and "\377" like no grouping.
35288         (INT_ELEM): New macro.  Use it to set all numeric members.
35289         * locale/programs/ld-monetary.c (monetary_read)
35290         <tok_mon_grouping>: Normalize single -1 to the empty string.
35291         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35292         Likewise.
35294 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35296         [BZ #16055]
35297         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35298         when we match (nil).
35299         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35301 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35303         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35304         (NO_TEST_INLINE): Update value.
35305         (ERRNO_UNCHANGED): Likewise.
35306         (ERRNO_EDOM): Likewise.
35307         (ERRNO_ERANGE): Likewise.
35308         (IGNORE_RESULT): Likewise.
35309         (check_float_internal): Check signs of NaN results if
35310         TEST_NAN_SIGN used.
35311         (check_complex): Pass TEST_NAN_SIGN flag through to second
35312         check_float_internal call.
35313         (copysign_test_data): Add tests with quiet NaNs as second
35314         argument.  Use TEST_NAN_SIGN.
35315         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35316         TEST_NAN_SIGN.
35317         (signbit_test_data): Add tests of quiet NaN argument.
35318         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35320         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35321         $ignore_result.
35322         (parse_args): Handle function results specified as IGNORE.
35323         * math/libm-test.inc (IGNORE_RESULT): New macro.
35324         (check_float_internal): Do not check numerical result if flag
35325         IGNORE_RESULT set.
35326         (check_complex): Pass through IGNORE_RESULT to second
35327         check_float_internal call.
35328         (check_int): Do not check numerical result if flag IGNORE_RESULT
35329         set.
35330         (check_long): Likewise.
35331         (check_bool): Likewise.
35332         (check_longlong): Likewise.
35333         (lrint_test_data): Add tests of infinite and NaN arguments.
35334         (lrint_tonearest_test_data): Likewise.
35335         (lrint_towardzero_test_data): Likewise.
35336         (lrint_downward_test_data): Likewise.
35337         (lrint_upward_test_data): Likewise.
35338         (llrint_test_data): Likewise.
35339         (llrint_tonearest_test_data): Likewise.
35340         (llrint_towardzero_test_data): Likewise.
35341         (llrint_downward_test_data): Likewise.
35342         (llrint_upward_test_data): Likewise.
35343         (lround_test_data): Likewise.
35344         (llround_test_data): Likewise.
35346         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35347         (ERRNO_UNCHANGED): Update value.
35348         (ERRNO_EDOM): Likewise.
35349         (ERRNO_ERANGE): Likewise.
35350         (NO_TEST_INLINE_FLOAT): New macro.
35351         (NO_TEST_INLINE_DOUBLE): Likewise.
35352         (enable_test): New function.
35353         (RUN_TEST_f_f): Check enable_test before running test.
35354         (RUN_TEST_2_f): Likewise.
35355         (RUN_TEST_fff_f): Likewise.
35356         (RUN_TEST_c_f): Likewise.
35357         (RUN_TEST_f_f1): Likewise.
35358         (RUN_TEST_fF_f1): Likewise.
35359         (RUN_TEST_fI_f1): Likewise.
35360         (RUN_TEST_ffI_f1): Likewise.
35361         (RUN_TEST_c_c): Likewise.
35362         (RUN_TEST_cc_c): Likewise.
35363         (RUN_TEST_f_i): Likewise.
35364         (RUN_TEST_f_i_tg): Likewise.
35365         (RUN_TEST_ff_i_tg): Likewise.
35366         (RUN_TEST_f_b): Likewise.
35367         (RUN_TEST_f_b_tg): Likewise.
35368         (RUN_TEST_f_l): Likewise.
35369         (RUN_TEST_f_L): Likewise.
35370         (RUN_TEST_fFF_11): Likewise.
35371         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35372         conditionals.
35373         (cosh_test_data): Likewise.
35374         (exp_test_data): Likewise.
35375         (expm1_test_data): Likewise.
35376         (hypot_test_data): Likewise.
35377         (pow_test_data): Likewise.
35378         (sinh_test_data): Likewise.
35379         (tanh_test_data): Likewise.
35380         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35381         flags argument.
35383         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35384         tests with quiet NaN input and output.
35385         (acosh_test_data): Likewise.
35386         (asin_test_data): Likewise.
35387         (asinh_test_data): Likewise.
35388         (atan_test_data): Likewise.
35389         (atanh_test_data): Likewise.
35390         (atan2_test_data): Likewise.
35391         (cbrt_test_data): Likewise.
35392         (cos_test_data): Likewise.
35393         (cosh_test_data): Likewise.
35394         (erf_test_data): Likewise.
35395         (erfc_test_data): Likewise.
35396         (exp_test_data): Likewise.
35397         (exp10_test_data): Likewise.
35398         (exp2_test_data): Likewise.
35399         (expm1_test_data): Likewise.
35400         (hypot_test_data): Likewise.
35401         (j0_test_data): Likewise.
35402         (j1_test_data): Likewise.
35403         (jn_test_data): Likewise.
35404         (lgamma_test_data): Likewise.
35405         (log_test_data): Likewise.
35406         (log10_test_data): Likewise.
35407         (log1p_test_data): Likewise.
35408         (log2_test_data): Likewise.
35409         (pow_test_data): Likewise.
35410         (scalb_test_data): Likewise.
35411         (sin_test_data): Likewise.
35412         (sincos_test_data): Likewise.
35413         (sinh_test_data): Likewise.
35414         (tan_test_data): Likewise.
35415         (tanh_test_data): Likewise.
35416         (tgamma_test_data): Likewise.
35417         (y0_test_data): Likewise.
35418         (y1_test_data): Likewise.
35419         (yn_test_data): Likewise.
35421         [BZ #16167]
35422         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35423         argument being NaN and avoid computations with second argument in
35424         that case.
35425         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35426         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35427         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35429 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35431         * locale/iso-639.def: Add Chitwani Tharu (the).
35433 2013-11-14  Andreas Schwab  <schwab@suse.de>
35435         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35436         word instead of empty string.
35438 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35441         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35443         (__fe_nomask_env): Likewise.
35445 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35447         * benchtests/bench-timing.h: Include time.h.
35449 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35451         [BZ #15997]
35452         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35453         to 3.4.0 for x32.
35454         * sysdeps/unix/sysv/linux/configure: Regenerated.
35456 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35458         [BZ #16151]
35459         * stdlib/strtod_l.c (round_and_return): Do not consider
35460         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35461         exponent one less than half the least subnormal exponent.
35462         * stdlib/test-strtod-round-data: Add more tests.
35463         * stdlib/tst-strtod-round.c (tests): Regenerated.
35465 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35467         [BZ #14143]
35468         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35469         (__fe_mask_env): Likewise.
35470         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35471         libm_hidden_proto and add function prototype.
35472         (__fe_mask_env): Add function prototype.
35473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35474         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35476         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35478         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35480 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35482         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35483         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35485 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35487         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35488         of htab_find_slot().
35490 2013-11-11  David S. Miller  <davem@davemloft.net>
35492         [BZ #16150]
35493         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35494         symbol in the non-vis3 case in static builds.
35495         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35496         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35497         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35498         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35500 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35502         [BZ #387]
35503         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35504         it is empty.
35506 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35508         * benchtests/Makefile: Add bench-strtod.
35509         * benchtests/bench-strtod.c: New file: strtod benchtest
35511 2013-11-11  Andreas Schwab  <schwab@suse.de>
35513         [BZ #16153]
35514         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35515         terminating NUL in key length.
35517 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35519         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35520         Add artificial ODP entry for vDSO symbol for PPC64.
35521         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35522         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35524 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35526         [BZ #15374]
35527         * nss/getent.c (services_keys): Recognize services starting with digit.
35529 2013-11-06  David S. Miller  <davem@davemloft.net>
35531         [BZ #15985]
35532         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35533         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35535 2013-11-06  Will Newton  <will.newton@linaro.org>
35537         * manual/memory.texi (Malloc Examples): Remove register
35538         keyword from examples.
35540 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35542         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35544 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35546         [BZ #6981]
35547         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35548         depending on [__GCC_IEC_559 > 0].
35549         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35550         depending on [__GCC_IEC_559_COMPLEX > 0].
35552 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35554         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35555         to iso-639.def.
35557 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35559         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35561 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35563         [BZ #16112]
35564         * malloc/malloc (malloc_info): Do not handle first bin as
35565         special case.
35567 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35569         * locale/iso-639.def: Add Central Nahuatl (nhn).
35571 2013-11-01  Bruno Haible  <bruno@clisp.org>
35573         [BZ #7003]
35574         * manual/math.texi (BSD Random): Specify range upper bound as
35575         in POSIX.
35577 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35579         * locale/iso-639.def: Add Meadow Mari (mhr).
35581 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35583         [BZ #14752], [BZ #15763]
35584         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35585         Validate name.
35586         * rt/tst_shm.c: Add test for escaping directory.
35588 2013-10-31  Andreas Schwab  <schwab@suse.de>
35590         [BZ #15917]
35591         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35592         followed by 'x' as part of digit sequence.
35593         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35595 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35597         [BZ #16037]
35598         * configure.ac: allow GNU Make 4.0 and greater.
35599         * configure: Regenerated.
35601 2013-10-30  Will Newton  <will.newton@linaro.org>
35603         [BZ #16038]
35604         * malloc/hooks.c (memalign_check): Limit alignment to the
35605         maximum representable power of two.
35606         * malloc/malloc.c (__libc_memalign): Likewise.
35607         * malloc/tst-memalign.c (do_test): Add test for very
35608         large alignment values.
35609         * malloc/tst-posix_memalign.c (do_test): Likewise.
35611 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35613         [BZ #11087]
35614         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35615         (munmap_chunk): Likewise.
35616         (mremap_chunk): Likewise.
35618 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35620         [BZ #15799]
35621         * stdlib/div.c (div): Remove obsolete code.
35622         * stdlib/ldiv.c (ldiv): Likewise.
35623         * stdlib/lldiv.c (lldiv): Likewise.
35625 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35627         [BZ #16071]
35628         * nss/nss_files/files-XXX.c (get_contents_ret): New
35629         enumerator.
35630         (get_contents): New function.
35631         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35633 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35635         * configure.in: Moved to ...
35636         * configure.ac: ... here. Change reference to configure.in
35637         to configure.ac.
35638         * sysdeps/arm/preconfigure.ac: ... here.
35639         configure.in to configure.ac.
35640         * sysdeps/gnu/configure.in: Moved to ...
35641         * sysdeps/gnu/configure.ac: ... here.
35642         * sysdeps/i386/configure.in: Moved to ...
35643         * sysdeps/i386/configure.ac: ... here.
35644         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35645         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35646         * sysdeps/mach/configure.in: Moved to ...
35647         * sysdeps/mach/configure.ac: ... here.
35648         * sysdeps/mach/hurd/configure.in: Moved to ...
35649         * sysdeps/mach/hurd/configure.ac: ... here.
35650         * sysdeps/powerpc/configure.in: Moved to ...
35651         * sysdeps/powerpc/configure.ac: ... here.
35652         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35653         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35654         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35655         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35656         * sysdeps/s390/s390-32/configure.in: Moved to ...
35657         * sysdeps/s390/s390-32/configure.ac: ... here.
35658         * sysdeps/s390/s390-64/configure.in: Moved to ...
35659         * sysdeps/s390/s390-64/configure.ac: ... here.
35660         * sysdeps/sh/configure.in: Moved to ...
35661         * sysdeps/sh/configure.ac: ... here.
35662         * sysdeps/sparc/configure.in: Moved to ...
35663         * sysdeps/sparc/configure.ac: ... here.
35664         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35665         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35666         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35667         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35668         * sysdeps/x86_64/configure.in: Moved to ...
35669         * sysdeps/x86_64/configure.ac: ... here.
35670         * sysdeps/x86_64/preconfigure.in: Moved to ...
35671         * sysdeps/x86_64/preconfigure.ac: ... here.
35672         * aclocal.m4: Change reference to configure.in to configure.ac.
35673         * config.h.in: Likewise.
35674         * manual/install.texi: Likewise.
35675         * manual/maint.texi: Likewise.
35676         * Makefile: Likewise.
35677         * malloc/Makefile: Likewise.
35678         * nscd/Makefile: Likewise.
35679         * Makeconfig: Change reference to configure.in and
35680         preconfigure.in to configure.ac and preconfigure.ac
35681         respectively.
35682         * INSTALL: Regenerated.
35683         * configure: Likewise.
35684         * sysdeps/gnu/configure: Likewise.
35685         * sysdeps/i386/configure: Likewise.
35686         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35687         * sysdeps/mach/configure: Likewise.
35688         * sysdeps/mach/hurd/configure: Likewise.
35689         * sysdeps/powerpc/configure: Likewise.
35690         * sysdeps/powerpc/powerpc32/configure: Likewise.
35691         * sysdeps/powerpc/powerpc64/configure: Likewise.
35692         * sysdeps/s390/s390-32/configure: Likewise.
35693         * sysdeps/s390/s390-64/configure: Likewise.
35694         * sysdeps/sh/configure: Likewise.
35695         * sysdeps/sparc/configure: Likewise.
35696         * sysdeps/unix/sysv/linux/configure: Likewise.
35697         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35698         * sysdeps/x86_64/configure: Likewise.
35699         * sysdeps/x86_64/preconfigure: Likewise.
35701 2013-10-29  Andreas Schwab  <schwab@suse.de>
35703         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35705 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35707         * benchtests/pow-inputs: Add new inputs.
35709         * benchtests/exp-inputs: Add new inputs.
35711         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35712         conditional check for return value.
35713         (__cos32): Likewise.
35715 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35717         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35718         to provide a boost for large inputs with word alignment.
35719         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35720         implementation based on optimized PPC64 strcpy.
35721         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35722         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35723         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35724         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35726 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35728         [BZ #2801]
35729         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35731 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35733         [BZ #14876]
35734         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35735         * time/tst-strptime.c (day_tests): Add testcase.
35737 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35739         [BZ #14029]
35740         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35742 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35744         [BZ #16074]
35745         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35746         MAP_FAILED on error.
35748 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35750         [BZ #16072]
35751         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35752         heap for large requests.
35754 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35756         [BZ #9954]
35757         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35758         result if the result has no associated interface.
35759         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35760         interface for all 127.X.Y.Z addresses.
35762 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35764         * locale/iso-639.def: Add Ligurian (lij)
35766 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35768         [BZ #15825]
35769         * sunrpc/rpc_main.c: Document rpcgen -5.
35771 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35773         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35775 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35777         [BZ #10278]
35778         * posix/glob.c: Match only directories when trailing slash is present.
35779         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35780         (main): Add testcase.
35782 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35784         [BZ #15670]
35785         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35787 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35789         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35790         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35791         AUTH_DES and cindex for FIPS 140-2.
35792         (DES Encryption): Add cindex FIPS 46-3.
35794         * locale/locarchive.h (struct locarhandle): Add fname.
35795         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35796         if an optional argument was specified to --list-archive,
35797         otherwise NULL.
35798         * locale/programs/locarchive.c (show_archive_content): Take new
35799         argument fname and pass it via ah.fname to open_archive.
35800         * locale/programs/localedef.h: Update decl.
35801         (open_archive): If AH->fname is non-null, open that file
35802         rather than the default file name, and don't ignore ENOENT.
35803         (create_archive): Set AH.fname to NULL.
35804         (delete_locales_from_archive): Likewise.
35805         (add_locales_to_archive): Likewise.
35806         * locale/programs/locfile.c (write_all_categories): Likewise.
35808 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35809             Aldy Hernandez  <aldyh@redhat.com>
35811         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35812         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35813         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35814         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35815         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35816         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35817         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35818         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35819         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35820         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35821         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35822         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35823         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35824         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35825         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35826         Likewise.
35827         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35828         Likewise.
35829         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35830         Likewise.
35831         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35832         Likewise.
35833         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35834         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35835         Likewise.
35836         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35837         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35838         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35839         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35840         Likewise.
35841         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35842         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35843         * sysdeps/powerpc/preconfigure: Likewise.
35844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35845         Likewise.
35846         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35847         Replace contents of file by #include of <fenv_libc.h>.
35848         * sysdeps/powerpc/soft-fp/sfp-machine.h
35849         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35850         and <sys/prctl.h>.
35851         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35852         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35853         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35854         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35855         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35856         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35859         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35860         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35861         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35862         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35864         Allow copysignl PLT reference to be missing.
35866 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35867             Joseph Myers  <joseph@codesourcery.com
35869         [BZ #15948]
35870         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35871         single character.
35872         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35874 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35876         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35877         * elf/tst-tls1.c: Likewise.
35878         * elf/tst-tls10.h: Likewise.
35879         * elf/tst-tls14.c: Likewise.
35880         * elf/tst-tls2.c: Likewise.
35881         * elf/tst-tls3.c: Likewise.
35882         * elf/tst-tls4.c: Likewise.
35883         * elf/tst-tls5.c: Likewise.
35884         * elf/tst-tls6.c: Likewise.
35885         * elf/tst-tls7.c: Likewise.
35886         * elf/tst-tls8.c: Likewise.
35887         * elf/tst-tls9.c: Likewise.
35888         * elf/tst-tlsmod1.c: Likewise.
35889         * elf/tst-tlsmod13.c: Likewise.
35890         * elf/tst-tlsmod13a.c: Likewise.
35891         * elf/tst-tlsmod14a.c: Likewise.
35892         * elf/tst-tlsmod16a.c: Likewise.
35893         * elf/tst-tlsmod16b.c: Likewise.
35894         * elf/tst-tlsmod2.c: Likewise.
35895         * elf/tst-tlsmod3.c: Likewise.
35896         * elf/tst-tlsmod4.c: Likewise.
35897         * elf/tst-tlsmod5.c: Likewise.
35898         * elf/tst-tlsmod6.c: Likewise.
35900 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
35902         [BZ #12486]
35903         * malloc/malloc.c: remove checks for statistics.
35905 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35907         [BZ #15277]
35908         * inet/inet_net.c (inet_network): Detect additional invalid strings.
35909         * inet/tst-network.c: Add testcase.
35911 2013-10-17  Andreas Schwab  <schwab@suse.de>
35913         [BZ #15218]
35914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
35915         to determine canonical name.
35917 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35919         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
35920         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
35921         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35922         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35923         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35924         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35925         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35926         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35927         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35928         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35929         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35930         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35931         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35932         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35933         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35934         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35935         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35936         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35937         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35938         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35939         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35940         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35941         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35942         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
35943         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
35944         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35945         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35946         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
35947         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35948         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
35949         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35950         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35951         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35952         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35953         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35954         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35955         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35956         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35957         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35958         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35959         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35960         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35961         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35962         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35963         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35964         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35965         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35966         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35967         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35968         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35969         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35970         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35971         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35972         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35973         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35974         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35975         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35976         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35978 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
35980         [BZ #16041]
35981         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
35982         make result into a quiet NaN.
35984 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
35986         * soft-fp/adddf3.c: Fix horizontal whitespace.
35987         * soft-fp/addsf3.c: Likewise.
35988         * soft-fp/addtf3.c: Likewise.
35989         * soft-fp/divdf3.c: Likewise.
35990         * soft-fp/divsf3.c: Likewise.
35991         * soft-fp/divtf3.c: Likewise.
35992         * soft-fp/double.h: Likewise.
35993         * soft-fp/eqdf2.c: Likewise.
35994         * soft-fp/eqsf2.c: Likewise.
35995         * soft-fp/eqtf2.c: Likewise.
35996         * soft-fp/extenddftf2.c: Likewise.
35997         * soft-fp/extended.h: Likewise.
35998         * soft-fp/extendsfdf2.c: Likewise.
35999         * soft-fp/extendsftf2.c: Likewise.
36000         * soft-fp/extendxftf2.c: Likewise.
36001         * soft-fp/fixdfdi.c: Likewise.
36002         * soft-fp/fixdfsi.c: Likewise.
36003         * soft-fp/fixdfti.c: Likewise.
36004         * soft-fp/fixsfdi.c: Likewise.
36005         * soft-fp/fixsfsi.c: Likewise.
36006         * soft-fp/fixsfti.c: Likewise.
36007         * soft-fp/fixtfdi.c: Likewise.
36008         * soft-fp/fixtfsi.c: Likewise.
36009         * soft-fp/fixtfti.c: Likewise.
36010         * soft-fp/fixunsdfdi.c: Likewise.
36011         * soft-fp/fixunsdfsi.c: Likewise.
36012         * soft-fp/fixunsdfti.c: Likewise.
36013         * soft-fp/fixunssfdi.c: Likewise.
36014         * soft-fp/fixunssfsi.c: Likewise.
36015         * soft-fp/fixunssfti.c: Likewise.
36016         * soft-fp/fixunstfdi.c: Likewise.
36017         * soft-fp/fixunstfsi.c: Likewise.
36018         * soft-fp/fixunstfti.c: Likewise.
36019         * soft-fp/floatdidf.c: Likewise.
36020         * soft-fp/floatdisf.c: Likewise.
36021         * soft-fp/floatditf.c: Likewise.
36022         * soft-fp/floatsidf.c: Likewise.
36023         * soft-fp/floatsisf.c: Likewise.
36024         * soft-fp/floatsitf.c: Likewise.
36025         * soft-fp/floattidf.c: Likewise.
36026         * soft-fp/floattisf.c: Likewise.
36027         * soft-fp/floattitf.c: Likewise.
36028         * soft-fp/floatundidf.c: Likewise.
36029         * soft-fp/floatundisf.c: Likewise.
36030         * soft-fp/floatunditf.c: Likewise.
36031         * soft-fp/floatunsidf.c: Likewise.
36032         * soft-fp/floatunsisf.c: Likewise.
36033         * soft-fp/floatunsitf.c: Likewise.
36034         * soft-fp/floatuntidf.c: Likewise.
36035         * soft-fp/floatuntisf.c: Likewise.
36036         * soft-fp/floatuntitf.c: Likewise.
36037         * soft-fp/fmadf4.c: Likewise.
36038         * soft-fp/fmasf4.c: Likewise.
36039         * soft-fp/fmatf4.c: Likewise.
36040         * soft-fp/gedf2.c: Likewise.
36041         * soft-fp/gesf2.c: Likewise.
36042         * soft-fp/getf2.c: Likewise.
36043         * soft-fp/ledf2.c: Likewise.
36044         * soft-fp/lesf2.c: Likewise.
36045         * soft-fp/letf2.c: Likewise.
36046         * soft-fp/muldf3.c: Likewise.
36047         * soft-fp/mulsf3.c: Likewise.
36048         * soft-fp/multf3.c: Likewise.
36049         * soft-fp/negdf2.c: Likewise.
36050         * soft-fp/negsf2.c: Likewise.
36051         * soft-fp/negtf2.c: Likewise.
36052         * soft-fp/op-1.h: Likewise.
36053         * soft-fp/op-2.h: Likewise.
36054         * soft-fp/op-4.h: Likewise.
36055         * soft-fp/op-8.h: Likewise.
36056         * soft-fp/op-common.h: Likewise.
36057         * soft-fp/quad.h: Likewise.
36058         * soft-fp/single.h: Likewise.
36059         * soft-fp/soft-fp.h: Likewise.
36060         * soft-fp/sqrtdf2.c: Likewise.
36061         * soft-fp/sqrtsf2.c: Likewise.
36062         * soft-fp/sqrttf2.c: Likewise.
36063         * soft-fp/subdf3.c: Likewise.
36064         * soft-fp/subsf3.c: Likewise.
36065         * soft-fp/subtf3.c: Likewise.
36066         * soft-fp/truncdfsf2.c: Likewise.
36067         * soft-fp/trunctfdf2.c: Likewise.
36068         * soft-fp/trunctfsf2.c: Likewise.
36069         * soft-fp/trunctfxf2.c: Likewise.
36070         * soft-fp/unorddf2.c: Likewise.
36071         * soft-fp/unordsf2.c: Likewise.
36072         * soft-fp/unordtf2.c: Likewise.
36074 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36076         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36077         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36079 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36081         * elf/dl-libc.c: Clear initfini list after freeing.
36083 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36085         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36086         * soft-fp/addsf3.c: Likewise.
36087         * soft-fp/addtf3.c: Likewise.
36088         * soft-fp/divdf3.c: Likewise.
36089         * soft-fp/divsf3.c: Likewise.
36090         * soft-fp/divtf3.c: Likewise.
36091         * soft-fp/double.h: Likewise.
36092         * soft-fp/eqdf2.c: Likewise.
36093         * soft-fp/eqsf2.c: Likewise.
36094         * soft-fp/eqtf2.c: Likewise.
36095         * soft-fp/extenddftf2.c: Likewise.
36096         * soft-fp/extended.h: Likewise.
36097         * soft-fp/extendsfdf2.c: Likewise.
36098         * soft-fp/extendsftf2.c: Likewise.
36099         * soft-fp/extendxftf2.c: Likewise.
36100         * soft-fp/fixdfdi.c: Likewise.
36101         * soft-fp/fixdfsi.c: Likewise.
36102         * soft-fp/fixdfti.c: Likewise.
36103         * soft-fp/fixsfdi.c: Likewise.
36104         * soft-fp/fixsfsi.c: Likewise.
36105         * soft-fp/fixsfti.c: Likewise.
36106         * soft-fp/fixtfdi.c: Likewise.
36107         * soft-fp/fixtfsi.c: Likewise.
36108         * soft-fp/fixtfti.c: Likewise.
36109         * soft-fp/fixunsdfdi.c: Likewise.
36110         * soft-fp/fixunsdfsi.c: Likewise.
36111         * soft-fp/fixunsdfti.c: Likewise.
36112         * soft-fp/fixunssfdi.c: Likewise.
36113         * soft-fp/fixunssfsi.c: Likewise.
36114         * soft-fp/fixunssfti.c: Likewise.
36115         * soft-fp/fixunstfdi.c: Likewise.
36116         * soft-fp/fixunstfsi.c: Likewise.
36117         * soft-fp/fixunstfti.c: Likewise.
36118         * soft-fp/floatdidf.c: Likewise.
36119         * soft-fp/floatdisf.c: Likewise.
36120         * soft-fp/floatditf.c: Likewise.
36121         * soft-fp/floatsidf.c: Likewise.
36122         * soft-fp/floatsisf.c: Likewise.
36123         * soft-fp/floatsitf.c: Likewise.
36124         * soft-fp/floattidf.c: Likewise.
36125         * soft-fp/floattisf.c: Likewise.
36126         * soft-fp/floattitf.c: Likewise.
36127         * soft-fp/floatundidf.c: Likewise.
36128         * soft-fp/floatundisf.c: Likewise.
36129         * soft-fp/floatunsidf.c: Likewise.
36130         * soft-fp/floatunsisf.c: Likewise.
36131         * soft-fp/floatuntidf.c: Likewise.
36132         * soft-fp/floatuntisf.c: Likewise.
36133         * soft-fp/floatuntitf.c: Likewise.
36134         * soft-fp/fmadf4.c: Likewise.
36135         * soft-fp/fmasf4.c: Likewise.
36136         * soft-fp/fmatf4.c: Likewise.
36137         * soft-fp/gedf2.c: Likewise.
36138         * soft-fp/gesf2.c: Likewise.
36139         * soft-fp/getf2.c: Likewise.
36140         * soft-fp/ledf2.c: Likewise.
36141         * soft-fp/lesf2.c: Likewise.
36142         * soft-fp/letf2.c: Likewise.
36143         * soft-fp/muldf3.c: Likewise.
36144         * soft-fp/mulsf3.c: Likewise.
36145         * soft-fp/multf3.c: Likewise.
36146         * soft-fp/negdf2.c: Likewise.
36147         * soft-fp/negsf2.c: Likewise.
36148         * soft-fp/negtf2.c: Likewise.
36149         * soft-fp/op-1.h: Likewise.
36150         * soft-fp/op-2.h: Likewise.
36151         * soft-fp/op-4.h: Likewise.
36152         * soft-fp/op-8.h: Likewise.
36153         * soft-fp/op-common.h: Likewise.
36154         * soft-fp/quad.h: Likewise.
36155         * soft-fp/single.h: Likewise.
36156         * soft-fp/soft-fp.h: Likewise.
36157         * soft-fp/sqrtdf2.c: Likewise.
36158         * soft-fp/sqrtsf2.c: Likewise.
36159         * soft-fp/sqrttf2.c: Likewise.
36160         * soft-fp/subdf3.c: Likewise.
36161         * soft-fp/subsf3.c: Likewise.
36162         * soft-fp/subtf3.c: Likewise.
36163         * soft-fp/truncdfsf2.c: Likewise.
36164         * soft-fp/trunctfdf2.c: Likewise.
36165         * soft-fp/trunctfsf2.c: Likewise.
36166         * soft-fp/trunctfxf2.c: Likewise.
36167         * soft-fp/unorddf2.c: Likewise.
36168         * soft-fp/unordsf2.c: Likewise.
36169         * soft-fp/unordtf2.c: Likewise.
36171 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36173         [BZ #15672]
36174         * misc/error.c (error_tail): Fix possible buffer overflow.
36176 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36178         [BZ #13028]
36179         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36180         address.
36182 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36184         [BZ #832]
36185         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36186         testing pipefail option.
36188 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36190         * soft-fp/double.h: Indent preprocessor directives inside #if.
36191         * soft-fp/extended.h: Likewise.
36192         * soft-fp/op-2.h: Likewise.
36193         * soft-fp/op-4.h: Likewise.
36194         * soft-fp/op-common.h: Likewise.
36195         * soft-fp/quad.h: Likewise.
36196         * soft-fp/single.h: Likewise.
36197         * soft-fp/soft-fp.h: Likewise.
36199 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36201         * iconv/iconv_prog.c: Fix typos.
36202         * stdio-common/psiginfo-data.h: Likewise.
36204 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36206         [BZ #15764]
36207         * locale/setlocale.c: Fix typo.
36209 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36211         [BZ #16036]
36212         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36213         signaling NaN arguments.
36214         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36215         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36217         [BZ #14910]
36218         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36219         unordered operands.
36220         * soft-fp/gesf2.c (__gesf2): Likewise.
36221         * soft-fp/getf2.c (__getf2): Likewise.
36222         * soft-fp/ledf2.c (__ledf2): Likewise.
36223         * soft-fp/lesf2.c (__lesf2): Likewise.
36224         * soft-fp/letf2.c (__letf2): Likewise.
36226         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36227         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36228         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36229         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36230         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36231         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36232         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36233         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36234         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36235         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36236         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36237         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36238         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36239         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36240         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36241         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36242         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36243         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36244         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36245         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36246         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36247         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36248         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36249         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36250         * soft-fp/floattidf.c (__floattidf): Likewise.
36251         * soft-fp/floattisf.c (__floattisf): Likewise.
36252         * soft-fp/floattitf.c (__floattitf): Likewise.
36253         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36254         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36255         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36256         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36257         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36258         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36259         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36260         * soft-fp/gesf2.c (__gesf2): Likewise.
36261         * soft-fp/getf2.c (__getf2): Likewise.
36262         * soft-fp/ledf2.c (__ledf2): Likewise.
36263         * soft-fp/lesf2.c (__lesf2): Likewise.
36264         * soft-fp/letf2.c (__letf2): Likewise.
36266         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36267         Undefine and redefine.
36268         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36269         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36270         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36271         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36272         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36273         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36274         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36275         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36276         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36277         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36278         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36279         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36280         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36281         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36282         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36284         [BZ #16032]
36285         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36286         without decrementing exponent if mantissa >= that for the
36287         denominator, not >.
36288         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36289         denominator, not >.  Decrement exponent in < case instead of
36290         incrementing in >= case.
36291         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36292         without decrementing exponent if mantissa >= that for the
36293         denominator, not >.
36295         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36296         computing saturated result for unsigned overflow.
36298 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36299             Jeff Law  <law@redhat.com>
36301         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36302         (atan2Mp): Add systemtap probe marker.
36303         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36304         (__ieee754_log): Add systemtap probe marker.
36305         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36306         (atanMp): Add systemtap probe marker.
36307         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36308         (tanMp): Add systemtap probe marker.
36309         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36310         (__slowexp): Add systemtap probe marker.
36311         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36312         (__slowpow): Add systemtap probe marker.
36313         * manual/probes.texi: Document probes.
36315 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36317         [BZ #15362]
36318         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36319         written.
36320         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36321         written.
36322         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36323         written to buffer but not flushed.
36324         * libio/iofwrite_u.c:  Likewise.
36325         * libio/iopadn.c:  Return bytes returned even if EOF was
36326         encountered.
36327         * libio/iowpadn.c:  Likewise.
36328         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36329         if _IO_padn does not write the whole buffer.
36330         [!COMPILE_WPRINTF] (PAD): Likewise.
36332 2013-10-10  David S. Miller  <davem@davemloft.net>
36334         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36335         directory block.
36337 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36339         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36340         instead of FSF address.
36341         * soft-fp/fixdfti.c: Likewise.
36342         * soft-fp/fixsfti.c: Likewise.
36343         * soft-fp/fixtfti.c: Likewise.
36344         * soft-fp/fixunsdfti.c: Likewise.
36345         * soft-fp/fixunssfti.c: Likewise.
36346         * soft-fp/fixunstfti.c: Likewise.
36347         * soft-fp/floattidf.c: Likewise.
36348         * soft-fp/floattisf.c: Likewise.
36349         * soft-fp/floattitf.c: Likewise.
36350         * soft-fp/floatuntidf.c: Likewise.
36351         * soft-fp/floatuntisf.c: Likewise.
36352         * soft-fp/floatuntitf.c: Likewise.
36353         * soft-fp/trunctfxf2.c: Likewise.
36355         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36356         * soft-fp/fixdfti.c: Likewise.
36357         * soft-fp/fixsfti.c: Likewise.
36358         * soft-fp/fixtfti.c: Likewise.
36359         * soft-fp/fixunsdfti.c: Likewise.
36360         * soft-fp/fixunssfti.c: Likewise.
36361         * soft-fp/fixunstfti.c: Likewise.
36362         * soft-fp/floattidf.c: Likewise.
36363         * soft-fp/floattisf.c: Likewise.
36364         * soft-fp/floattitf.c: Likewise.
36365         * soft-fp/floatuntidf.c: Likewise.
36366         * soft-fp/floatuntisf.c: Likewise.
36367         * soft-fp/floatuntitf.c: Likewise.
36368         * soft-fp/trunctfxf2.c: Likewise.
36370 2013-10-10  David S. Miller  <davem@davemloft.net>
36372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36374 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36376         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36377         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36378         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36379         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36380         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36381         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36382         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36384         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36385         for NaNs before doing comparisons on argument.
36386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36387         Likewise.
36389 2013-10-10  Will Newton  <will.newton@linaro.org>
36391         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36392         passed to _int_memalign does not overflow.
36394 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36396         * scripts/bench.pl: Add include-sources directive.
36397         * benchtests/README: Update documentation.
36399 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36401         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36402         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36403         instead of FP_INIT_ROUNDMODE.
36404         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36405         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36407         [BZ #16034]
36408         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36409         copy class of input value.
36410         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36411         not handle exceptions.
36412         * soft-fp/negsf2.c (__negsf2): Likewise.
36413         * soft-fp/negtf2.c (__negtf2): Likewise.
36414         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36416 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36418         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36419         semicolon.  From Linux kernel.
36421 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36423         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36425 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36427         [BZ #156]
36428         * manual/socket.texi: Added statement about buffer
36429         for gethostbyname2_r.
36431 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36433         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36434         Use .p2align directive instead, throughout.
36435         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36436         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36437         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36438         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36439         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36440         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36441         * sysdeps/x86_64/strchr.S: Likewise.
36442         * sysdeps/x86_64/strrchr.S: Likewise.
36444 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36446         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36448         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36450         * sysdeps/generic/math_private.h (__mpsin1): Remove
36451         declaration.
36452         (__mpcos1): Likewise.
36453         (__mpsin): New argument __range_reduce.
36454         (__mpcos): Likewise.
36455         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36456         (slow): Use __mpsin and __mpcos.
36457         (slow1): Likewise.
36458         (slow2): Likewise.
36459         (sloww): Likewise.
36460         (sloww1): Likewise.
36461         (sloww2): Likewise.
36462         (bsloww): Likewise.
36463         (bsloww1): Likewise.
36464         (bsloww2): Likewise.
36465         (cslow2): Likewise.
36466         (csloww): Likewise.
36467         (csloww1): Likewise.
36468         (csloww2): Likewise.
36469         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36470         range_reduce.  Merge in __mpsin1.
36471         (__mpcos): Likewise.
36472         (__mpsin1): Remove.
36473         (__mpcos1): Likewise.
36475 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36477         * locale/loadlocale.c (_nl_intern_locale_data): Use
36478         LOCFILE_ALIGNED_P.
36479         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36480         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36481         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36482         obstack data is appropriately aligned.
36483         (obstack_int32_grow_fast): Likewise.
36484         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36485         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36486         (add_locale_uint32_array): Likewise.
36488 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36490         * benchtests/Makefile: Remove ARGLIST and RET variables.
36491         ($(objpfx)bench-%.c): Pass only function name to the script.
36492         * benchtests/README: Update documentation.
36493         * benchtests/acos-inputs: Add new directives.
36494         * benchtests/acosh-inputs: Likewise.
36495         * benchtests/asin-inputs: Likewise.
36496         * benchtests/asinh-inputs: Likewise.
36497         * benchtests/atan-inputs: Likewise.
36498         * benchtests/atanh-inputs: Likewise.
36499         * benchtests/cos-inputs: Likewise.
36500         * benchtests/cosh-inputs: Likewise.
36501         * benchtests/exp-inputs: Likewise.
36502         * benchtests/log-inputs: Likewise.
36503         * benchtests/pow-inputs: Likewise.
36504         * benchtests/rint-inputs: Likewise.
36505         * benchtests/sin-inputs: Likewise.
36506         * benchtests/sinh-inputs: Likewise.
36507         * benchtests/tan-inputs: Likewise.
36508         * benchtests/tanh-inputs: Likewise.
36509         * scripts/bench.pl: Add support for new directives.
36511 2013-10-07  Alan Modra  <amodra@gmail.com>
36513         * README: Fix careless merge.
36515 2013-10-05  Alan Modra  <amodra@gmail.com>
36517         * NEWS: Mention powerpc64le support and bugs fixed.
36518         * README: Both big-endian and little-endian powerpc64 supported.
36520 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36522         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36523         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36524         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36525         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36527 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36529         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36530         match prototype.
36532 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36534         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36535         Move -mhard-float appending from
36536         ports/sysdeps/powerpc/powerpc32/Makefile.
36537         [$(with-fp) = yes] (ASFLAGS): Likewise.
36538         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36539         * sysdeps/powerpc/nofpu: Move directory from
36540         ports/sysdeps/powerpc/nofpu.
36541         * sysdeps/powerpc/soft-fp: Move directory from
36542         ports/sysdeps/powerpc/soft-fp.
36543         * sysdeps/powerpc/powerpc32/405: Move directory from
36544         ports/sysdeps/powerpc/powerpc32/405.
36545         * sysdeps/powerpc/powerpc32/440: Move directory from
36546         ports/sysdeps/powerpc/powerpc32/440.
36547         * sysdeps/powerpc/powerpc32/464: Move directory from
36548         ports/sysdeps/powerpc/powerpc32/464.
36549         * sysdeps/powerpc/powerpc32/476: Move directory from
36550         ports/sysdeps/powerpc/powerpc32/476.
36551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36552         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36554         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36556         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36558         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36560         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36561         * README: Update for powerpc-*-linux-gnu software floating point
36562         support in libc.
36564         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36565         case to powerpc/powerpc32*.
36566         * sysdeps/unix/sysv/linux/configure: Regenerated.
36568         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36569         (_FPU_MASK_OM): Define as 0x04.
36570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36572         0x00c10080.
36573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36574         0x0000003c.
36575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36578         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36579         getcontext_e500.
36580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36581         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36582         setcontext_e500.
36583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36584         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36585         and setcontext_e500.
36587 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36589         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36591 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36593         * manual/threads.texi (Default Thread Attributes): Fix typo.
36595 2013-10-04  Will Newton  <will.newton@linaro.org>
36597         * malloc/Makefile: Add tst-memalign.
36598         * malloc/tst-memalign.c: New file.
36600         * malloc/tst-posix_memalign.c: Add comments.
36601         (do_test): Add comments and call free on all potentially
36602         allocated pointers. Add space after cast.
36604         * malloc/tst-pvalloc.c: Add comments.
36605         (do_test): Add comments and call free on all potentially
36606         allocated pointers. Remove duplicate check for NULL pointer.
36607         Add space after cast.
36609         * malloc/tst-valloc.c: Add comments.
36610         (do_test): Add comments and call free on all potentially
36611         allocated pointers. Remove duplicate check for NULL pointer.
36612         Add space after cast.
36614 2013-10-04  Alan Modra  <amodra@gmail.com>
36616         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36617         Use stdint types in rather than __attribute__((mode())).
36618         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36620 2013-10-04  Alan Modra  <amodra@gmail.com>
36622         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36623         Correct handling of unaligned relocs for little-endian.
36624         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36626 2013-10-04  Alan Modra  <amodra@gmail.com>
36628         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36629         * configure: Regenerate.
36630         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36631         * shlib-versions: Likewise.
36633 2013-10-04  Alan Modra  <amodra@gmail.com>
36635         * string/tester.c (test_memrchr): Increment reported test cycle.
36637 2013-10-04  Alan Modra  <amodra@gmail.com>
36639         * string/test-memcpy.c (do_one_test): When reporting errors, print
36640         string address and don't overrun end of string.
36642 2013-10-04  Alan Modra  <amodra@gmail.com>
36644         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36645         insrdi.  Make better use of reg selection to speed exit slightly.
36646         Schedule entry path a little better.  Remove useless "are we done"
36647         checks on entry to main loop.  Handle wrapping around zero address.
36648         Correct main loop count.  Handle single left-over word from main
36649         loop inline rather than by using loop_small.  Remove extra word
36650         case in loop_small caused by wrong loop count.  Add little-endian
36651         support.
36652         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36653         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36654         cache hint.
36655         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36656         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36657         support.  Avoid rlwimi.
36658         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36660 2013-10-04  Alan Modra  <amodra@gmail.com>
36662         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36663         insrdi.  Formatting.
36664         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36665         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36666         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36667         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36668         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36669         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36671 2013-10-04  Alan Modra  <amodra@gmail.com>
36673         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36674         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36675         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36676         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36677         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36678         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36679         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36680         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36681         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36682         use of regs.  Use power7 mtocrf.  Tidy function tails.
36684 2013-10-04  Alan Modra  <amodra@gmail.com>
36686         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36687         Formatting.  Consistently use rXXX register defines or rN defines.
36688         Use early exit labels that avoid restoring unused non-volatile regs.
36689         Make cr field use more consistent with rWORDn compares.  Rename
36690         regs used as shift registers for unaligned loop, using rN defines
36691         for short lifetime/multiple use regs.
36692         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36693         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36694         addi 1,1,64 to pop stack frame.  Simplify return value code.
36695         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36697 2013-10-04  Alan Modra  <amodra@gmail.com>
36699         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36700         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36701         rather than rlwimi.
36702         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36703         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36704         little-endian support.  Correct typos.
36705         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36706         rather than rlwimi.
36707         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36708         in loop and entry code to keep "and." results.
36709         (strchr): Add little-endian support.  Comment.  Move cntlzd
36710         earlier in tail.
36711         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36713 2013-10-04  Alan Modra  <amodra@gmail.com>
36715         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36716         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36717         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36718         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36720 2013-10-04  Alan Modra  <amodra@gmail.com>
36722         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36723         (rTMP): Define as r11.
36724         (strcmp): Add little-endian support.  Optimise tail.
36725         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36726         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36727         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36728         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36729         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36730         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36731         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36733 2013-10-04  Alan Modra  <amodra@gmail.com>
36735         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36736         little-endian support.  Remove unnecessary "are we done" tests.
36737         Handle "s" wrapping around zero and extremely large "size".
36738         Correct main loop count.  Handle single left-over word from main
36739         loop inline rather than by using small_loop.  Correct comments.
36740         Delete "zero" tail, use "end_max" instead.
36741         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36743 2013-10-04  Alan Modra  <amodra@gmail.com>
36745         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36746         support.  Don't branch over align.
36747         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36748         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36749         support.  Rearrange tmp reg use to suit.  Comment.
36750         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36752 2013-10-04  Alan Modra  <amodra@gmail.com>
36754         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36756 2013-10-04  Alan Modra  <amodra@gmail.com>
36758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36759         conditional form of branch and link when obtaining pc.
36760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36762 2013-10-04  Alan Modra  <amodra@gmail.com>
36764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36765         HIWORD/LOWORD.
36766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36769 2013-10-04  Alan Modra  <amodra@gmail.com>
36771         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36772         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36773         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36774         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36775         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36776         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36777         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36778         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36779         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36780         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36782 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36783             Alistair Popple <alistair@ozlabs.au.ibm.com>
36784             Alan Modra <amodra@gmail.com>
36786         [BZ #15723]
36787         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36788         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36789         _dl_hwcap access for little-endian.
36790         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36791         destroy vmx regs when saving unaligned.
36792         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36793         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36794         destroy vmx regs when saving unaligned.
36796 2013-10-04  Alan Modra  <amodra@gmail.com>
36798         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36799         Don't use a union to pack hi/low value.
36801 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36803         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36804         for little-endian.
36805         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36806         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36807         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36808         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36809         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36811 2013-10-04  Alan Modra  <amodra@gmail.com>
36813         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36814         constants to usual value for .cst8 section, and remove redundant
36815         high address load.
36816         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36817         constant for 0x1p52.  Load little-endian words of double from
36818         correct stack offsets.
36820 2013-10-04  Alan Modra  <amodra@gmail.com>
36822         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36823         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36824         words of double from correct stack offsets.
36825         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36826         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36827         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36828         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36829         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36830         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36831         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36832         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36833         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36834         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36835         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36836         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36837         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36838         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36839         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36840         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36841         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36843 2013-10-04  Alan Modra  <amodra@gmail.com>
36845         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36846         64-bit int/double union.
36847         (_FPU_SETCW): Likewise.
36848         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36849         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36851 2013-10-04  Alan Modra  <amodra@gmail.com>
36853         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36854         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36856 2013-10-04  Alan Modra  <amodra@gmail.com>
36858         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36859         use vector int constants.
36860         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36862 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36864         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36865         array with long long.
36866         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36867         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36868         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36869         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36870         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36871         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36872         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36873         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36874         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36875         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36876         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36877         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36878         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
36880 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36882         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
36883         (__signbit): Likewise.  Correct for little-endian.
36884         (__signbitl): Call __signbit.
36885         (lrint): Correct for little-endian.
36886         (lrintf): Call lrint.
36888 2013-10-04  Alan Modra  <amodra@gmail.com>
36890         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
36891         union 32-bit int array member with 64-bit int array.
36892         (t515, tm256): Double rather than long double.
36893         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
36895 2013-10-04  Alan Modra  <amodra@gmail.com>
36897         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
36898         Delete.
36899         (IEEE854_LONG_DOUBLE_BIAS): Delete.
36900         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
36901         version of math_ldbl.h.
36903 2013-10-04  Alan Modra  <amodra@gmail.com>
36905         [BZ #15734], [BZ #15735]
36906         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
36907         all uses of ieee875 long double macros and unions.  Simplify test
36908         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
36909         ldbl_extract_mantissa value for ix,iy exponents.  Properly
36910         normalize after ldbl_extract_mantissa, and don't add hidden bit
36911         already handled.  Don't treat low word of ieee854 mantissa like
36912         low word of IBM long double and mask off bit when testing for
36913         zero.
36914         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
36915         all uses of ieee875 long double macros and unions.  Simplify tests
36916         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
36917         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
36918         two1022, instead use their values.  Recognise that tests for large
36919         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
36920         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
36921         Rewrite all uses of ieee875 long double macros and unions.  Simplify
36922         test for 0.0L and nan.  Correct negation.
36923         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
36924         ieee875 long double macros and unions.  Correct output for large
36925         magnitude x.  Correct absolute value calculation.
36926         (__erfcl): Likewise.
36927         * math/libm-test.inc: Add tests for errors discovered in IBM long
36928         double versions of fmodl, remainderl, erfl and erfcl.
36930 2013-10-04  Alan Modra  <amodra@gmail.com>
36932         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
36933         all uses of ieee854 long double macros and unions.  Simplify tests
36934         for long doubles that are fully specified by the high double.
36935         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36936         Likewise.
36937         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
36938         Remove dead code too.
36939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
36940         (__ieee754_ynl): Likewise.
36941         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
36942         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
36943         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36944         Remove dead code too.
36945         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
36946         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
36947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
36948         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
36949         Simplify.
36950         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
36951         Simplify.
36952         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
36953         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36954         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
36955         Comment on variable precision.
36956         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
36957         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36958         Likewise.
36959         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36960         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36961         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36962         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
36963         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
36965 2013-10-04  Alan Modra  <amodra@gmail.com>
36967         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
36968         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
36969         all uses of ieee854 long double macros and unions.
36970         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
36971         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36972         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
36973         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
36974         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
36975         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36976         Likewise.
36977         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
36978         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36979         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
36980         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36981         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
36982         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
36983         Simplify sign and nan test too.
36984         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
36985         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36986         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
36987         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36988         Likewise.
36989         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36990         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
36991         Likewise.
36992         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36993         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
36994         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
36995         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
36996         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
36997         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
36999 2013-10-04  Alan Modra  <amodra@gmail.com>
37001         * stdio-common/printf_size.c (__printf_size): Don't use
37002         union ieee854_long_double in fpnum union.
37003         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37004         signbit macro to retrieve sign from long double.
37005         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37006         retrieve sign from long double.
37007         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37008         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37009         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37010         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37011         * math/test-misc.c (main): Don't use union ieee854_long_double.
37013 2013-10-04  Alan Modra  <amodra@gmail.com>
37015         [BZ #15680]
37016         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37017         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37018         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37019         calculation.  Remove unnecessary test for denormal exponent.
37020         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37021         Correct handling of denormals.  Avoid undefined shift behaviour.
37022         Correct normalisation of low mantissa when low double is denormal.
37023         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37024         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37025         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37026         Correct normalisation of low mantissa.  Test for overflow of high
37027         mantissa and normalise.
37028         (ldbl_nearbyint): Use more readable constant for two52.
37029         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37030         (__mpn_construct_long_double): Fix test for overflow of high
37031         mantissa and correct normalisation.  Avoid undefined shift.
37033 2013-10-04  Alan Modra  <amodra@gmail.com>
37035         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37036         (union ibm_extended_long_double): Define as an array of ieee754_double.
37037         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37038         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37039         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37040         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37041         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37042         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37043         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37044         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37045         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37046         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37047         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37049 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37051         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37052         page size instead of calling getpagesize.
37054         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37055         (LOCFILE_ALIGN_MASK): Likewise.
37056         (LOCFILE_ALIGN_UP): Likewise.
37057         (LOCFILE_ALIGNED_P): Likewise.
37058         * locale/programs/ld-collate.c (collate_output): Use the new
37059         macros instead of __alignof__ (int32_t).
37060         * locale/weight.h (findidx): Likewise.
37062 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37064         [BZ #431]
37065         * manual/string.texi: Fix strncat and wcsncat.
37067 2013-10-03  Brooks Moses  <bmoses@google.com>
37069         [BZ #15915]
37070         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37071         * Makerules: ...here, and adjust associated comments.
37073 2013-10-02  Will Newton  <will.newton@linaro.org>
37075         * malloc/Makefile: Add tst-pvalloc.
37076         * malloc/tst-pvalloc.c: New file.
37078 2013-10-02  Will Newton  <will.newton@linaro.org>
37080         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37081         improve test coverage.
37083 2013-10-02  Will Newton  <will.newton@linaro.org>
37085         * malloc/Makefile: Add tst-posix_memalign.
37086         * malloc/tst-posix_memalign.c: New file.
37088 2013-10-01  Eric Blake  <eblake@redhat.com>
37090         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37091         Use __THROWNL rather than __THROW on static functions.
37093 2013-09-30  Petr Machata  <pmachata@redhat.com>
37095         * elf/elf.h (R_AARCH64_ABS16): New macro.
37096         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37097         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37098         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37099         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37100         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37101         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37102         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37103         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37104         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37105         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37106         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37107         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37108         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37109         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37110         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37111         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37112         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37113         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37114         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37115         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37116         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37117         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37118         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37119         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37120         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37121         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37122         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37123         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37124         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37125         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37126         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37127         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37128         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37129         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37130         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37131         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37132         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37133         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37134         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37135         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37136         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37137         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37138         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37139         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37140         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37141         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37142         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37143         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37144         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37145         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37146         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37147         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37148         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37149         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37150         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37151         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37152         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37153         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37154         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37155         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37156         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37157         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37158         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37159         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37160         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37161         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37162         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37163         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37164         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37165         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37166         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37167         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37168         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37169         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37170         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37171         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37172         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37173         (R_AARCH64_TLSDESC_LDR): Likewise.
37174         (R_AARCH64_TLSDESC_ADD): Likewise.
37175         (R_AARCH64_TLSDESC_CALL): Likewise.
37177 2013-09-30  Andreas Schwab  <schwab@suse.de>
37179         [BZ #15048]
37180         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37181         the nss database lookup.
37182         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37185 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37187         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37189 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37191         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37192         ${Bash-specific parameter/pattern/string} parameter expansion.
37193         * sysdeps/unix/make-syscalls.sh: Likewise.
37195 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37197         * sysdeps/sh/stackguard-macros.h: New file.
37199 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37203         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37204         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37205         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37206         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37208 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37210         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37211         Fix thread ID register.
37213 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37215         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37216         [POSIX || UNIX98]: Require rather than permitting all symbols from
37217         <time.h>.
37218         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37219         element of struct sched_param.
37220         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37221         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37222         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37223         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37224         constant.
37226 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37228         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37229         argument calculation.
37231 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37233         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37234         Expect macro.
37235         [POSIX] (pthread_attr_t): Do not require type.
37236         [POSIX] (pthread_cond_t): Likewise.
37237         [POSIX] (pthread_condattr_t): Likewise.
37238         [POSIX] (pthread_key_t): Likewise.
37239         [POSIX] (pthread_mutex_t): Likewise.
37240         [POSIX] (pthread_mutexattr_t): Likewise.
37241         [POSIX] (pthread_once_t): Likewise.
37242         [POSIX] (pthread_t): Likewise.
37243         [POSIX-based standards] (pthread_atfork): Expect function.
37245 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37246             Richard Sandiford  <richard@codesourcery.com>
37248         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37249         (swap_endianness_p): New extern variable.
37250         (set_big_endian): New inline function.
37251         (maybe_swap_uint32): Likewise.
37252         (maybe_swap_uint32_array): Likewise.
37253         (maybe_swap_uint32_obstack): Likewise.
37254         * locale/programs/locfile.c: Include <stdbool.h>.
37255         (swap_endianness_p): New variable.
37256         (add_locale_uint32): Call maybe_swap_uint32.
37257         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37258         (write_locale_data): Call maybe_swap_uint32_array.
37259         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37260         maybe_swap_uint32.
37261         (obstack_int32_grow_fast): Likewise.
37262         (output_weightwc): Call maybe_swap_uint32_obstack.
37263         (collate_output): Likewise.
37264         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37265         (OPT_LITTLE_ENDIAN): Likewise.
37266         (options): Add --little-endian and --big-endian options.
37267         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37268         * locale/programs/locarchive.c: Include "locfile.h".
37269         (GET): New macro.
37270         (SET): Likewise.
37271         (INC): Likewise.
37272         (create_archive): Use the new macros to access fields of
37273         structures directly mapped from or written to locale archives.
37274         (oldlocrecentcmp): Likewise.
37275         (enlarge_archive): Likewise.
37276         (insert_name): Likewise.
37277         (add_alias): Likewise.
37278         (add_locale): Likewise.
37279         (delete_locales_from_archive): Likewise.
37280         (show_archive_content): Likewise.
37281         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37282         locale data.
37284 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37286         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37287         http://www.gnu.org/doc/freemanuals.texi.
37288         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37290 2013-09-24  Will Newton  <will.newton@linaro.org>
37292         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37293         macro.
37295 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37297         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37298         unsigned char.
37300 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37302         * manual/threads.texi (POSIX Threads): Fix a typo.
37304 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37306         [BZ #14547]
37307         * string/tst-strcoll-overflow.c: New test case.
37308         * string/Makefile (xtests): Add tst-strcoll-overflow.
37309         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37310         cache if string sizes may cause integer overflow.
37312         [BZ #14547]
37313         * string/strcoll_l.c (coll_seq): New members rule, idx,
37314         save_idx and back_us.
37315         (get_next_seq_nocache): New function.
37316         (do_compare_nocache): New function.
37317         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37318         when malloc fails.
37320 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37322         [BZ #15754]
37323         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37324         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37325         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37327         [BZ #15754]
37328         * elf/Makefile (tests): Add tst-ptrguard1.
37329         (tests-static): Add tst-ptrguard1-static.
37330         (tst-ptrguard1-ARGS): Define.
37331         (tst-ptrguard1-static-ARGS): Define.
37332         * elf/tst-ptrguard1.c: New file.
37333         * elf/tst-ptrguard1-static.c: New file.
37334         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37335         * sysdeps/i386/stackguard-macros.h: Likewise.
37336         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37337         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37338         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37339         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37340         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37341         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37343 2013-09-23  Hector Marco  <hecmargi@upv.es>
37344             Ismael Ripoll  <iripoll@disca.upv.es>
37345             Carlos O'Donell  <carlos@redhat.com>
37347         [BZ #15754]
37348         * sysdeps/generic/stackguard-macros.h: Define
37349         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37350         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37351         Define __pointer_chk_guard_local.
37352         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37353         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37355 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37357         [BZ #15859]
37358         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37360 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37362         * include/string.h (__ffs): Declare as hidden.
37363         * string/ffs.c (__ffs): Define as hidden.
37364         * sysdeps/i386/ffs.c (__ffs): Likewise.
37365         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37366         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37367         * sysdeps/s390/ffs.c (__ffs): Likewise.
37368         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37370 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37372         * NEWS: Mention malloc probes.
37374         * malloc/arena.c (new_heap): New memory_heap_new probe.
37375         (grow_heap): New memory_heap_more probe.
37376         (shrink_heap): New memory_heap_less probe.
37377         (heap_trim): New memory_heap_free probe.
37378         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37379         (systrim): New memory_sbrk_less probe.
37380         * manual/probes.texi: Document them.
37382         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37383         * manual/probes.texi: Document it.
37385         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37386         (__libc_realloc): Add memory_realloc_retry probe.
37387         (__libc_memalign): Add memory_memalign_retry probe.
37388         (__libc_valloc): Add memory_valloc_retry probe.
37389         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37390         (__libc_calloc): Add memory_calloc_retry probe.
37391         * manual/probes.texi: Document them.
37393         * malloc/arena.c (get_free_list): Add probe
37394         memory_arena_reuse_free_list.
37395         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37396         and memory_arena_reuse.
37397         (arena_get2) [!PER_THREAD]: Likewise.
37398         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37399         memory_arena_reuse_realloc.
37400         * manual/probes.texi: Document them.
37402         * malloc/malloc.c (__libc_free): Add
37403         memory_mallopt_free_dyn_thresholds probe.
37404         (__libc_mallopt): Add multiple memory_mallopt probes.
37405         * manual/probes.texi: Document them.
37407         * malloc/malloc.c: Include stap-probe.h.
37408         (__libc_mallopt): Add memory_mallopt probe.
37409         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37410         * manual/probes.texi: New.
37411         * manual/Makefile (chapters): Add probes.
37412         * manual/threads.texi: Set next node.
37414 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37416         [BZ #15963, #13985]
37417         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37418         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37419         Add `Chinese' to `nan' entry name.
37421 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37423         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37424         (POLYNOMIAL): Likewise.
37425         (TAYLOR_SINCOS): Likewise.
37426         (TAYLOR_SLOW): Likewise.
37427         (__sin): Use TAYLOR_SINCOS.
37428         (__cos): Likewise.
37429         (slow): Use TAYLOR_SLOW.
37430         (sloww): Likewise.
37431         (bsloww): Likewise.
37432         (csloww): Likewise.
37434 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37436         * stdlib/strtod_l.c: Fix buffer overrun.
37438 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37440         * benchtests/Makefile (bench): Add sincos.
37441         * benchtests/bench-sincos.c: New file.
37443         * math/libm-test.inc (cos_test_data): New test inputs.
37444         (sin_test_data): Likewise.
37446         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37447         macro.
37448         (__sin): Use it.
37449         (__cos): Likewise.
37450         (slow1): Likewise.
37451         (slow2): Likewise.
37452         (sloww1): Likewise.
37453         (sloww2): Likewise.
37454         (bsloww1): Likewise.
37455         (bsloww2): Likewise.
37456         (cslow2): Likewise.
37457         (csloww1): Likewise.
37458         (csloww2): Likewise.
37460         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37461         function.
37462         (__sin): Use it.
37463         (__cos): Likewise.
37465         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37466         gotos.
37467         (__cos): Likewise.
37469 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37471         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37472         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37473         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37474         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37475         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37476         * elf/cache.c (print_entry): Handle the new cache flags.
37478 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37479             Aldy Hernandez  <aldyh@redhat.com>
37481         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37482         Change condition to [_SOFT_FLOAT].
37483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37495         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37498         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37499         declaration.
37501 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37503         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37504         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37505         (__longjmp): Use LOAD_GP to load saved GPRs.
37506         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37507         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37508         (__sigsetjmp): Use SAVE_GP to save GPRs.
37510         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37511         Do not append -msoft-float.
37512         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37514 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37516         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37518 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37520         [BZ #15966]
37521         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37522         (_FPU_GETCW): Use initial "__" on variable and field names but not
37523         on macro parameter name.
37524         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37525         parentheses around reference to macro parameter.
37527 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37529         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37530         prototype.
37531         (ctype_startup): Use uint32_t in cast and sizeof for
37532         ctype->charnames.
37534 2013-09-11  Jia Liu  <proljc@gmail.com>
37536         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37537         __daddr_t_defined.
37538         [__FreeBSD__]: Likewise.
37540 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37543         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37544         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37545         (strchr): Remove __strchr_sse42 ifunc selection.
37546         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37547         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37549 2013-09-11  Will Newton  <will.newton@linaro.org>
37551         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37552         parameter to RES. Remove hardcoded 1000 value.
37553         * benchtests/bench-skeleton.c (main): Pass RES parameter
37554         to TIMING_INIT and multiply result by 1000.
37556 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37560 2013-09-11  Andreas Schwab  <schwab@suse.de>
37562         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37563         if not defined.
37564         (O_TMPFILE) [__USE_GNU]: Define.
37565         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37566         Define.
37568 2013-09-11  Will Newton  <will.newton@linaro.org>
37570         [BZ #15857]
37571         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37572         does not overflow.
37574 2013-09-11  Will Newton  <will.newton@linaro.org>
37576         [BZ #15856]
37577         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37578         does not overflow.
37580 2013-09-11  Will Newton  <will.newton@linaro.org>
37582         [BZ #15855]
37583         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37584         does not overflow.
37586 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37588         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37589         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37590         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37591         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37592         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37594 2013-09-10  Allan McRae  <allan@archlinux.org>
37596         [BZ #15748]
37597         * manual/arith.texi (Parsing of Floats): Clarify
37598         cross-reference.
37600         [BZ #15849]
37601         * manual/install.texi (Running make install): Mention
37602         --enable-pt-chown.
37603         * INSTALL: Regenerated.
37605 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37607         * csu/init-first.c (_init): Remove the !SHARED condition around
37608         FPU control word initialization.
37609         * elf/dl-support.c (_dl_fpu_control): New variable.
37610         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37611         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37612         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37613         * math/test-fpucw-static.c: New file.
37614         * math/test-fpucw-ieee.c: New file.
37615         * math/test-fpucw-ieee-static.c: New file.
37616         * math/Makefile (tests): Add `test-fpucw-ieee' and
37617         `$(tests-static)'.
37618         (tests-static): New variable.
37619         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37620         dependency to...
37621         [($(build-shared),yes)]
37622         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37623         ... this.
37624         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37625         New dependency.
37627 2013-09-09  Allan McRae  <allan@archlinux.org>
37629         [BZ #15939]
37630         * manual/string.texi (Collation Functions): Fix typo in
37631         strcoll example.
37632         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37634         [BZ #15893]
37635         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37637         [BZ #15892]
37638         * libio/memstream.c (open_memstream): Fix memory leak.
37639         * libio/wmemstream.c (open_wmemstream): Likewise.
37641         [BZ #15895]
37642         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37644 2013-09-09  Will Newton  <will.newton@linaro.org>
37646         * malloc/Makefile: Add tst-realloc to tests.
37647         * malloc/tst-realloc.c: New file.
37649 2013-09-09  Allan McRae  <allan@archlinux.org>
37651         [BZ #15844]
37652         * COPYING: Update from GNU website to fix FSF address.
37653         * COPYING.LIB: Likewise.
37655 2013-09-06  David S. Miller  <davem@davemloft.net>
37657         * po/zh_TW.po: Update Chinese (traditional) translation from
37658         translation project.
37660 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37661             Joseph Myers  <joseph@codesourcery.com>
37663         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37664         "localeinfo.h".
37665         (obstack_chunk_alloc): New macro.
37666         (obstack_chunk_free): Likewise.
37667         (record_offset): New function.
37668         (init_locale_data): Likewise.
37669         (align_locale_data): Likewise.
37670         (add_locale_empty): Likewise.
37671         (add_locale_raw_data): Likewise.
37672         (add_locale_raw_obstack): Likewise.
37673         (add_locale_string): Likewise.
37674         (add_locale_wstring): Likewise.
37675         (add_locale_uint32): Likewise.
37676         (add_locale_uint32_array): Likewise.
37677         (add_locale_char): Likewise.
37678         (start_locale_structure): Likewise.
37679         (end_locale_structure): Likewise.
37680         (start_locale_prelude): Likewise.
37681         (end_locale_prelude): Likewise.
37682         (write_locale_data): Take locale_file structure rather than an
37683         iovec.
37684         * locale/programs/locfile.h: Include "obstack.h".
37685         (struct locale_file): Change to store locale file contents instead
37686         of header.
37687         (init_locale_data): New prototype.
37688         (align_locale_data): Likewise.
37689         (add_locale_empty): Likewise.
37690         (add_locale_raw_data): Likewise.
37691         (add_locale_raw_obstack): Likewise.
37692         (add_locale_string): Likewise.
37693         (add_locale_wstring): Likewise.
37694         (add_locale_uint32): Likewise.
37695         (add_locale_uint32_array): Likewise.
37696         (add_locale_char): Likewise.
37697         (start_locale_structure): Likewise.
37698         (end_locale_structure): Likewise.
37699         (start_locale_prelude): Likewise.
37700         (end_locale_prelude): Likewise.
37701         (write_locale_data): Update prototype.
37702         * locale/programs/3level.h (struct TABLE): Remove result field.
37703         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37704         Use new locale_file interface.
37705         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37706         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37707         * locale/programs/ld-address.c (address_output): Use new
37708         locale_file interface.
37709         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37710         NO_ADD_LOCALE.
37711         (collate_finish): Don't call collseq_table_finalize.
37712         (collate_output): Use new locale_file interface.
37713         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37714         in file.
37715         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37716         (TABLE): Move defines earlier in file.
37717         (ELEMENT): Likewise.
37718         (DEFAULT): Likewise.
37719         (wctrans_table_add): Move macro and inline function earlier in
37720         file.
37721         (struct wctype_table): Move type earlier in file.
37722         (add_locale_wctype_table): New static prototype.
37723         (struct locale_ctype_t): Use logical types instead of struct iovec
37724         pointers for members.
37725         (ctype_output): Use new locale_file interface.
37726         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37727         new locale_file interface.
37728         (allocate_arrays): Update for use of new locale_file interface.
37729         * locale/programs/ld-identification.c (identification_output): Use
37730         new locale_file interface.
37731         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37732         * locale/programs/ld-messages.c (messages_output): Likewise.
37733         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37734         * locale/programs/ld-name.c (name_output): Likewise.
37735         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37736         * locale/programs/ld-paper.c (paper_output): Likewise.
37737         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37738         * locale/programs/ld-time.c (time_output): Likewise.
37740 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37742         * benchtests/Makefile: Add memrchr benchmark.
37743         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37744         benchmark as memrchr.
37745         * benchtests/bench-memrchr-ifunc.c: New file.
37746         * benchtests/bench-memrchr.c: New file.
37748 2013-09-06   Will Newton  <will.newton@linaro.org>
37750         * benchtests/Makefile (string-bench): Add memcpy.
37752 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37753             Cong Wang  <amwang@redhat.com>
37755         [BZ #15850]
37756         * sysdeps/unix/sysv/linux/bits/in.h
37757         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37758         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37759         before __USE_KERNEL_IPV6_DEFS uses.
37760         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37761         IPPROTO_BEETPH.
37762         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37763         sockaddr_in6, or ipv6_mreq.
37765 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37767         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37768         memory access for final bytes in some large inputs.
37769         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37771 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37773         * string/test-memrchr.c: New file.
37774         * string/test-memrchr-ifunc.c: New file.
37775         * string/Makefile: Add new memrchr testcase.
37777 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37779         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37780         fanotify_init returns EPERM.
37782 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37784         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37785         errors.
37786         (top level): Treat second token from macro or constant entries for
37787         allowed headers as allowed.
37788         * include/complex.h: Condition internal declarations on
37789         [!_ISOMAC].
37790         * include/fenv.h: Condition include of <stdbool.h> and internal
37791         declarations on [!_ISOMAC].
37793 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37795         [BZ #15923]
37796         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37798 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37800         * configure.in (--enable-versioning): Remove configure option.
37801         (libc_cv_asm_symver_directive): Remove configure test.
37802         (libc_cv_ld_version_script_option): Likewise.
37803         (VERSIONING): Remove variable and AC_SUBST.
37804         (DO_VERSIONING): Remove AC_DEFINE.
37805         * configure: Regenerated.
37806         * config.h.in (DO_VERSIONING): Remove macro.
37807         * Makerules [$(versioning) = yes]: Change conditionals to
37808         [$(build-shared) = yes].
37809         * config.make.in (versioning): Remove variable.
37810         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37811         [$(build-shared) = yes].
37812         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37813         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37814         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37815         [$(build-shared) = yes].
37816         * extra-lib.mk [$(versioning) = yes]: Likewise.
37817         * hurd/Makefile [$(versioning) = yes]: Likewise.
37818         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37819         [SHARED].
37820         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37821         [SHARED].
37822         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37823         [SHARED && !NO_HIDDEN].
37824         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37825         [SHARED].
37826         [SHARED && DO_VERSIONING]: Likewise..
37827         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37828         [$(build-shared) = yes].
37829         * manual/install.texi (--disable-versioning): Remove
37830         documentation.
37831         * INSTALL: Regenerated.
37832         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37833         to [SHARED].
37834         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37835         [$(build-shared) = yes].
37836         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37837         * sysdeps/i386/i686/multiarch/strstr-c.c
37838         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37839         [SHARED && !NO_HIDDEN].
37840         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37841         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37842         * sysdeps/powerpc/powerpc32/dl-machine.c
37843         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37844         * sysdeps/powerpc/powerpc32/sysdep.h
37845         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37846         to [SHARED && PIC && !NO_HIDDEN].
37847         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37848         conditional to [SHARED].
37850 2013-09-04   Will Newton  <will.newton@linaro.org>
37852         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37853         * benchtests/bench-string.h: Include bench-timing.h instead
37854         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37855         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37856         call to HP_TIMING_DIFF_INIT.
37857         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37858         instead of hp-timing.h macros.
37859         * benchtests/bench-memchr.c: Likewise.
37860         * benchtests/bench-memcmp.c: Likewise.
37861         * benchtests/bench-memcpy.c: Likewise.
37862         * benchtests/bench-memmem.c: Likewise.
37863         * benchtests/bench-memmove.c: Likewise.
37864         * benchtests/bench-memset.c: Likewise.
37865         * benchtests/bench-rawmemchr.c: Likewise.
37866         * benchtests/bench-strcasecmp.c: Likewise.
37867         * benchtests/bench-strcasestr.c: Likewise.
37868         * benchtests/bench-strcat.c: Likewise.
37869         * benchtests/bench-strchr.c: Likewise.
37870         * benchtests/bench-strcmp.c: Likewise.
37871         * benchtests/bench-strcpy.c: Likewise.
37872         * benchtests/bench-strcpy_chk.c: Likewise.
37873         * benchtests/bench-strlen.c: Likewise.
37874         * benchtests/bench-strncasecmp.c: Likewise.
37875         * benchtests/bench-strncat.c: Likewise.
37876         * benchtests/bench-strncmp.c: Likewise.
37877         * benchtests/bench-strncpy.c: Likewise.
37878         * benchtests/bench-strnlen.c: Likewise.
37879         * benchtests/bench-strpbrk.c: Likewise.
37880         * benchtests/bench-strrchr.c: Likewise.
37881         * benchtests/bench-strspn.c: Likewise.
37882         * benchtests/bench-strstr.c: Likewise.
37884 2013-09-04  Will Newton  <will.newton@linaro.org>
37886         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
37888 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
37890         [BZ #15427]
37891         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37892         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
37893         * math/libm-test.inc (lgamma_test_data): Add more tests.
37894         * sysdeps/i386/fpu/libm-test-ulps: Update.
37895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37897 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
37899         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
37900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37901         Add ifunc.
37902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37903         Add strcmp-sse2-unaligned
37904         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
37906 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37908         * Versions.def (libc): Add GLIBC_2.19.
37910 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37912         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
37913         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
37915 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
37917         [BZ #14155]
37918         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
37919         intermediate calculations in recurrence.
37920         (__ieee754_ynf): Likewise.
37921         * math/libm-test.inc (jn_test_data): Do not allow spurious
37922         underflow exception.  Add more tests.
37923         (yn_test_data): Add more tests.
37924         * sysdeps/i386/fpu/libm-test-ulps: Update.
37925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37927 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
37929         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
37931 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37933         * csu/init-first.c: Fix then/than typos.
37934         * locale/programs/ld-collate.c: Likewise.
37935         * locale/programs/linereader.h: Likewise.
37936         * manual/charset.texi: Likewise.
37937         * manual/filesys.texi: Likewise.
37938         * manual/stdio.texi: Likewise.
37939         * manual/string.texi: Likewise.
37940         * stdlib/fmtmsg.c: Likewise.
37941         * sysdeps/i386/stpncpy.S: Likewise.
37942         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37943         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37944         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37945         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37947 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37949         * elf/dl-open.c: Fix typos.
37950         * iconvdata/gbbig5.c: Likewise.
37951         * iconvdata/iso-2022-jp.c: Likewise.
37952         * iconv/gconv_int.h: Likewise.
37953         * iconv/loop.c: Likewise.
37954         * nis/rpcsvc/nis.h: Likewise.
37955         * resolv/ns_name.c: Likewise.
37956         * stdio-common/vfscanf.c: Likewise.
37957         * streams/stropts.h: Likewise.
37958         * sunrpc/rpc_thread.c: Likewise.
37959         * sysdeps/i386/strpbrk.S: Likewise.
37960         * sysdeps/ieee754/k_standard.c: Likewise.
37961         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37962         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37963         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
37964         * sysdeps/mach/hurd/profil.c: Likewise.
37965         * sysdeps/s390/dl-procinfo.h: Likewise.
37966         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
37967         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37968         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
37969         * sysdeps/x86_64/dl-trampoline.S: Likewise.
37970         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37972 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
37974         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
37975         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
37977 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
37979         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
37980         aix specific files.
37981         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
37982         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
37983         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
37984         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
37985         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
37986         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
37987         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
37988         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
37990 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37991             Roland McGrath  <roland@hack.frob.com>
37993         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
37994         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
37996 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37998         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
37999         __executable_start symbol instead of _start.
38001 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38003         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38004         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38005         Move macros to...
38006         * sysdeps/gnu/ldsodefs.h: ... this new file.
38008         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38009         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38010         instead of ELFOSABI_LINUX.
38012         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38013         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38014         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38015         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38016         Likewise.
38017         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38018         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38019         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38020         Likewise.
38021         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38022         (ibm_extended_long_double): Add ieee_nan member.
38023         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38024         (do_test): New function.
38026         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38027         TEST_TRUNC.
38028         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38029         functions, renamed from truncdfsf_test, trunctfsf_test,
38030         trunctfdf_test.
38031         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38032         functions.
38033         (do_test): Run all these.
38035 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38037         * argp/argp-help.c: Fix typos.
38038         * argp/argp-parse.c: Likewise.
38039         * debug/backtracesyms.c: Likewise.
38040         * elf/elf.h: Likewise.
38041         * malloc/malloc.c: Likewise.
38042         * nis/nis_print.c: Likewise.
38043         * resolv/res_comp.c: Likewise.
38044         * stdlib/stdlib.h: Likewise.
38045         * sunrpc/clnt_tcp.c: Likewise.
38046         * sunrpc/clnt_udp.c: Likewise.
38047         * sunrpc/clnt_unix.c: Likewise.
38048         * sysdeps/unix/bsd/ptsname.c: Likewise.
38049         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38050         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38052         Likewise.
38053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38054         Likewise.
38055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38056         Likewise.
38057         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38059 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38061         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38064 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38066         [BZ #15897]
38067         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38068         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38069         ($(objpfx)bug-dl-leaf): New rule.
38070         ($(objpfx)bug-dl-leaf.so): Likewise.
38071         ($(objpfx)bug-dl-leaf.out): Likewise.
38072         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38073         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38074         * dlfcn/bug-dl-leaf.c: New test.
38075         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38076         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38077         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38078         (dlclose): Likewise.
38079         (dlmopen): Likewise.
38081 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38083         * include/netdb.h [!_ISOMAC]:
38084         Don't include <tls.h>.
38085         (h_errno, __libc_h_errno): Move declaration and macros out of
38086         [_LIBC_REENTRANT].
38088         * include/resolv.h [_RESOLV_H_]:
38089         Don't include <tls.h>.
38090         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38091         * resolv/res_libc.c: Don't include <tls.h>.
38092         (_res): Use __attribute__ ((nocommon)) in place of
38093         __attribute__ ((section (".bss"))).
38095         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38096         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38098         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38100         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38101         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38103         * resolv/res_mkquery.c: Include <sys/time.h>.
38105         * inet/ifreq.c: Moved to ...
38106         * sysdeps/unix/ifreq.c: ... here.
38107         * inet/ifreq.c: New file, true stub version.
38109         * socket/sa_len.c: New file.
38110         * socket/Makefile (aux): Add it.
38111         * sysdeps/unix/sysv/linux/Makefile
38112         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38113         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38114         and #include <socket/sa_len.c>.
38115         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38116         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38118         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38119         * bits/socket.h: ... here.
38121         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38122         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38123         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38125 2013-08-27  Andreas Schwab  <schwab@suse.de>
38127         [BZ #15736]
38128         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38129         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38130         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38131         * string/test-strcasecmp.c (test_main): Run tests in several
38132         locales.
38133         * string/test-strncasecmp.c (test_main): Likewise.
38135         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38136         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38137         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38138         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38139         (__strncasecmp_ssse3) [PIC]: Likewise.
38141 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38143         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38145         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38146         instead of explicitly declaring xdecrypt.
38147         * nis/nss_nis/nis-publickey.c: Likewise.
38149 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38151         [BZ #15890]
38152         * nscd/aicache.c: Include res_hconf.h.
38153         (addhstaiX): Initialize res_hconf.
38155 2013-08-26  Andreas Schwab  <schwab@suse.de>
38157         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38158         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38160 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38162         * nscd/aicache.c (addhstaiX): Fix indentation.
38164 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38166         * configure.ac: Quote $build_pt_chown test.
38167         * configure: Regenerated.
38169 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38171         [BZ #15532]
38172         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38173         * math/s_cexpf.c (__cexpf): Likewise.
38174         * math/s_cexpl.c (__cexpl): Likewise.
38175         * math/libm-test.inc (cexp_test_data): Correct expected return
38176         value for NaN + i0.  Add another test.
38178 2013-08-22  David S. Miller  <davem@davemloft.net>
38180         * po/ca.po: Update Catalan translation from translation project.
38181         * po/uk.po: Add Ukrainian translations from translation project.
38183 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38185         [BZ #15797]
38186         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38187         is infinite, not alongside NaN test.
38188         * math/s_fdimf.c (__fdimf): Likewise.
38189         * math/s_fdiml.c (__fdiml): Likewise.
38190         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38191         errno is unchanged.
38193 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38195         * argp/argp-help.c: Fix typos.
38196         * crypt/speeds.c: Likewise.
38197         * csu/check_fds.c: Likewise.
38198         * elf/dl-load.c: Likewise.
38199         * elf/dl-open.c: Likewise.
38200         * elf/reldep3.c: Likewise.
38201         * elf/reldep.c: Likewise.
38202         * elf/sprof.c: Likewise.
38203         * iconv/iconv_charmap.c: Likewise.
38204         * iconv/skeleton.c: Likewise.
38205         * iconv/strtab.c: Likewise.
38206         * io/lockf64.c: Likewise.
38207         * libio/libioP.h: Likewise.
38208         * resolv/gai_notify.c: Likewise.
38209         * resolv/ns_name.c: Likewise.
38210         * resolv/ns_samedomain.c: Likewise.
38211         * resolv/res_send.c: Likewise.
38212         * stdlib/random.c: Likewise.
38213         * sunrpc/rpc/xdr.h: Likewise.
38214         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38215         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38216         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38217         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38218         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38219         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38220         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38221         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38222         * sysdeps/mach/hurd/check_fds.c: Likewise.
38223         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38224         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38225         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38226         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38227         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38228         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38229         * sysdeps/pthread/aio_notify.c: Likewise.
38230         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38231         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38232         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38233         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38234         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38236 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38238         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38239         version if bit_Slow_SSE4_2 is set.
38240         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38241         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38243 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38245         [BZ #15867]
38246         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38247         trampoline stack frame information.
38248         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38249         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38250         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38251         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38252         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38253         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38254         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38255         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38256         sa_flags value.
38257         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38258         interrupting a syscall and set with option SA_SIGINFO.
38260 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38262         [BZ #15531]
38263         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38264         argument is infinite.
38265         * math/s_cprojf.c (__cprojf): Likewise.
38266         * math/s_cprojl.c (__cprojl): Likewise.
38267         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38268         * math/libm-test.inc (cproj_test_data): Add more tests.
38270         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38272         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38273         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38274         size.  Use __ffs to determine corresponding shift.
38276 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38277             Roland McGrath  <roland@hack.frob.com>
38279         * Makefile (INSTALL): Remove trailing blank lines from output of
38280         makeinfo.
38282 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38284         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38285         Align 32 bit compat elf_greg to 8 bytes.
38287 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38289         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38291 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38293         * string/strcoll_l.c (coll_seq): New structure.
38294         (get_next_seq_cached): New function.
38295         (get_next_seq): New function.
38296         (do_compare): New function.
38297         (STRCOLL): Use GNU style definition.  Simplify implementation
38298         by using get_next_seq, get_next_seq_cached and do_compare.
38300 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38302         [BZ #14699]
38303         CVE-2013-4237
38304         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38305         member.
38306         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38307         member.
38308         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38309         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38310         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38311         conditional.
38312         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38313         GETDENTS_64BIT_ALIGNED.
38314         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38315         * manual/filesys.texi (Reading/Closing Directory): Document
38316         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38317         strongly.
38318         * manual/conf.texi (Limits for Files): Add portability note to
38319         NAME_MAX, PATH_MAX.
38320         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38322 2013-08-13  Andreas Schwab  <schwab@suse.de>
38324         [BZ #15749]
38325         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38326         of fabs.
38327         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38328         LDBL_MAX_EXP >= 16384]: Add tests for it.
38330 2013-08-12  David S. Miller  <davem@davemloft.net>
38332         * version.h (RELEASE): Set to "development".
38333         (VERSION): Set to "2.18.90".
38334         * NEWS: Add 2.19 section.
38336 2013-08-03  David S. Miller  <davem@davemloft.net>
38338         * po/ko.po: Update Korean translation from translation project.
38340 2013-08-01  David S. Miller  <davem@davemloft.net>
38342         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38343         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38344         Bilka.
38346 2013-07-30  David S. Miller  <davem@davemloft.net>
38348         * po/fr.po: Update French translation from translation project.
38350 2013-07-28  David S. Miller  <davem@davemloft.net>
38352         * po/cs.po: Update Czech translation from translation project.
38354         * po/sv.po: Update Swedish translation from translation project.
38356 2013-07-27  David S. Miller  <davem@davemloft.net>
38358         * po/eo.po: Update Esperanto translation from translation project.
38360         * po/vi.po: Update Vietnamese translation from translation project.
38362         * po/de.po: Update German translation from translation project.
38364 2013-07-26  David S. Miller  <davem@davemloft.net>
38366         * po/bg.po: Update Bulgarian translation from translation project.
38368         * po/nl.po: Update Dutch translation from translation project.
38369         * po/pl.po: Update Polish translation from translation project.
38370         * po/ru.po: Update Russian translation from translation project.
38372 2013-07-24  David S. Miller  <davem@davemloft.net>
38374         * po/libc.pot: Update.
38376 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38378         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38379         variable page size.
38380         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38381         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38382         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38384 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38386         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38388 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38389             Andreas Schwab  <schwab@suse.de>
38390             Roland McGrath  <roland@hack.frob.com>
38391             Joseph Myers  <joseph@codesourcery.com>
38392             Carlos O'Donell  <carlos@redhat.com>
38394         [BZ #15755]
38395         * config.h.in: Define HAVE_PT_CHOWN.
38396         * config.make.in (build-pt-chown): New variable.
38397         * configure.in (--enable-pt_chown): New configure option.
38398         * configure: Regenerate.
38399         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38400         build-pt-chown is enabled.
38401         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38402         pt_chown to fix pty ownership.
38403         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38404         CLOSE_ALL_FDS.
38405         * manual/install.texi (Configuring and compiling): Mention
38406         --enable-pt_chown. Add @findex for grantpt.
38407         * INSTALL: Regenerate.
38409 2013-07-20  David S. Miller  <davem@davemloft.net>
38411         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38412         difference between 32-bit and 64-bit.
38414 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38416         [BZ #15711]
38417         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38418         Avoid system header dependency with -ffreestanding.
38419         ($(objpfx)bits/syscall%d): Likewise.
38421 2013-07-13  David S. Miller  <davem@davemloft.net>
38423         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38424         underflows from atanl/atan2l due to bug 15319.
38425         (casinh_test_data): Likewise.
38427 2013-07-07  David S. Miller  <davem@davemloft.net>
38429         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38431 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38433         * sysdeps/i386/fpu/libm-test-ulps: Update.
38434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38436 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38438         * configure.in (--enable-lock-elision): Fix message text.
38439         * INSTALL: Regenerate.
38440         * configure: Regenerate.
38442 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38446 2013-07-03  Andreas Jaeger  <aj@suse.de>
38448         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38449         define.
38450         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38451         (ptrace_peeksiginfo_args): Add.
38452         (__ptrace_peeksiginfo_flags): Add.
38453         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38454         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38455         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38457 2013-07-03  Allan McRae  <allan@archlinux.org>
38459         * sysdeps/i386/fpu/libm-test-ulps: Update.
38461 2013-07-02  David S. Miller  <davem@davemloft.net>
38463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38465 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38469 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38471         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38474 2013-07-02  Andi Kleen <ak@linux.intel.com>
38476         * config.h.in (ENABLE_LOCK_ELISION): Add.
38477         * configure.in (--enable-lock-elision): Add option.
38478         * manual/install.texi: Document --enable lock elision.
38479         * configure: Regenerate
38480         * INSTALL: Regenerate.
38482 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38484         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38485         SSE4.2 strcasecmp for libc.a.
38486         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38488 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38490         [BZ #13304]
38491         * soft-fp/op-common.h (_FP_FMA): New macro.
38492         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38493         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38494         (_FP_MUL_MEAT_1_imm): ... here.
38495         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38496         (_FP_MUL_MEAT_1_wide): ... here.
38497         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38498         (_FP_MUL_MEAT_1_hard): ... here.
38499         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38500         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38501         (_FP_MUL_MEAT_2_wide): ... here.
38502         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38503         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38504         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38505         (_FP_MUL_MEAT_2_gmp): ... here.
38506         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38507         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38508         (_FP_MUL_MEAT_4_wide): ... here.
38509         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38510         (_FP_MUL_MEAT_4_gmp): ... here.
38511         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38512         (_FP_WFRACBITS_DW_S): Likewise.
38513         (_FP_WFRACXBITS_DW_S): Likewise.
38514         (_FP_HIGHBIT_DW_S): Likewise.
38515         (FP_FMA_S): Likewise.
38516         (_FP_FRAC_HIGH_DW_S): Likewise.
38517         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38518         (_FP_WFRACBITS_DW_D): Likewise.
38519         (_FP_WFRACXBITS_DW_D): Likewise.
38520         (_FP_HIGHBIT_DW_D): Likewise.
38521         (FP_FMA_D): Likewise.
38522         (_FP_FRAC_HIGH_DW_D): Likewise.
38523         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38524         (_FP_WFRACBITS_DW_E): Likewise.
38525         (_FP_WFRACXBITS_DW_E): Likewise.
38526         (_FP_HIGHBIT_DW_E): Likewise.
38527         (FP_FMA_E): Likewise.
38528         (_FP_FRAC_HIGH_DW_E): Likewise.
38529         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38530         (_FP_WFRACBITS_DW_Q): Likewise.
38531         (_FP_WFRACXBITS_DW_Q): Likewise.
38532         (_FP_HIGHBIT_DW_Q): Likewise.
38533         (FP_FMA_Q): Likewise.
38534         (_FP_FRAC_HIGH_DW_Q): Likewise.
38535         * soft-fp/fmasf4.c: New file.
38536         * soft-fp/fmadf4.c: Likewise.
38537         * soft-fp/fmatf4.c: Likewise.
38539 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38542         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38543         Silvermont.
38544         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38545         macro.
38546         (index_Slow_SSE4_2): Likewise.
38547         (index_Prefer_PMINUB_for_stringop): Likewise.
38548         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38549         bit_Slow_SSE4_2 is set.
38550         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38551         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38553 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38555         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38556         rtld_global._dl_hwcap2.
38557         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38558         POWER8.
38559         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38560         POWER8 feature descriptions defined in _dl_hwcap2.
38561         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38562         string handling for POWER8 feature bits.
38563         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38564         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38565         _dl_powerpc_cap_flags.
38566         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38567         * sysdeps/powerpc/rtld-global-offsets.sym
38568         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38569         _dl_hwcap2 in the rtld_global_ro structure.
38571 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38573         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38574         hardware capabilities in support of AT_HWCAP2.
38575         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38576         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38577         GLRO(dl_hwcap2).
38578         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38579         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38580         explicitly the unknown a_type display mechanism is used.
38581         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38582         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38583         struct member.
38584         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38585         to macro prototype for AT_HWCAP2 support.
38586         * sysdeps/i386/dl-procinfo.h: Likewise.
38587         * sysdeps/s390/dl-procinfo.h: Likewise.
38588         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38589         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38590         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38591         return -1 for unknown a_type display fallback.
38592         * sysdeps/sparc/dl-procinfo.h: Likewise.
38593         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38594         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38596 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38598         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38599         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38601 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38603         [BZ #12492]
38604         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38605         mprotect making __stack_prot writable.
38607 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38608             Joseph Myers  <joseph@codesourcery.com>
38610         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38611         as being properly aligned.
38613 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38615         * dlfcn/modstatic5.c: New file.
38616         * dlfcn/tststatic5.c: New file.
38617         * dlfcn/Makefile (tests): Add tststatic5.
38618         (tests-static): Likewise.
38619         (modules-names): Add modstatic5.
38620         (tststatic5-ENV): New variable.
38621         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38623         [BZ #15022]
38624         * elf/dl-support.c (_dl_main_map): New variable.
38625         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38626         (_dl_nns, _dl_load_adds): Set to 1.
38627         (_dl_initial_searchlist): Refer to _dl_main_map.
38628         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38629         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38630         call to _dl_get_origin.
38631         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38632         around call_map.
38633         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38634         * dlfcn/modstatic3.c: New file.
38635         * dlfcn/tststatic3.c: New file.
38636         * dlfcn/tststatic4.c: New file.
38637         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38638         (tests-static): Likewise.
38639         (modules-names): Add modstatic3.
38640         (tststatic3-ENV, tststatic4-ENV): New variables.
38641         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38642         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38644 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38646         * configure.in (CC): Require GCC version 4.4 or later.
38647         * configure: Regenerated.
38648         * manual/install.texi (Tools for Compilation): Update GCC version
38649         requirement.
38650         * INSTALL: Regenerated.
38652 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38654         [BZ #15674]
38655         * string/test-memcmp.c (check2): New.
38656         (main): Call check2.
38658         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38660 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38662         [BZ #15022]
38663         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38664         over to...
38665         (dl_open_worker) [!SHARED]: ... here.
38667 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38669         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38671 2013-06-25  Richard Henderson  <rth@redhat.com>
38673         * locale/programs/locarchive.c: Include <libc-internal.h>
38675 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38677         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38678         trailing whitespace removed.
38680 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38682         [BZ #10283]
38683         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38684         * locale/programs/locarchive.c: Include libc-mmap.h.
38685         (prepare_address_space): Take two new outputs (the mmap base and len).
38686         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38687         values.
38688         (create_archive): Declare new mmap base and len values for
38689         prepare_address_space, and store the result in ah.
38690         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38691         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38692         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38693         Declare new mmap base and len values for
38694         prepare_address_space, and store the result in new_ah.
38695         (open_archive): Declare new mmap base and len values for
38696         prepare_address_space, and store the result in ah.
38697         (close_archive): If ah->mmap_base is not NULL, use that and
38698         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38699         * sysdeps/generic/libc-mmap.h: New file.
38701 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38703         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38704         (ALIGN_UP): Likewise.
38705         (PTR_ALIGN_DOWN): Likewise.
38706         (PTR_ALIGN_UP): Likewise.
38708 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38710         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38711         entry mapped to PPC_PLATFORM_POWER8.
38712         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38713         POWER8.
38714         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38715         (_dl_string_platform): Add case for exporting platform position for
38716         POWER8.
38717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38718         search path to sysdeps/powerpc/powerpc32/power8 directory.
38719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38720         search path to sysdeps/powerpc/powerpc64/power8 directory.
38721         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38722         power7 directories.
38723         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38724         power7 directories.
38726 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38728         * INSTALL: Regenerate.
38730         * nscd/connections.c (nscd_init): Fix comment.
38732 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38734         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38736         [BZ #15667]
38737         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38738         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38740 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38742         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38743         DL_DST_REQ_STATIC.
38744         (DL_DST_REQ_STATIC): Remove macro.
38746 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38748         [BZ #7006]
38749         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38750         with a shift of 0 bits.
38752 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38754         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38755         $(tststatic-ENV).
38757 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38759         [BZ #15655]
38760         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38762 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38764         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38765         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38766         accepts -fno-tree-loop-distribute-patterns.
38767         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38768         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38769         recursive call.
38770         * string/memset.c (memset): Likewise.
38771         * string/test-memmove.c (simple_memmove): Disable loop transformation
38772         to library calls.
38773         * string/test-memset.c (simple_memset): Likewise.
38774         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38775         * benchtests/bench-memset.c (simple_memset): Likewise.
38776         * configure: Regenerated.
38778 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38780         * math/test-misc.c (main): Ignore fesetround failure when failures
38781         of subsequent rounding tests would be ignored.
38783         [BZ #15654]
38784         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38785         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38786         * math/fegetenv.c (__fegetenv): Return 0.
38787         * math/fegetexcept.c (fegetexcept): Return 0.
38788         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38789         FE_TONEAREST.
38790         * math/feholdexcpt.c (feholdexcept): Return 0.
38791         * math/fesetenv.c (__fesetenv): Return 0.
38792         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38793         argument FE_TONEAREST.
38794         * math/feupdateenv.c (__feupdateenv): Return 0.
38795         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38797 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38799         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38800         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38801         ($(objpfx)rtld-%.os rules): Use them.
38803 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38805         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38806         fields.
38808 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38810         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38811         length of target pattern, then descending length of dependency pattern.
38812         * configure.in (AWK): Require gawk 3.1.2 or newer.
38813         * manual/install.texi (Tools for Compilation): Say that we do.
38814         * configure: Regenerated.
38816         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38817         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38818         * scripts/sysd-rules.awk: ... this new script.
38819         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38820         than a glob-style pattern.
38822 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38824         * math/test-misc.c (main): Do not treat incorrectly rounded
38825         conversions as failure unless ROUNDING_TESTS passes.
38827 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38829         [BZ #15631]
38830         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38831         restore exception state around main square root computation, then
38832         check for inexactness explicitly.
38834         * math/libm-test.inc (fma_test_data): Add another test.
38836 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38838         * manual/threads.texi (Non-POSIX Extensions): New document
38839         node.  Document pthread_getattr_default_np and
38840         pthread_setattr_default_np.
38842         * Versions.def (libpthread): Add GLIBC_2.18.
38843         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38845         Likewise.
38846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38847         Likewise.
38848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38849         Likewise.
38850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38851         Likewise.
38852         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38853         Likewise.
38854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38855         Likewise.
38856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38857         Likewise.
38858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38859         Likewise.
38860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38861         Likewise.
38863 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38866         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38868 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38869             H.J. Lu  <hjl.tools@gmail.com>
38871         [BZ #15627]
38872         * sysdeps/x86_64/rtld-memset.c: Remove file.
38873         * sysdeps/x86_64/rtld-memset.S: New file.
38875 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38877         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38878         (test_in_one_mode): Take arguments for whether the rounding mode
38879         is supported for each floating-point type.
38880         (do_test): Pass new arguments to test_in_one_mode using
38881         ROUNDING_TESTS.
38883 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38885         * posix/tst-waitid.c (do_test): Distinguish different instances of
38886         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
38887         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
38888         before entering the kernel for waitpid.
38890 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38892         * NEWS: Fix note on clock function precision.  Text by Roland
38893         McGrath.
38895 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38897         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
38898         it into place only when and if the sanity check passes.
38900 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
38902         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
38903         output for whether conversion result is exact.  Take argument
38904         indicating whether type is IBM long double.
38905         (round_for_all): Change need_exact field to ibm_ld.
38906         * stdlib/tst-strtod-round.c (struct exactness): New type.
38907         (struct test): Change bool ld_ok field to struct exactness exact.
38908         (TEST): Update all definitions for change to field.
38909         (tests): Regenerate array contents.
38910         (test_in_one_mode): Take pointer to new field instead of old ld_ok
38911         field value.  Check for IBM long double here.
38912         (do_test): Update calls to test_in_one_mode.
38914 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38916         [BZ #12515]
38917         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
38918         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
38920 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38922         [BZ #15605]
38923         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
38924         generated by the compiler on loop optimizations.
38925         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
38926         general definitions.
38928 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
38930         * math/bug-nextafter.c: Include <math-tests.h>.
38931         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38932         the relevant type.
38933         * math/bug-nexttoward.c: Include <math-tests.h>.
38934         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38935         the relevant type.
38936         * math/test-misc.c: Include <math-tests.h>.
38937         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38938         the relevant type.
38940 2013-06-12  Andreas Jaeger  <aj@suse.de>
38942         * po/ia.po: Update Interlingua translation from translation
38943         project.
38945 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38947         * include/fenv.h: Include stdbool.h.
38948         (struct rm_ctx): New structure.
38949         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
38950         Define macro.
38951         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
38952         (SET_RESTORE_ROUNDF): Likewise.
38953         (SET_RESTORE_ROUNDL): Likewise.
38954         (SET_RESTORE_ROUND_NOEX): Likewise.
38955         (SET_RESTORE_ROUND_NOEXF): Likewise.
38956         (SET_RESTORE_ROUND_NOEXL): Likewise.
38957         (SET_RESTORE_ROUND_53BIT): Likewise.
38958         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
38959         (libc_feresetround_noexf_ctx): Likewise.
38960         (libc_feresetround_noexl_ctx): Likewise.
38961         (libc_feholdsetround_53bit_ctx): Likewise.
38962         (libc_feresetround_53bit_ctx): Likewise.
38963         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
38964         (libc_feholdexcept_setround_sse_ctx): New function.
38965         (libc_fesetenv_sse_ctx): Likewise.
38966         (libc_feupdateenv_sse_ctx): Likewise.
38967         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
38968         (libc_feholdexcept_setround_387_ctx): Likewise.
38969         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
38970         (libc_feholdsetround_387_prec_ctx): Likewise.
38971         (libc_feholdsetround_387_ctx): Likewise.
38972         (libc_feholdsetround_387_53bit_ctx): Likewise.
38973         (libc_feholdsetround_sse_ctx): Likewise.
38974         (libc_feresetround_sse_ctx): Likewise.
38975         (libc_feresetround_387_ctx): Likewise.
38976         (libc_feupdateenv_387_ctx): Likewise.
38977         (libc_feholdexcept_setroundf_ctx): Define macro.
38978         (libc_fesetenvf_ctx): Likewise.
38979         (libc_feupdateenvf_ctx): Likewise.
38980         (libc_feholdsetroundf_ctx): Likewise.
38981         (libc_feresetroundf_ctx): Likewise.
38982         (libc_feholdexcept_setround_ctx): Likewise.
38983         (libc_fesetenv_ctx): Likewise.
38984         (libc_feupdateenv_ctx): Likewise.
38985         (libc_feholdsetround_ctx): Likewise.
38986         (libc_feresetround_ctx): Likewise.
38987         (libc_feholdexcept_setroundl_ctx): Likewise.
38988         (libc_feupdateenvl_ctx): Likewise.
38989         (libc_feholdsetroundl_ctx): Likewise.
38990         (libc_feresetroundl_ctx): Likewise.
38991         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
38992         (libc_feresetround_53bit_ctx): Likewise.
38994 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38996         * locale/iso-639.def: Convert to UTF-8.
38998 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39000         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39001         (EXCEPTION_TESTS_double): Likewise.
39002         (EXCEPTION_TESTS_long_double): Likewise.
39003         (EXCEPTION_TESTS): Likewise.
39004         * math/libm-test.inc (test_exceptions): Only test exceptions if
39005         EXCEPTION_TESTS (FLOAT).
39007 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39009         * benchtests/Makefile (string-bench): Add strcpy_chk and
39010         stpcpy_chk.
39011         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39012         * benchtests/bench-stpcpy_chk.c: New file.
39013         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39014         * benchtests/bench-strcpy_chk.c: New file.
39015         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39016         code.
39017         (do_test): Likewise.
39019 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39021         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39022         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39023         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39024         with tabs where appropriate.
39025         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39026         dl-procinfo.h.
39027         [PPC_PLATFORM_PPC440]: Likewise.
39028         [PPC_PLATFORM_PPC464]: Likewise.
39029         [PPC_PLATFORM_PPC476]: Likewise.
39030         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39031         ppc464, and ppc476 platform strings merging from ports/
39032         dl-procinfo.h.
39034 2013-06-11  Andreas Schwab  <schwab@suse.de>
39036         [BZ #14991]
39037         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39038         (from_ucs4_idx): Regenerate.
39039         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39040         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39041         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39042         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39043         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39044         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39045         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39046         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39047         from FROM_LOOP and TO_LOOP specific macros.
39048         (BODY): Handle combining characters.
39049         * iconvdata/BIG5HKSCS.irreversible: Update.
39050         * iconvdata/BIG5HKSCS.precomposed: New file.
39051         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39052         characters.
39053         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39055 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39057         * include/sys/time.h: Fix indentation and add copyright header.
39059         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39060         (do_test): Likewise.
39061         * string/test-memchr.c (do_one_test): Likewise.
39062         (do_test): Likewise.
39063         * string/test-memcmp.c (do_one_test): Likewise.
39064         (do_test): Likewise.
39065         * string/test-memcpy.c (do_one_test): Likewise.
39066         (do_test): Likewise.
39067         * string/test-memmem.c (do_one_test): Likewise.
39068         (do_test): Likewise.
39069         (do_random_tests): Likewise.
39070         * string/test-memmove.c (do_one_test): Likewise.
39071         (do_test): Likewise.
39072         * string/test-memset.c (do_one_test): Likewise.
39073         (do_test): Likewise.
39074         * string/test-rawmemchr.c (do_one_test): Likewise.
39075         (do_test): Likewise.
39076         * string/test-strcasecmp.c (do_one_test): Likewise.
39077         (do_test): Likewise.
39078         * string/test-strcasestr.c (do_one_test): Likewise.
39079         (do_test): Likewise.
39080         * string/test-strcat.c (do_one_test): Likewise.
39081         (do_test): Likewise.
39082         * string/test-strchr.c (do_one_test): Likewise.
39083         (do_test): Likewise.
39084         * string/test-strcmp.c (do_one_test): Likewise.
39085         (do_test): Likewise.
39086         * string/test-strcpy.c (do_one_test): Likewise.
39087         (do_test): Likewise.
39088         * string/test-string.h: Likewise.
39089         (test_init): Likewise.
39090         * string/test-strlen.c (do_one_test): Likewise.
39091         (do_test): Likewise.
39092         * string/test-strncasecmp.c (do_one_test): Likewise.
39093         (do_test): Likewise.
39094         * string/test-strncat.c (do_one_test): Likewise.
39095         (do_test): Likewise.
39096         * string/test-strncmp.c (do_one_test): Likewise.
39097         (do_test_limit): Likewise.
39098         (do_test): Likewise.
39099         * string/test-strncpy.c (do_one_test): Likewise.
39100         (do_test): Likewise.
39101         * string/test-strnlen.c (do_one_test): Likewise.
39102         (do_test): Likewise.
39103         * string/test-strpbrk.c (do_one_test): Likewise.
39104         (do_test): Likewise.
39105         * string/test-strrchr.c (do_one_test): Likewise.
39106         (do_test): Likewise.
39107         * string/test-strspn.c (do_one_test): Likewise.
39108         (do_test): Likewise.
39109         * string/test-strstr.c (do_one_test): Likewise.
39110         (do_test): Likewise.
39112         * benchtests/Makefile (string-bench): Add string benchmarks.
39113         * benchtests/bench-bcopy-ifunc.c: New file.
39114         * benchtests/bench-bcopy.c: New file.
39115         * benchtests/bench-bzero-ifunc.c: New file.
39116         * benchtests/bench-bzero.c: New file.
39117         * benchtests/bench-memccpy-ifunc.c: New file.
39118         * benchtests/bench-memccpy.c: New file.
39119         * benchtests/bench-memchr-ifunc.c: New file.
39120         * benchtests/bench-memchr.c: New file.
39121         * benchtests/bench-memcmp-ifunc.c: New file.
39122         * benchtests/bench-memcmp.c: New file.
39123         * benchtests/bench-memmem-ifunc.c: New file.
39124         * benchtests/bench-memmem.c: New file.
39125         * benchtests/bench-memmove-ifunc.c: New file.
39126         * benchtests/bench-memmove.c: New file.
39127         * benchtests/bench-mempcpy-ifunc.c: New file.
39128         * benchtests/bench-mempcpy.c: New file.
39129         * benchtests/bench-memset-ifunc.c: New file.
39130         * benchtests/bench-memset.c: New file.
39131         * benchtests/bench-rawmemchr-ifunc.c: New file.
39132         * benchtests/bench-rawmemchr.c: New file.
39133         * benchtests/bench-stpcpy-ifunc.c: New file.
39134         * benchtests/bench-stpcpy.c: New file.
39135         * benchtests/bench-stpncpy-ifunc.c: New file.
39136         * benchtests/bench-stpncpy.c: New file.
39137         * benchtests/bench-strcasecmp-ifunc.c: New file.
39138         * benchtests/bench-strcasecmp.c: New file.
39139         * benchtests/bench-strcasestr-ifunc.c: New file.
39140         * benchtests/bench-strcasestr.c: New file.
39141         * benchtests/bench-strcat-ifunc.c: New file.
39142         * benchtests/bench-strcat.c: New file.
39143         * benchtests/bench-strchr-ifunc.c: New file.
39144         * benchtests/bench-strchr.c: New file.
39145         * benchtests/bench-strchrnul-ifunc.c: New file.
39146         * benchtests/bench-strchrnul.c: New file.
39147         * benchtests/bench-strcmp-ifunc.c: New file.
39148         * benchtests/bench-strcmp.c: New file.
39149         * benchtests/bench-strcpy-ifunc.c: New file.
39150         * benchtests/bench-strcpy.c: New file.
39151         * benchtests/bench-strcspn-ifunc.c: New file.
39152         * benchtests/bench-strcspn.c: New file.
39153         * benchtests/bench-strlen-ifunc.c: New file.
39154         * benchtests/bench-strlen.c: New file.
39155         * benchtests/bench-strncasecmp-ifunc.c: New file.
39156         * benchtests/bench-strncasecmp.c: New file.
39157         * benchtests/bench-strncat-ifunc.c: New file.
39158         * benchtests/bench-strncat.c: New file.
39159         * benchtests/bench-strncmp-ifunc.c: New file.
39160         * benchtests/bench-strncmp.c: New file.
39161         * benchtests/bench-strncpy-ifunc.c: New file.
39162         * benchtests/bench-strncpy.c: New file.
39163         * benchtests/bench-strnlen-ifunc.c: New file.
39164         * benchtests/bench-strnlen.c: New file.
39165         * benchtests/bench-strpbrk-ifunc.c: New file.
39166         * benchtests/bench-strpbrk.c: New file.
39167         * benchtests/bench-strrchr-ifunc.c: New file.
39168         * benchtests/bench-strrchr.c: New file.
39169         * benchtests/bench-strspn-ifunc.c: New file.
39170         * benchtests/bench-strspn.c: New file.
39171         * benchtests/bench-strstr-ifunc.c: New file.
39172         * benchtests/bench-strstr.c: New file.
39174         * benchtests/Makefile: Disable parallel execution of targets.
39175         (string-bench): Add memcpy.
39176         (benchset): New variable to store a list of benchmark sets.
39177         (bench-func): Renamed from bench.
39178         (bench-set): New target.
39179         (bench): Depend on bench-func and bench-set.
39180         * benchtests/README: Add section on benchmark sets.
39181         * benchtests/bench-memcpy-ifunc.c: New file.
39182         * benchtests/bench-memcpy.c: New file.
39183         * benchtests/bench-string.h: New file.
39185 2013-06-11  Andreas Schwab  <schwab@suse.de>
39187         [BZ #15577]
39188         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39189         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39190         values in the triple.
39191         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39192         terminator in the group key.
39194 2013-06-11  Andreas Jaeger  <aj@suse.de>
39196         * po/zh_TW.po: Update Chinese (traditional) translation from
39197         translation project.
39199 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39201         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39202         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39203         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39204         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39205         (clock_getcpuclockid): Likewise.
39206         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39207         Add weak_alias and libc_hidden_def.
39208         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39209         * rt/clock_gettime.c (clock_gettime): Rename to
39210         __clock_gettime.  Add weak_alias and libc_hidden_def.
39211         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39212         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39213         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39214         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39215         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39216         Likewise.
39217         * rt/clock_settime.c (clock_settime): Rename to
39218         __clock_settime.  Add weak_alias and libc_hidden_def.
39219         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39221 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39223         * mach/err_boot.sub: Remove trailing whitespace.
39224         * mach/err_ipc.sub: Likewise.
39225         * mach/err_mach.sub: Likewise.
39227         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39228         (ROUNDING_TESTS_double): Likewise.
39229         (ROUNDING_TESTS_long_double): Likewise.
39230         (ROUNDING_TESTS): Likewise.
39231         * math/libm-test.inc: Include <math-tests.h>.
39232         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39233         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39234         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39235         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39237 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39239         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39240         of assigning.
39242 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39244         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39245         otherwise empty TRANS lines.
39246         * sysdeps/gnu/errlist.c: Regenerated.
39248         * catgets/gencat.c (error_print): Use (void) in function
39249         definition.
39250         * crypt/crypt_util.c (__init_des): Likewise.
39251         * crypt/speeds.c (Stop): Likewise.
39252         (main): Likewise.
39253         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39254         * inet/ruserpass.c (token): Likewise.
39255         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39256         * intl/localealias.c (extend_alias_table): Likewise.
39257         * intl/plural-exp.c (init_germanic_plural): Likewise.
39258         * libio/fcloseall.c (__fcloseall): Likewise.
39259         * libio/genops.c (_IO_flush_all): Likewise.
39260         (_IO_flush_all_linebuffered): Likewise.
39261         (_IO_cleanup): Likewise.
39262         (_IO_iter_begin): Likewise.
39263         (_IO_iter_end): Likewise.
39264         (_IO_list_lock): Likewise.
39265         (_IO_list_unlock): Likewise.
39266         (_IO_list_resetlock): Likewise.
39267         * libio/getchar.c (getchar): Likewise.
39268         * libio/getchar_u.c (getchar_unlocked): Likewise.
39269         * libio/getwchar.c (getwchar): Likewise.
39270         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39271         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39272         * login/getpt.c (__getpt): Likewise.
39273         * login/tst-utmp.c (main): Likewise.
39274         * malloc/hooks.c (__malloc_check_init): Likewise.
39275         * malloc/malloc.c (__malloc_stats): Likewise.
39276         * malloc/mtrace.c (tr_break): Likewise.
39277         (mtrace): Likewise.
39278         (muntrace): Likewise.
39279         * misc/fstab.c (endfsent): Likewise.
39280         * misc/getclktck.c (__getclktck): Likewise.
39281         * misc/getdtsz.c (__getdtablesize): Likewise.
39282         * misc/gethostid.c (gethostid): Likewise.
39283         * misc/getpagesize.c (__getpagesize): Likewise.
39284         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39285         (__get_nprocs): Likewise.
39286         (__get_phys_pages): Likewise.
39287         (__get_avphys_pages): Likewise.
39288         * misc/getttyent.c (getttyent): Likewise.
39289         (setttyent): Likewise.
39290         (endttyent): Likewise.
39291         * misc/getusershell.c (getusershell): Likewise.
39292         (endusershell): Likewise.
39293         (setusershell): Likewise.
39294         (initshells): Likewise.
39295         * misc/hsearch.c (__hdestroy): Likewise.
39296         * misc/sync.c (sync): Likewise.
39297         * misc/syslog.c (closelog_internal): Likewise.
39298         (closelog): Likewise.
39299         * misc/ttyslot.c (ttyslot): Likewise.
39300         * misc/vhangup.c (vhangup): Likewise.
39301         * posix/fork.c (__fork): Likewise.
39302         * posix/getegid.c (__getegid): Likewise.
39303         * posix/geteuid.c (__geteuid): Likewise.
39304         * posix/getgid.c (__getgid): Likewise.
39305         * posix/getpid.c (__getpid): Likewise.
39306         * posix/getppid.c (__getppid): Likewise.
39307         * posix/getuid.c (__getuid): Likewise.
39308         * posix/pause.c (pause): Likewise.
39309         * posix/setpgrp.c (setpgrp): Likewise.
39310         * posix/setsid.c (__setsid): Likewise.
39311         * posix/test-vfork.c (noop): Likewise.
39312         * resolv/gethnamaddr.c (_endhtent): Likewise.
39313         (_gethtent): Likewise.
39314         (ht_endhostent): Likewise.
39315         (gethostent): Likewise.
39316         (dns_service): Likewise.
39317         * stdlib/drand48.c (drand48): Likewise.
39318         * stdlib/lrand48.c (lrand48): Likewise.
39319         * stdlib/mrand48.c (mrand48): Likewise.
39320         * stdlib/rand.c (rand): Likewise.
39321         * stdlib/random.c (__random): Likewise.
39322         * stdlib/setenv.c (clearenv): Likewise.
39323         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39324         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39325         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39326         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39327         (__get_nprocs): Likewise.
39328         (__get_phys_pages): Likewise.
39329         (__get_avphys_pages): Likewise.
39330         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39331         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39332         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39333         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39334         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39335         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39336         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39337         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39338         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39339         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39340         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39341         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39342         * sysdeps/posix/clock.c (clock): Likewise.
39343         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39344         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39345         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39346         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39347         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39348         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39349         (__get_nprocs_conf): Likewise.
39350         (__get_phys_pages): Likewise.
39351         (__get_avphys_pages): Likewise.
39352         * time/clock.c (clock): Likewise.
39353         * time/tzset.c (__tzname_max): Likewise.
39355 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39357         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39358         (__bswap_32): Do not use "register".
39359         * crypt/crypt.c (_ufc_doit_r): Likewise.
39360         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39361         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39362         * gmon/gmon.c (__monstartup): Likewise.
39363         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39364         * hurd/hurdmalloc.c (more_memory): Likewise.
39365         (malloc): Likewise.
39366         (free): Likewise.
39367         (realloc): Likewise.
39368         (malloc_fork_prepare): Likewise.
39369         (malloc_fork_parent): Likewise.
39370         (malloc_fork_child): Likewise.
39371         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39372         (_svcauth_des): Likewise.
39373         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39374         * inet/inet_net.c (inet_network): Likewise.
39375         * inet/inet_netof.c (inet_netof): Likewise.
39376         * inet/rcmd.c (__validuser2_sa): Likewise.
39377         * io/fts.c (fts_open): Likewise.
39378         (fts_load): Likewise.
39379         (fts_close): Likewise.
39380         (fts_read): Likewise.
39381         (fts_children): Likewise.
39382         (fts_build): Likewise.
39383         (fts_stat): Likewise.
39384         (fts_sort): Likewise.
39385         (fts_alloc): Likewise.
39386         (fts_lfree): Likewise.
39387         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39388         (_IO_file_xsgetn): Likewise.
39389         (_IO_file_xsgetn_mmap): Likewise.
39390         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39391         (_IO_cookie_write): Likewise.
39392         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39393         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39394         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39395         * malloc/obstack.c (_obstack_begin): Likewise.
39396         (_obstack_begin_1): Likewise.
39397         (_obstack_newchunk): Likewise.
39398         (_obstack_allocated_p): Likewise.
39399         (obstack_free): Likewise.
39400         (_obstack_memory_used): Likewise.
39401         * misc/getttyent.c (getttynam): Likewise.
39402         (getttyent): Likewise.
39403         (skip): Likewise.
39404         (value): Likewise.
39405         * misc/getusershell.c (initshells): Likewise.
39406         * misc/syslog.c (__vsyslog_chk): Likewise.
39407         * misc/ttyslot.c (ttyslot): Likewise.
39408         * nis/nis_hash.c (__nis_hash): Likewise.
39409         * posix/fnmatch_loop.c (FCT): Likewise.
39410         * posix/getconf.c (print_all): Likewise.
39411         (main): Likewise.
39412         * posix/getopt.c (exchange): Likewise.
39413         * posix/glob.c (globfree): Likewise.
39414         (prefix_array): Likewise.
39415         (__glob_pattern_type): Likewise.
39416         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39417         (NS_GET32): Likewise.
39418         (NS_PUT16): Likewise.
39419         (NS_PUT32): Likewise.
39420         * resolv/gethnamaddr.c (getanswer): Likewise.
39421         (gethostbyname2): Likewise.
39422         (gethostbyaddr): Likewise.
39423         (_gethtent): Likewise.
39424         (_gethtbyname2): Likewise.
39425         (_gethtbyaddr): Likewise.
39426         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39427         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39428         * resolv/res_init.c (__res_vinit): Likewise.
39429         (net_mask): Likewise.
39430         * resolv/res_mkquery.c (outchar): Likewise.
39431         (PRINT): Likewise.
39432         * stdio-common/printf_fp.c (outchar): Likewise.
39433         (PRINT): Likewise.
39434         * stdio-common/printf_fphex.c (outchar): Likewise.
39435         (PRINT): Likewise.
39436         * stdio-common/printf_size.c (outchar): Likewise.
39437         (PRINT): Likewise.
39438         * stdio-common/test_rdwr.c (main): Likewise.
39439         * stdio-common/tfformat.c (matches): Likewise.
39440         * stdio-common/vfprintf.c (outchar): Likewise.
39441         (printf_unknown): Likewise.
39442         (buffered_vfprintf): Likewise.
39443         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39444         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39445         (ReadFile): Likewise.
39446         * stdlib/qsort.c (SWAP): Likewise.
39447         (_quicksort): Likewise.
39448         * stdlib/setenv.c (__add_to_environ): Likewise.
39449         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39450         * stdlib/strtol_l.c (__strtol_l): Likewise.
39451         * stdlib/tst-strtod.c (main): Likewise.
39452         * stdlib/tst-strtol.c (main): Likewise.
39453         * stdlib/tst-strtoll.c (main): Likewise.
39454         * string/bits/string2.h (__strcmp_cc): Likewise.
39455         (__strcmp_cg): Likewise.
39456         (__strcspn_c1): Likewise.
39457         (__strcspn_c2): Likewise.
39458         (__strcspn_c3): Likewise.
39459         (__strspn_c1): Likewise.
39460         (__strspn_c2): Likewise.
39461         (__strspn_c3): Likewise.
39462         (__strsep_1c): Likewise.
39463         (__strsep_2c): Likewise.
39464         (__strsep_3c): Likewise.
39465         * string/memccpy.c (__memccpy): Likewise.
39466         * string/stpcpy.c (__stpcpy): Likewise.
39467         * string/strcmp.c (strcmp): Likewise.
39468         * string/strrchr.c (strrchr): Likewise.
39469         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39470         Likewise.
39471         * sysdeps/mach/hurd/getcwd.c
39472         (_hurd_canonicalize_directory_name_internal): Likewise.
39473         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39474         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39475         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39476         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39477         Likewise, in both definitions.
39478         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39479         definitions.
39480         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39481         64] (__bswap_64): Likewise.
39482         * time/test_time.c (main): Likewise.
39483         * time/tzfile.c (__tzfile_read): Likewise.
39484         (__tzfile_compute): Likewise.
39485         * time/tzset.c (__tzset_parse_tz): Likewise.
39486         (tzset_internal): Likewise.
39487         (compute_change): Likewise.
39488         * wcsmbs/wcscat.c (__wcscat): Likewise.
39489         * wcsmbs/wcschr.c (wcschr): Likewise.
39490         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39491         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39492         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39493         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39494         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39495         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39496         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39497         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39498         * wcsmbs/wmemset.c (wmemset): Likewise.
39500 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39502         * scripts/config.guess: Update to version 2013-05-16.
39503         * scripts/config.sub: Update to version 2013-04-24.
39504         * scripts/install-sh: Update to version 2011-11-20.07.
39505         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39506         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39508 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39510         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39511         * elf/sln.c: Likewise.
39512         * hurd/hurd/ioctl.h: Likewise.
39513         * hurd/hurdmalloc.c: Likewise.
39514         * hurd/xattr.c: Likewise.
39515         * include/shlib-compat.h: Likewise.
39516         * inet/ruserpass.c: Likewise.
39517         * libio/iofgets_u.c: Likewise.
39518         * libio/iofgetws_u.c: Likewise.
39519         * locale/programs/ld-identification.c: Likewise.
39520         * locale/programs/ld-time.c: Likewise.
39521         * mach/msg-destroy.c: Likewise.
39522         * nss/nss_files/files-netgrp.c: Likewise.
39523         * resolv/res_data.c: Likewise.
39524         * soft-fp/op-1.h: Likewise.
39525         * soft-fp/op-2.h: Likewise.
39526         * soft-fp/op-4.h: Likewise.
39527         * soft-fp/op-common.h: Likewise.
39528         * stdio-common/printf_fphex.c: Likewise.
39529         * stdlib/strtod_l.c: Likewise.
39530         * sunrpc/rpc/clnt.h: Likewise.
39531         * sysdeps/generic/framestate.c: Likewise.
39532         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39533         * sysdeps/i386/bsd-setjmp.S: Likewise.
39534         * sysdeps/i386/__longjmp.S: Likewise.
39535         * sysdeps/i386/setjmp.S: Likewise.
39536         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39537         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39538         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39539         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39540         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39541         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39542         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39543         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39544         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39545         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39546         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39547         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39548         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39549         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39550         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39551         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39552         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39553         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39554         * sysdeps/ieee754/support.c: Likewise.
39555         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39556         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39557         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39558         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39559         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39560         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39561         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39562         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39563         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39564         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39565         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39566         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39567         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39568         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39569         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39570         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39571         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39574 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39576         * posix/transbug.c: Remove executable mode.
39578 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39580         * crypt/speeds.c: Remove trailing whitespace.
39581         * dlfcn/default.c: Likewise.
39582         * elf/ifuncdep2.c: Likewise.
39583         * elf/ifuncmain1.c: Likewise.
39584         * elf/ifuncmain1vis.c: Likewise.
39585         * elf/testobj.h: Likewise.
39586         * elf/tst-stackguard1.c: Likewise.
39587         * gmon/sys/gmon.h: Likewise.
39588         * hurd/hurdmsg.c: Likewise.
39589         * hurd/new-fd.c: Likewise.
39590         * hurd/ports-get.c: Likewise.
39591         * iconvdata/ibm1008_420.c: Likewise.
39592         * inet/tst-getni1.c: Likewise.
39593         * inet/tst-getni2.c: Likewise.
39594         * libio/ioungetc.c: Likewise.
39595         * libio/wfiledoalloc.c: Likewise.
39596         * manual/libm-err-tab.pl: Likewise.
39597         * math/w_dremf.c: Likewise.
39598         * misc/ftruncate.c: Likewise.
39599         * posix/bug-glob2.c: Likewise.
39600         * posix/tst-pcre.c: Likewise.
39601         * posix/wait4.c: Likewise.
39602         * resolv/README: Likewise.
39603         * resolv/res_debug.h: Likewise.
39604         * resolv/tst-inet_ntop.c: Likewise.
39605         * setjmp/bug269-setjmp.c: Likewise.
39606         * soft-fp/extended.h: Likewise.
39607         * soft-fp/op-1.h: Likewise.
39608         * soft-fp/op-2.h: Likewise.
39609         * soft-fp/op-4.h: Likewise.
39610         * soft-fp/op-8.h: Likewise.
39611         * soft-fp/testit.c: Likewise.
39612         * stdio-common/bug16.c: Likewise.
39613         * stdlib/random.c: Likewise.
39614         * sunrpc/rpcsvc/rquota.x: Likewise.
39615         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39616         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39617         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39618         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39619         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39620         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39621         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39622         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39623         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39624         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39625         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39626         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39627         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39628         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39629         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39630         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39631         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39632         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39633         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39634         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39635         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39636         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39637         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39638         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39639         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39640         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39641         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39642         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39643         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39644         * sysdeps/ieee754/s_lib_version.c: Likewise.
39645         * sysdeps/mach/hurd/check_fds.c: Likewise.
39646         * sysdeps/mach/hurd/getsockname.c: Likewise.
39647         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39648         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39649         * sysdeps/powerpc/bits/link.h: Likewise.
39650         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39651         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39652         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39653         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39654         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39655         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39656         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39657         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39658         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39659         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39660         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39661         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39662         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39663         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39664         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39665         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39666         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39667         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39668         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39669         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39670         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39671         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39672         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39673         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39674         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39675         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39676         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39677         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39678         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39679         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39680         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39681         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39682         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39683         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39684         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39685         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39686         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39687         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39688         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39689         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39690         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39691         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39692         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39693         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39694         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39695         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39696         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39697         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39698         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39699         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39700         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39701         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39702         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39703         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39704         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39705         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39706         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39707         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39708         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39709         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39710         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39711         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39712         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39713         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39714         * sysdeps/powerpc/sysdep.h: Likewise.
39715         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39716         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39717         * sysdeps/sh/dl-trampoline.S: Likewise.
39718         * sysdeps/sh/memset.S: Likewise.
39719         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39720         * sysdeps/sh/strlen.S: Likewise.
39721         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39722         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39723         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39724         * sysdeps/sparc/sparc32/rem.S: Likewise.
39725         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39726         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39727         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39728         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39729         * sysdeps/sparc/sparc32/urem.S: Likewise.
39730         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39731         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39732         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39733         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39734         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39735         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39736         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39737         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39738         * sysdeps/unix/bsd/times.c: Likewise.
39739         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39740         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39744         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39745         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39746         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39747         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39748         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39749         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39750         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39751         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39752         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39753         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39754         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39755         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39756         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39757         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39758         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39759         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39760         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39761         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39762         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39763         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39764         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39765         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39766         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39767         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39768         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39769         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39770         * sysdeps/x86_64/strcspn.S: Likewise.
39772 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39774         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39775         generated file.  Regenerate properly from gen-translit.pl.
39776         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39777         locale/C-translit.h.
39779 2013-06-05  Andreas Schwab  <schwab@suse.de>
39781         [BZ #15100]
39782         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39783         week as 6 instead of -1.
39784         * time/tst-strptime.c (day_tests): Add test case.
39786 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39788         * sysdeps/generic/math_private.h
39789         (libc_feholdexcept_setround_53bit): Replace with
39790         libc_feholdsetround_53bit.
39791         (libc_feupdateenv_53bit): Replace with
39792         libc_feresetround_53bit.
39793         (SET_RESTORE_ROUND_53BIT): Adjust.
39795 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39797         * string/test-strchrnul.c: Add copyright header.
39799         * posix/tst-getaddrinfo4.c: Increase test timeout.
39801 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39803         [BZ #15536]
39804         * math/libm-test.inc (MAX_EXP): Remove
39805         (MIN_EXP): Define.
39806         (ulp): Use MIN_EXP - MANT_DIG.
39807         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39809 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39811         * po/be.po: Revert last change.
39812         * po/zh_CN.po: Likewise.
39813         * po/header.pot: Likewise.
39815 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39817         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39818         link-libc-deps to empty as target-specific variable.
39819         * Makerules (link-libc-args): New variable.
39820         (libc-for-link): Likewise.
39821         (link-libc-deps): Likewise.
39822         (lib%.so): Depend on $(link-libc-deps).  Link with
39823         $(link-libc-args).
39824         (build-module): Link with $(link-libc-args).
39825         (build-module-asneeded): Likewise.
39826         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39827         list of objects.
39828         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39829         target-specific variable.
39830         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39831         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39832         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39833         libc.
39834         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39835         libc and ld.so.
39836         ($(objpfx)libpcprofile.so): Likewise.
39837         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39838         libc_nonshared.a.
39839         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39840         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39841         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39842         $(link-libc-deps).
39843         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39844         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39845         * login/Makefile ($(objpfx)libutil.so): Likewise.
39846         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39847         * math/Makefile ($(objpfx)libm.so): Likewise.
39848         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39849         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39850         variable instead of depending directly on libc.
39851         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39852         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39853         $(link-libc-deps).
39854         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39855         libc.
39856         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39857         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39858         ($(objpfx)libanl.so): Likewise.
39859         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39860         ld.so.
39861         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39862         $(link-libc-deps).
39863         * sysdeps/i386/fpu/Makefile: Remove file.
39864         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39865         ($(objpfx)libm.so): Remove dependency on ld.so.
39867 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39869         [BZ # 15553]
39870         * nis/yp_xdr.c (XDRMAXNAME): Define.
39871         (XDRMAXRECORD): Define.
39872         (xdr_domainname): Use XDRMAXNAME.
39873         (xdr_mapname): Likewise.
39874         (xdr_peername): Likewise.
39875         (xdr_keydat): Use XDRMAXRECORD.
39876         (xdr_valdat): Likewise.
39878 2013-05-30  Jeff Law  <law@redhat.com>
39880         [BZ #14256]
39881         * manual/errno.texi (ESTALE): Update to account for more than
39882         just NFS file systems.
39883         * sysdeps/gnu/errlist.c: Regenerated.
39885 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39887         [BZ #15465]
39888         * elf/Makefile (tests): Add tst-null-argv.
39889         (modules-names):  Add tst-null-argv-lib.
39890         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
39891         (tst-null-argv-ENV): Set environment for tst-null-argv.
39892         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
39893         (RTLD_PROGNAME): New macro.
39894         * elf/tst-null-argv.c: New test case.
39895         * elf/tst-null-argv-lib.c: Library for test case.
39896         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
39897         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
39898         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
39899         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
39900         * elf/dl-init.c (call_init): Likewise.
39901         (_dl_init): Likewise.
39902         * elf/dl-load.c (print_search_path): Likewise.
39903         (_dl_map_object): Likewise.
39904         * elf/dl-lookup.c (do_lookup_x): Likewise.
39905         (add_dependency): Likewise.
39906         (_dl_lookup_symbol_x): Likewise.
39907         (_dl_debug_bindings): Likewise.
39908         * elf/dl-open.c (_dl_show_scope): Likewise.
39909         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39910         * elf/dl-version.c (match_symbol): Likewise.
39911         (_dl_check_map_versions): Likewise.
39912         * elf/rtld.c (dl_main): Likewise.
39913         (print_unresolved): Use RTLD_PROGNAME.
39914         (print_missing_version): Likewise.
39915         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
39916         (elf_machine_rela): Likewise.
39917         * sysdeps/powerpc/powerpc32/dl-machine.c
39918         (__process_machine_rela): Likewise.
39919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39920         Likewise.
39921         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39922         Likewise.
39923         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39924         Likewise.
39925         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39926         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
39927         Likewise.
39928         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
39929         Likewise.
39930         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39932 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
39934         * po/be.po: Add descriptive title.
39935         * po/zh_CN.po: Likewise.
39936         * po/header.pot: Likewise.
39938 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
39940         * locale/programs/locarchive.c (create_archive): Inlucde fname in
39941         error message.
39942         (enlarge_archive): Likewise.
39944 2013-05-28  Ben North  <ben@redfrontdoor.org>
39946         * manual/arith.texi (frexp): It is the magnitude of the return
39947         value which lies in [0.5, 1), not the return value itself.
39949 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39953 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
39955         * stdio-common/bug26.c (main): Correct fscanf template.
39957         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
39958         declare _dl_skip_args.
39960         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
39961         Don't declare.
39963         * manual/platform.texi: Add missing @end deftypefun.
39965 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39967         [BZ #15529]
39968         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
39969         bit of mantissa of 2^16382.
39970         * math/libm-test.inc (hypot_test_data): Add more tests.
39972         * math/libm-test.inc: Add drem and pow10 to list of tested
39973         functions.
39974         (pow10_test): New function.
39975         (drem_test): Likewise.
39976         (drem_test_tonearest): Likewise.
39977         (drem_test_towardzero): Likewise.
39978         (drem_test_downward): Likewise.
39979         (drem_test_upward): Likewise.
39980         (main): Call the new functions.
39982         * math/libm-test.inc (finite_test_data): Remove.
39983         (finite_test): Run tests from isfinite_test_data.
39984         (gamma_test_data): Remove.
39985         (gamma_test): Run tests from lgamma_test_data.
39986         * sysdeps/i386/fpu/libm-test-ulps: Update.
39987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39989 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39991         * manual/platform.texi: Add PowerPC PPR function set documentation.
39992         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
39993         implementation.
39995 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
39997         * math/libm-test.inc (MAX_EXP): Define.
39998         (ULPDIFF): Define.
39999         (ulp): New function.
40000         (check_float_internal): Use ULPDIFF.
40001         (cpow_test): Disable failing test.
40002         (check_ulp): Test ulp() implemetnation.
40003         (main): Call check_ulp before starting tests.
40005 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40007         * math/gen-libm-test.pl (generate_testfile): Do not handle
40008         START_DATA and END_DATA.
40009         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40010         END_DATA.
40011         (acos_tonearest_test_data): Likewise.
40012         (acos_towardzero_test_data): Likewise.
40013         (acos_downward_test_data): Likewise.
40014         (acos_upward_test_data): Likewise.
40015         (acosh_test_data): Likewise.
40016         (asin_test_data): Likewise.
40017         (asin_tonearest_test_data): Likewise.
40018         (asin_towardzero_test_data): Likewise.
40019         (asin_downward_test_data): Likewise.
40020         (asin_upward_test_data): Likewise.
40021         (asinh_test_data): Likewise.
40022         (atan_test_data): Likewise.
40023         (atanh_test_data): Likewise.
40024         (atan2_test_data): Likewise.
40025         (cabs_test_data): Likewise.
40026         (cacos_test_data): Likewise.
40027         (cacosh_test_data): Likewise.
40028         (carg_test_data): Likewise.
40029         (casin_test_data): Likewise.
40030         (casinh_test_data): Likewise.
40031         (catan_test_data): Likewise.
40032         (catanh_test_data): Likewise.
40033         (cbrt_test_data): Likewise.
40034         (ccos_test_data): Likewise.
40035         (ccosh_test_data): Likewise.
40036         (ceil_test_data): Likewise.
40037         (cexp_test_data): Likewise.
40038         (cimag_test_data): Likewise.
40039         (clog_test_data): Likewise.
40040         (clog10_test_data): Likewise.
40041         (conj_test_data): Likewise.
40042         (copysign_test_data): Likewise.
40043         (cos_test_data): Likewise.
40044         (cos_tonearest_test_data): Likewise.
40045         (cos_towardzero_test_data): Likewise.
40046         (cos_downward_test_data): Likewise.
40047         (cos_upward_test_data): Likewise.
40048         (cosh_test_data): Likewise.
40049         (cosh_tonearest_test_data): Likewise.
40050         (cosh_towardzero_test_data): Likewise.
40051         (cosh_downward_test_data): Likewise.
40052         (cosh_upward_test_data): Likewise.
40053         (cpow_test_data): Likewise.
40054         (cproj_test_data): Likewise.
40055         (creal_test_data): Likewise.
40056         (csin_test_data): Likewise.
40057         (csinh_test_data): Likewise.
40058         (csqrt_test_data): Likewise.
40059         (ctan_test_data): Likewise.
40060         (ctan_tonearest_test_data): Likewise.
40061         (ctan_towardzero_test_data): Likewise.
40062         (ctan_downward_test_data): Likewise.
40063         (ctan_upward_test_data): Likewise.
40064         (ctanh_test_data): Likewise.
40065         (ctanh_tonearest_test_data): Likewise.
40066         (ctanh_towardzero_test_data): Likewise.
40067         (ctanh_downward_test_data): Likewise.
40068         (ctanh_upward_test_data): Likewise.
40069         (erf_test_data): Likewise.
40070         (erfc_test_data): Likewise.
40071         (exp_test_data): Likewise.
40072         (exp_tonearest_test_data): Likewise.
40073         (exp_towardzero_test_data): Likewise.
40074         (exp_downward_test_data): Likewise.
40075         (exp_upward_test_data): Likewise.
40076         (exp10_test_data): Likewise.
40077         (exp2_test_data): Likewise.
40078         (expm1_test_data): Likewise.
40079         (fabs_test_data): Likewise.
40080         (fdim_test_data): Likewise.
40081         (finite_test_data): Likewise.
40082         (floor_test_data): Likewise.
40083         (fma_test_data): Likewise.
40084         (fma_towardzero_test_data): Likewise.
40085         (fma_downward_test_data): Likewise.
40086         (fma_upward_test_data): Likewise.
40087         (fmax_test_data): Likewise.
40088         (fmin_test_data): Likewise.
40089         (fmod_test_data): Likewise.
40090         (fpclassify_test_data): Likewise.
40091         (frexp_test_data): Likewise.
40092         (gamma_test_data): Likewise.
40093         (hypot_test_data): Likewise.
40094         (ilogb_test_data): Likewise.
40095         (isfinite_test_data): Likewise.
40096         (isgreater_test_data): Likewise.
40097         (isgreaterequal_test_data): Likewise.
40098         (isinf_test_data): Likewise.
40099         (isless_test_data): Likewise.
40100         (islessequal_test_data): Likewise.
40101         (islessgreater_test_data): Likewise.
40102         (isnan_test_data): Likewise.
40103         (isnormal_test_data): Likewise.
40104         (issignaling_test_data): Likewise.
40105         (isunordered_test_data): Likewise.
40106         (j0_test_data): Likewise.
40107         (j1_test_data): Likewise.
40108         (jn_test_data): Likewise.
40109         (ldexp_test_data): Likewise.
40110         (lgamma_test_data): Likewise.
40111         (lrint_test_data): Likewise.
40112         (lrint_tonearest_test_data): Likewise.
40113         (lrint_towardzero_test_data): Likewise.
40114         (lrint_downward_test_data): Likewise.
40115         (lrint_upward_test_data): Likewise.
40116         (llrint_test_data): Likewise.
40117         (llrint_tonearest_test_data): Likewise.
40118         (llrint_towardzero_test_data): Likewise.
40119         (llrint_downward_test_data): Likewise.
40120         (llrint_upward_test_data): Likewise.
40121         (log_test_data): Likewise.
40122         (log10_test_data): Likewise.
40123         (log1p_test_data): Likewise.
40124         (log2_test_data): Likewise.
40125         (logb_test_data): Likewise.
40126         (logb_downward_test_data): Likewise.
40127         (lround_test_data): Likewise.
40128         (llround_test_data): Likewise.
40129         (modf_test_data): Likewise.
40130         (nearbyint_test_data): Likewise.
40131         (nextafter_test_data): Likewise.
40132         (nexttoward_test_data): Likewise.
40133         (pow_test_data): Likewise.
40134         (pow_tonearest_test_data): Likewise.
40135         (pow_towardzero_test_data): Likewise.
40136         (pow_downward_test_data): Likewise.
40137         (pow_upward_test_data): Likewise.
40138         (remainder_test_data): Likewise.
40139         (remainder_tonearest_test_data): Likewise.
40140         (remainder_towardzero_test_data): Likewise.
40141         (remainder_downward_test_data): Likewise.
40142         (remainder_upward_test_data): Likewise.
40143         (remquo_test_data): Likewise.
40144         (rint_test_data): Likewise.
40145         (rint_tonearest_test_data): Likewise.
40146         (rint_towardzero_test_data): Likewise.
40147         (rint_downward_test_data): Likewise.
40148         (rint_upward_test_data): Likewise.
40149         (round_test_data): Likewise.
40150         (scalb_test_data): Likewise.
40151         (scalbn_test_data): Likewise.
40152         (scalbln_test_data): Likewise.
40153         (signbit_test_data): Likewise.
40154         (sin_test_data): Likewise.
40155         (sin_tonearest_test_data): Likewise.
40156         (sin_towardzero_test_data): Likewise.
40157         (sin_downward_test_data): Likewise.
40158         (sin_upward_test_data): Likewise.
40159         (sincos_test_data): Likewise.
40160         (sinh_test_data): Likewise.
40161         (sinh_tonearest_test_data): Likewise.
40162         (sinh_towardzero_test_data): Likewise.
40163         (sinh_downward_test_data): Likewise.
40164         (sinh_upward_test_data): Likewise.
40165         (sqrt_test_data): Likewise.
40166         (tan_test_data): Likewise.
40167         (tan_tonearest_test_data): Likewise.
40168         (tan_towardzero_test_data): Likewise.
40169         (tan_downward_test_data): Likewise.
40170         (tan_upward_test_data): Likewise.
40171         (tanh_test_data): Likewise.
40172         (tgamma_test_data): Likewise.
40173         (trunc_test_data): Likewise.
40174         (y0_test_data): Likewise.
40175         (y1_test_data): Likewise.
40176         (yn_test_data): Likewise.
40177         (significand_test_data): Likewise.
40179         * math/gen-libm-test.pl (@functions): Remove variable.
40180         (generate_testfile): Don't handle START and END lines.
40181         * math/libm-test.inc (START): New macro.
40182         (END): Likewise.
40183         (END_COMPLEX): Likewise.
40184         (acos_test): Use END macro without arguments.
40185         (acos_test_tonearest): Likewise.
40186         (acos_test_towardzero): Likewise.
40187         (acos_test_downward): Likewise.
40188         (acos_test_upward): Likewise.
40189         (acosh_test): Likewise.
40190         (asin_test): Likewise.
40191         (asin_test_tonearest): Likewise.
40192         (asin_test_towardzero): Likewise.
40193         (asin_test_downward): Likewise.
40194         (asin_test_upward): Likewise.
40195         (asinh_test): Likewise.
40196         (atan_test): Likewise.
40197         (atanh_test): Likewise.
40198         (atan2_test): Likewise.
40199         (cabs_test): Likewise.
40200         (cacos_test): Use END_COMPLEX macro without arguments.
40201         (cacosh_test): Likewise.
40202         (carg_test): Use END macro without arguments.
40203         (casin_test): Use END_COMPLEX macro without arguments.
40204         (casinh_test): Likewise.
40205         (catan_test): Likewise.
40206         (catanh_test): Likewise.
40207         (cbrt_test): Use END macro without arguments.
40208         (ccos_test): Use END_COMPLEX macro without arguments.
40209         (ccosh_test): Likewise.
40210         (ceil_test): Use END macro without arguments.
40211         (cexp_test): Use END_COMPLEX macro without arguments.
40212         (cimag_test): Use END macro without arguments.
40213         (clog_test): Use END_COMPLEX macro without arguments.
40214         (clog10_test): Likewise.
40215         (conj_test): Likewise.
40216         (copysign_test): Use END macro without arguments.
40217         (cos_test): Likewise.
40218         (cos_test_tonearest): Likewise.
40219         (cos_test_towardzero): Likewise.
40220         (cos_test_downward): Likewise.
40221         (cos_test_upward): Likewise.
40222         (cosh_test): Likewise.
40223         (cosh_test_tonearest): Likewise.
40224         (cosh_test_towardzero): Likewise.
40225         (cosh_test_downward): Likewise.
40226         (cosh_test_upward): Likewise.
40227         (cpow_test): Use END_COMPLEX macro without arguments.
40228         (cproj_test): Likewise.
40229         (creal_test): Use END macro without arguments.
40230         (csin_test): Use END_COMPLEX macro without arguments.
40231         (csinh_test): Likewise.
40232         (csqrt_test): Likewise.
40233         (ctan_test): Likewise.
40234         (ctan_test_tonearest): Likewise.
40235         (ctan_test_towardzero): Likewise.
40236         (ctan_test_downward): Likewise.
40237         (ctan_test_upward): Likewise.
40238         (ctanh_test): Likewise.
40239         (ctanh_test_tonearest): Likewise.
40240         (ctanh_test_towardzero): Likewise.
40241         (ctanh_test_downward): Likewise.
40242         (ctanh_test_upward): Likewise.
40243         (erf_test): Use END macro without arguments.
40244         (erfc_test): Likewise.
40245         (exp_test): Likewise.
40246         (exp_test_tonearest): Likewise.
40247         (exp_test_towardzero): Likewise.
40248         (exp_test_downward): Likewise.
40249         (exp_test_upward): Likewise.
40250         (exp10_test): Likewise.
40251         (exp2_test): Likewise.
40252         (expm1_test): Likewise.
40253         (fabs_test): Likewise.
40254         (fdim_test): Likewise.
40255         (finite_test): Likewise.
40256         (floor_test): Likewise.
40257         (fma_test): Likewise.
40258         (fma_test_towardzero): Likewise.
40259         (fma_test_downward): Likewise.
40260         (fma_test_upward): Likewise.
40261         (fmax_test): Likewise.
40262         (fmin_test): Likewise.
40263         (fmod_test): Likewise.
40264         (fpclassify_test): Likewise.
40265         (frexp_test): Likewise.
40266         (gamma_test): Likewise.
40267         (hypot_test): Likewise.
40268         (ilogb_test): Likewise.
40269         (isfinite_test): Likewise.
40270         (isgreater_test): Likewise.
40271         (isgreaterequal_test): Likewise.
40272         (isinf_test): Likewise.
40273         (isless_test): Likewise.
40274         (islessequal_test): Likewise.
40275         (islessgreater_test): Likewise.
40276         (isnan_test): Likewise.
40277         (isnormal_test): Likewise.
40278         (issignaling_test): Likewise.
40279         (isunordered_test): Likewise.
40280         (j0_test): Likewise.
40281         (j1_test): Likewise.
40282         (jn_test): Likewise.
40283         (ldexp_test): Likewise.
40284         (lgamma_test): Likewise.
40285         (lrint_test): Likewise.
40286         (lrint_test_tonearest): Likewise.
40287         (lrint_test_towardzero): Likewise.
40288         (lrint_test_downward): Likewise.
40289         (lrint_test_upward): Likewise.
40290         (llrint_test): Likewise.
40291         (llrint_test_tonearest): Likewise.
40292         (llrint_test_towardzero): Likewise.
40293         (llrint_test_downward): Likewise.
40294         (llrint_test_upward): Likewise.
40295         (log_test): Likewise.
40296         (log10_test): Likewise.
40297         (log1p_test): Likewise.
40298         (log2_test): Likewise.
40299         (logb_test): Likewise.
40300         (logb_test_downward): Likewise.
40301         (lround_test): Likewise.
40302         (llround_test): Likewise.
40303         (modf_test): Likewise.
40304         (nearbyint_test): Likewise.
40305         (nextafter_test): Likewise.
40306         (nexttoward_test): Likewise.
40307         (pow_test): Likewise.
40308         (pow_test_tonearest): Likewise.
40309         (pow_test_towardzero): Likewise.
40310         (pow_test_downward): Likewise.
40311         (pow_test_upward): Likewise.
40312         (remainder_test): Likewise.
40313         (remainder_test_tonearest): Likewise.
40314         (remainder_test_towardzero): Likewise.
40315         (remainder_test_downward): Likewise.
40316         (remainder_test_upward): Likewise.
40317         (remquo_test): Likewise.
40318         (rint_test): Likewise.
40319         (rint_test_tonearest): Likewise.
40320         (rint_test_towardzero): Likewise.
40321         (rint_test_downward): Likewise.
40322         (rint_test_upward): Likewise.
40323         (round_test): Likewise.
40324         (scalb_test): Likewise.
40325         (scalbn_test): Likewise.
40326         (scalbln_test): Likewise.
40327         (signbit_test): Likewise.
40328         (sin_test): Likewise.
40329         (sin_test_tonearest): Likewise.
40330         (sin_test_towardzero): Likewise.
40331         (sin_test_downward): Likewise.
40332         (sin_test_upward): Likewise.
40333         (sincos_test): Likewise.
40334         (sinh_test): Likewise.
40335         (sinh_test_tonearest): Likewise.
40336         (sinh_test_towardzero): Likewise.
40337         (sinh_test_downward): Likewise.
40338         (sinh_test_upward): Likewise.
40339         (sqrt_test): Likewise.
40340         (tan_test): Likewise.
40341         (tan_test_tonearest): Likewise.
40342         (tan_test_towardzero): Likewise.
40343         (tan_test_downward): Likewise.
40344         (tan_test_upward): Likewise.
40345         (tanh_test): Likewise.
40346         (tgamma_test): Likewise.
40347         (trunc_test): Likewise.
40348         (y0_test): Likewise.
40349         (y1_test): Likewise.
40350         (yn_test): Likewise.
40351         (significand_test): Likewise.
40353 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40355         [BZ #15381]
40356         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40358 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40360         [BZ #14894]
40361         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40362         __ppc_mdoio and __ppc_mdoom.
40363         * manual/platform.texi: Document new functions __ppc_yield,
40364         __ppc_mdoio and __ppc_mdoom.
40366 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40368         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40369         (main): Mention "tls" pseudo-hwcap is legacy.
40370         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40372 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40374         * math/gen-libm-test.pl (parse_args): Output only string of
40375         arguments as text for test name, not full call or descriptions of
40376         tests for extra outputs.
40377         (generate_testfile): Do not pass function name to parse_args.
40378         Generate this_func variable from START.
40379         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40380         field to arg_str.
40381         (struct test_ff_f_data): Likewise.
40382         (test_ff_f_data_nexttoward): Likewise.
40383         (struct test_fi_f_data): Likewise.
40384         (struct test_fl_f_data): Likewise.
40385         (struct test_if_f_data): Likewise.
40386         (struct test_fff_f_data): Likewise.
40387         (struct test_c_f_data): Likewise.
40388         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40389         (struct test_fF_f1_data): Likewise.
40390         (struct test_ffI_f1_data): Likewise.
40391         (struct test_c_c_data): Rename test_name field to arg_str.
40392         (struct test_cc_c_data): Likewise.
40393         (struct test_f_i_data): Likewise.
40394         (struct test_ff_i_data): Likewise.
40395         (struct test_f_l_data): Likewise.
40396         (struct test_f_L_data): Likewise.
40397         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40398         and extra2_name.
40399         (COMMON_TEST_SETUP): New macro.
40400         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40401         (COMMON_TEST_CLEANUP): Likewise.
40402         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40403         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40404         macros.
40405         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40406         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40407         macros.
40408         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40409         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40410         cleanup macros.
40411         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40412         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40413         macros.
40414         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40415         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40416         macros.
40417         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40418         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40419         cleanup macros.
40420         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40421         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40422         cleanup macros.
40423         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40424         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40425         cleanup macros.
40426         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40427         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40428         macros.
40429         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40430         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40431         macros.
40432         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40433         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40434         macros.
40435         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40436         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40437         cleanup macros.
40438         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40439         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40440         cleanup macros.
40441         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40442         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40443         macros.
40444         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40445         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40446         cleanup macros.
40447         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40448         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40449         macros.
40450         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40451         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40452         macros.
40453         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40454         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40455         cleanup macros.
40456         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40458 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40460         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40461         to _sifields.sigfault.
40462         (si_addr_lsb): Define new macro.
40463         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40464         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40465         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40467 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40469         [BZ #15441]
40470         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40471         returns -1.
40472         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40473         null return -1.
40474         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40475         loading the domain.
40477 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40479         * math/gen-libm-test.pl (parse_args): Do not include expected
40480         result in test name.
40481         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40482         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40483         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40484         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40485         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40488 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40490         * benchtests/Makefile: Sort function entries.
40492         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40493         tanh, asinh, acosh, atanh.
40494         * benchtests/acos-inputs: New file.
40495         * benchtests/acosh-inputs: New file.
40496         * benchtests/asin-inputs: New file.
40497         * benchtests/asinh-inputs: New file.
40498         * benchtests/atanh-inputs: New file.
40499         * benchtests/cosh-inputs: New file.
40500         * benchtests/log-inputs: New file.
40501         * benchtests/sinh-inputs: New file.
40502         * benchtests/tanh-inputs: New file.
40504 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40506         [BZ #15339]
40507         * posix/tst-getaddrinfo4.c: New test.
40508         * posix/Makefile (tests): Add it.
40510 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40512         [BZ #15339]
40513         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40514         when no services were used.
40515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40516         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40518 2013-05-21  Andreas Schwab  <schwab@suse.de>
40520         [BZ #15014]
40521         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40522         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40523         successful.
40524         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40525         redundant variable declarations and reallocation of buffer when
40526         parsing as IPv6 address.  Always set NSS status when called from
40527         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40528         buffer too small.  Correct computation of needed size.
40529         * nss/Makefile (tests): Add test-digits-dots.
40530         * nss/test-digits-dots.c: New test.
40532 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40534         * benchtests/Makefile: Remove instructions for adding
40535         benchmark tests.
40536         * benchtests/README: New file to explain how to execute and
40537         enhance the benchmark tests.
40539 2013-05-21  Andreas Schwab  <schwab@suse.de>
40541         [BZ #15493]
40542         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40543         * setjmp/tst-sigsetjmp.c: New test.
40545 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40547         * sysdeps/x86_64/memset.S (memset): New implementation.
40548         (__bzero): Likewise.
40549         (__memset_tail): New function.
40551 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40553         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40554         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40555         __memcpy_sse2_unaligned ifunc selection.
40556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40557         Add memcpy-sse2-unaligned.S.
40558         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40559         Add: __memcpy_sse2_unaligned.
40561 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40563         [BZ #15490]
40564         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40565         math_force_eval before restoring floating-point envrionment.
40566         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40567         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40568         Likewise.
40569         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40570         <math_private.h>.
40571         (__nearbyintl): Use math_force_eval before restoring
40572         floating-point environment.
40573         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40575         * math/gen-libm-test.pl (special_functions): Remove.
40576         (parse_args): Don't handle TEST_extra.  Handle functions with no
40577         return value.
40578         * math/libm-test.inc (struct test_sincos_data): Replace with
40579         struct test_fFF_11_data.
40580         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40581         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40582         (sincos_test_data): Change element type to struct
40583         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40584         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40585         RUN_TEST_LOOP_sincos.
40586         * math/README.libm-test: Don't mention special handling of
40587         individual functions.
40588         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40589         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40590         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40591         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40592         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40595         * math/gen-libm-test.pl (get_variable): Remove function.
40596         (parse_args): Don't show pointer parameters to call in test
40597         names.  Use "extra output N" in test names for extra outputs
40598         rather than naming variables.
40600 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40602         [BZ #15488]
40603         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40604         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40605         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40606         double tests.
40607         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40608         disable.
40609         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40610         check_long_double.
40612         * math/gen-libm-test.pl (@tests): Remove variable.
40613         ($count): Likewise.
40614         (new_test): Remove function.
40615         (show_exceptions): New function.
40616         (special_functions): Use show_exceptions instead of new_test.
40617         (parse_args): Likewise.
40618         (generate_testfile): Pass only function name in generated call to
40619         print_max_error or print_complex_max_error.
40620         (get_ulps): Do not handle complex tests specially.
40621         (output_test): Rename to ...
40622         (get_all_ulps_for_test): ... this.  Return a string rather than
40623         printing to a file.  Require ulps to be present.
40624         (output_ulps): Generate arrays rather than #defines.
40625         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40626         (struct ulp_data): New type.
40627         (BUILD_COMPLEX_ULP): Remove macro.
40628         (compare_ulp_data): New function.
40629         (find_ulps): Likewise.
40630         (find_test_ulps): Likewise.
40631         (find_function_ulps): Likewise.
40632         (find_complex_function_ulps): Likewise.
40633         (print_max_error): Determine allowed ulps using
40634         find_function_ulps.
40635         (print_complex_max_error): Determine allowed ulps using
40636         find_complex_function_ulps.
40637         (check_float_internal): Determine max ulps using find_test_ulps.
40638         (check_float): Do not take max_ulp parameter.  Update call to
40639         check_float_internal.
40640         (check_complex): Likewise.
40641         (check_int): Do not take max_ulp parameter.
40642         (check_long): Likewise.
40643         (check_bool): Likewise.
40644         (check_longlong): Likewise.
40645         (struct test_f_f_data): Remove max_ulp field.
40646         (struct test_ff_f_data): Likewise.
40647         (struct test_ff_f_data_nexttoward): Likewise.
40648         (struct test_fi_f_data): Likewise.
40649         (struct test_fl_f_data): Likewise.
40650         (struct test_if_f_data): Likewise.
40651         (struct test_fff_f_data): Likewise.
40652         (struct test_c_f_data): Likewise.
40653         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40654         (struct test_fF_f1_data): Likewise.
40655         (struct test_ffI_f1_data): Likewise.
40656         (struct test_c_c_data): Remove max_ulp field.
40657         (struct test_cc_c_data): Likewise.
40658         (struct test_f_i_data): Likewise.
40659         (struct test_ff_i_data): Likewise.
40660         (struct test_f_l_data): Likewise.
40661         (struct test_f_L_data): Likewise.
40662         (struct test_sincos_data): Likewise.
40663         (RUN_TEST_f_f): Do not handle ulps.
40664         (RUN_TEST_LOOP_f_f): Likewise.
40665         (RUN_TEST_2_f): Likewise.
40666         (RUN_TEST_LOOP_2_f): Likewise.
40667         (RUN_TEST_fff_f): Likewise.
40668         (RUN_TEST_LOOP_fff_f): Likewise.
40669         (RUN_TEST_c_f): Likewise.
40670         (RUN_TEST_LOOP_c_f): Likewise.
40671         (RUN_TEST_f_f1): Likewise.
40672         (RUN_TEST_LOOP_f_f1): Likewise.
40673         (RUN_TEST_fF_f1): Likewise.
40674         (RUN_TEST_LOOP_fF_f1): Likewise.
40675         (RUN_TEST_fI_f1): Likewise.
40676         (RUN_TEST_LOOP_fI_f1): Likewise.
40677         (RUN_TEST_ffI_f1): Likewise.
40678         (RUN_TEST_LOOP_ffI_f1): Likewise.
40679         (RUN_TEST_c_c): Likewise.
40680         (RUN_TEST_LOOP_c_c): Likewise.
40681         (RUN_TEST_cc_c): Likewise.
40682         (RUN_TEST_LOOP_cc_c): Likewise.
40683         (RUN_TEST_f_i): Likewise.
40684         (RUN_TEST_LOOP_f_i): Likewise.
40685         (RUN_TEST_f_i_tg): Likewise.
40686         (RUN_TEST_LOOP_f_i_tg): Likewise.
40687         (RUN_TEST_ff_i_tg): Likewise.
40688         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40689         (RUN_TEST_f_b): Likewise.
40690         (RUN_TEST_LOOP_f_b): Likewise.
40691         (RUN_TEST_f_b_tg): Likewise.
40692         (RUN_TEST_LOOP_f_b_tg): Likewise.
40693         (RUN_TEST_f_l): Likewise.
40694         (RUN_TEST_LOOP_f_l): Likewise.
40695         (RUN_TEST_f_L): Likewise.
40696         (RUN_TEST_LOOP_f_L): Likewise.
40697         (RUN_TEST_sincos): Likewise.
40698         (RUN_TEST_LOOP_sincos): Likewise.
40700 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40702         [BZ #15480]
40703         [BZ #15485]
40704         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40705         main case of finite arguments, set rounding mode to FE_TONEAREST
40706         and discard exceptions.
40707         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40708         exceptions.
40709         (remainder_tonearest_test_data): New variable.
40710         (remainder_test_tonearest): New function.
40711         (remainder_towardzero_test_data): New variable.
40712         (remainder_test_towardzero): New function.
40713         (remainder_downward_test_data): New variable.
40714         (remainder_test_downward): New function.
40715         (remainder_upward_test_data): New variable.
40716         (remainder_test_upward): New function.
40717         (main): Call the new test functions.
40719         * math/libm-test.inc (struct test_f_f1_data): Remove field
40720         extra_init.
40721         (struct test_fF_f1_data): Likewise.
40722         (struct test_ffI_f1_data): Likewise.
40723         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40724         based on value of EXTRA_EXPECTED.
40725         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40726         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40727         EXTRA_VAR based on value of EXTRA_EXPECTED.
40728         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40729         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40730         EXTRA_VAR based on value of EXTRA_EXPECTED.
40731         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40732         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40733         EXTRA_VAR based on value of EXTRA_EXPECTED.
40734         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40735         * math/gen-libm-test.pl (parse_args): Don't output initializers
40736         for extra output values.
40738         * math/libm-test.inc (check_int): Expect result to be exactly
40739         equal to expected value and do not handle ulps.
40740         (check_long): Likewise.
40741         (check_longlong): Likewise.
40743         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40744         exceptions.
40745         (cimag_test_data): Likewise.
40746         (conj_test_data): Likewise.
40747         (copysign_test_data): Likewise.
40748         (cproj_test_data): Likewise.
40749         (creal_test_data): Likewise.
40750         (fabs_test_data): Likewise.
40751         (fdim_test_data): Likewise.
40752         (finite_test_data): Likewise.
40753         (floor_test_data): Likewise.
40754         (fmax_test_data): Likewise.
40755         (fmin_test_data): Likewise.
40756         (fmod_test_data): Likewise.
40757         (fpclassify_test_data): Likewise.
40758         (frexp_test_data): Likewise.
40759         (ilogb_test_data): Likewise.
40760         (isfinite_test_data): Likewise.
40761         (isgreater_test_data): Likewise.
40762         (isgreaterequal_test_data): Likewise.
40763         (isinf_test_data): Likewise.
40764         (isless_test_data): Likewise.
40765         (islessequal_test_data): Likewise.
40766         (islessgreater_test_data): Likewise.
40767         (isnan_test_data): Likewise.
40768         (isnormal_test_data): Likewise.
40769         (issignaling_test_data): Likewise.
40770         (isunordered_test_data): Likewise.
40771         (ldexp_test_data): Likewise.
40772         (lrint_test_data): Likewise.
40773         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40774         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40775         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40776         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40777         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40778         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40779         test input.
40780         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40781         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40782         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40783         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40784         that test input.
40785         (lrint_downward_test_data): Test for "inexact" exceptions.
40786         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40787         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40788         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40789         test input.
40790         (lrint_upward_test_data): Test for "inexact" exceptions.
40791         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40792         test input.
40793         (llrint_test_data): Test for "inexact" exceptions.
40794         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40795         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40796         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40797         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40798         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40799         (llrint_downward_test_data): Test for "inexact" exceptions.
40800         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40801         (llrint_upward_test_data): Test for "inexact" exceptions.
40802         (logb_test_data): Likewise.
40803         (logb_downward_test_data): Likewise.
40804         (nextafter_test_data): Likewise.
40805         (nexttoward_test_data): Likewise.
40806         (remainder_test_data): Likewise.
40807         (remquo_test_data): Likewise.
40808         (scalbn_test_data): Likewise.
40809         (scalbln_test_data): Likewise.
40810         (signbit_test_data): Likewise.
40811         (sqrt_test_data): Likewise.
40812         (significand_test_data): Likewise.
40814 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40816         [BZ #15424]
40817         * benchtests/bench-modf.c (struct args): Mark arg0 as
40818         volatile.
40819         * scripts/bench.pl: Mark members of struct args as volatile.
40821 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40823         [BZ # 15497]
40824         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40825         negative infinity on POWER6 or lower.
40826         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40828 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40830         [BZ #15442]
40831         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40832         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40833         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40834         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40835         (_FP_SETQNAN): New macro.
40836         (_FP_SETQNAN_SEMIRAW): Likewise.
40837         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40838         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40839         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40840         (FP_EXTEND): Use _FP_FRAC_SNANP.
40841         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40842         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40843         into account.
40844         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40845         New macro.
40846         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40847         Likewise.
40849 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40851         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40852         with DIVIDE_BY_ZERO_EXCEPTION.
40853         (gamma_test_data): Likewise.
40854         (lgamma_test_data): Likewise.
40855         (log_test_data): Likewise.
40856         (log10_test_data): Likewise.
40857         (log2_test_data): Likewise.
40858         (tgamma_test_data): Likewise.
40860         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40861         (acos_test_tonearest): Likewise.
40862         (acos_test_towardzero): Likewise.
40863         (acos_test_downward): Likewise.
40864         (acos_test_upward): Likewise.
40865         (acosh_test): Likewise.
40866         (asin_test): Likewise.
40867         (asin_test_tonearest): Likewise.
40868         (asin_test_towardzero): Likewise.
40869         (asin_test_downward): Likewise.
40870         (asin_test_upward): Likewise.
40871         (asinh_test): Likewise.
40872         (atan_test): Likewise.
40873         (atanh_test): Likewise.
40874         (atan2_test): Likewise.
40875         (cabs_test): Likewise.
40876         (cacos_test): Likewise.
40877         (cacosh_test): Likewise.
40878         (casin_test): Likewise.
40879         (casinh_test): Likewise.
40880         (catan_test): Likewise.
40881         (catanh_test): Likewise.
40882         (cbrt_test): Likewise.
40883         (ccos_test): Likewise.
40884         (ccosh_test): Likewise.
40885         (cexp_test): Likewise.
40886         (clog_test): Likewise.
40887         (clog10_test): Likewise.
40888         (cos_test): Likewise.
40889         (cos_test_tonearest): Likewise.
40890         (cos_test_towardzero): Likewise.
40891         (cos_test_downward): Likewise.
40892         (cos_test_upward): Likewise.
40893         (cosh_test): Likewise.
40894         (cosh_test_tonearest): Likewise.
40895         (cosh_test_towardzero): Likewise.
40896         (cosh_test_downward): Likewise.
40897         (cosh_test_upward): Likewise.
40898         (cpow_test): Likewise.
40899         (csin_test): Likewise.
40900         (csinh_test): Likewise.
40901         (csqrt_test): Likewise.
40902         (ctan_test): Likewise.
40903         (ctan_test_tonearest): Likewise.
40904         (ctan_test_towardzero): Likewise.
40905         (ctan_test_downward): Likewise.
40906         (ctan_test_upward): Likewise.
40907         (ctanh_test): Likewise.
40908         (ctanh_test_tonearest): Likewise.
40909         (ctanh_test_towardzero): Likewise.
40910         (ctanh_test_downward): Likewise.
40911         (ctanh_test_upward): Likewise.
40912         (erf_test): Likewise.
40913         (erfc_test): Likewise.
40914         (exp_test): Likewise.
40915         (exp_test_tonearest): Likewise.
40916         (exp_test_towardzero): Likewise.
40917         (exp_test_downward): Likewise.
40918         (exp_test_upward): Likewise.
40919         (exp10_test): Likewise.
40920         (exp2_test): Likewise.
40921         (expm1_test): Likewise.
40922         (fmod_test): Likewise.
40923         (gamma_test): Likewise.
40924         (hypot_test): Likewise.
40925         (j0_test): Likewise.
40926         (j1_test): Likewise.
40927         (jn_test): Likewise.
40928         (lgamma_test): Likewise.
40929         (log_test): Likewise.
40930         (log10_test): Likewise.
40931         (log1p_test): Likewise.
40932         (log2_test): Likewise.
40933         (logb_test_downward): Likewise.
40934         (pow_test): Likewise.
40935         (pow_test_tonearest): Likewise.
40936         (pow_test_towardzero): Likewise.
40937         (pow_test_downward): Likewise.
40938         (pow_test_upward): Likewise.
40939         (remainder_test): Likewise.
40940         (remquo_test): Likewise.
40941         (sin_test): Likewise.
40942         (sin_test_tonearest): Likewise.
40943         (sin_test_towardzero): Likewise.
40944         (sin_test_downward): Likewise.
40945         (sin_test_upward): Likewise.
40946         (sincos_test): Likewise.
40947         (sinh_test): Likewise.
40948         (sinh_test_tonearest): Likewise.
40949         (sinh_test_towardzero): Likewise.
40950         (sinh_test_downward): Likewise.
40951         (sinh_test_upward): Likewise.
40952         (sqrt_test): Likewise.
40953         (tan_test): Likewise.
40954         (tan_test_tonearest): Likewise.
40955         (tan_test_towardzero): Likewise.
40956         (tan_test_downward): Likewise.
40957         (tan_test_upward): Likewise.
40958         (tanh_test): Likewise.
40959         (tgamma_test): Likewise.
40960         (y0_test): Likewise.
40961         (y1_test): Likewise.
40962         (yn_test): Likewise.
40964         * math/gen-libm-test.pl (adjust_arg): Remove function.
40965         (special_function): Remove argument $in_func.  Only handle
40966         generating output for tables of tests, not inside functions.
40967         (parse_args): Likewise.
40968         (generate_testfile): Remove variable $in_func.  Update call to
40969         parse_args.
40970         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
40971         (MINUS_ZERO_INIT): Rename macro to minus_zero.
40972         (PLUS_INFTY_INIT): Rename macro to plus_infty.
40973         (MINUS_INFTY_INIT): Rename macro to minus_infty.
40974         (QNAN_VALUE_INIT): Rename macro to qnan_value.
40975         (MAX_VALUE_INIT): Rename macro to max_value.
40976         (MIN_VALUE_INIT): Rename macro to min_value.
40977         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
40978         (plus_zero): Remove variable.
40979         (minus_zero): Likewise.
40980         (plus_infty): Likewise.
40981         (minus_infty): Likewise.
40982         (qnan_value): Likewise.
40983         (max_value): Likewise.
40984         (min_value): Likewise.
40985         (min_subnorm_value): Likewise.
40987 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40989         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
40990         uint64_t or uint32_t usage.
40991         * crypt/sha256-block.c: Likewise.
40992         * crypt/sha256-crypt.c: Likewise.
40993         * crypt/sha256.c: Likewise.
40994         * crypt/sha512-block.c: Likewise.
40995         * crypt/sha512-crypt.c: Likewise.
40996         * crypt/sha512.c: Likewise.
40997         * debug/backtrace-tst.c: Likewise.
40998         * debug/pcprofiledump.c: Likewise.
40999         * elf/cache.c: Likewise.
41000         * elf/dl-cache.c: Likewise.
41001         * elf/dl-misc.c: Likewise.
41002         * elf/dl-profile.c: Likewise.
41003         * elf/dl-support.c: Likewise.
41004         * elf/ldconfig.c: Likewise.
41005         * elf/sprof.c: Likewise.
41006         * iconv/dummy-repertoire.c: Likewise.
41007         * iconv/iconv_charmap.c: Likewise.
41008         * iconv/skeleton.c: Likewise.
41009         * iconvdata/8bit-generic.c: Likewise.
41010         * iconvdata/cp737.h: Likewise.
41011         * iconvdata/cp775.h: Likewise.
41012         * iconvdata/ibm1008.h: Likewise.
41013         * iconvdata/ibm1025.h: Likewise.
41014         * iconvdata/ibm1046.h: Likewise.
41015         * iconvdata/ibm1097.h: Likewise.
41016         * iconvdata/ibm1112.h: Likewise.
41017         * iconvdata/ibm1122.h: Likewise.
41018         * iconvdata/ibm1123.h: Likewise.
41019         * iconvdata/ibm1124.h: Likewise.
41020         * iconvdata/ibm1129.h: Likewise.
41021         * iconvdata/ibm1130.h: Likewise.
41022         * iconvdata/ibm1132.h: Likewise.
41023         * iconvdata/ibm1133.h: Likewise.
41024         * iconvdata/ibm1137.h: Likewise.
41025         * iconvdata/ibm1140.h: Likewise.
41026         * iconvdata/ibm1141.h: Likewise.
41027         * iconvdata/ibm1142.h: Likewise.
41028         * iconvdata/ibm1143.h: Likewise.
41029         * iconvdata/ibm1144.h: Likewise.
41030         * iconvdata/ibm1145.h: Likewise.
41031         * iconvdata/ibm1146.h: Likewise.
41032         * iconvdata/ibm1147.h: Likewise.
41033         * iconvdata/ibm1148.h: Likewise.
41034         * iconvdata/ibm1149.h: Likewise.
41035         * iconvdata/ibm1153.h: Likewise.
41036         * iconvdata/ibm1154.h: Likewise.
41037         * iconvdata/ibm1155.h: Likewise.
41038         * iconvdata/ibm1156.h: Likewise.
41039         * iconvdata/ibm1157.h: Likewise.
41040         * iconvdata/ibm1158.h: Likewise.
41041         * iconvdata/ibm1160.h: Likewise.
41042         * iconvdata/ibm1161.h: Likewise.
41043         * iconvdata/ibm1162.h: Likewise.
41044         * iconvdata/ibm1163.h: Likewise.
41045         * iconvdata/ibm1164.h: Likewise.
41046         * iconvdata/ibm1166.h: Likewise.
41047         * iconvdata/ibm1167.h: Likewise.
41048         * iconvdata/ibm12712.h: Likewise.
41049         * iconvdata/ibm1390.h: Likewise.
41050         * iconvdata/ibm1399.h: Likewise.
41051         * iconvdata/ibm16804.h: Likewise.
41052         * iconvdata/ibm4517.h: Likewise.
41053         * iconvdata/ibm4899.h: Likewise.
41054         * iconvdata/ibm4909.h: Likewise.
41055         * iconvdata/ibm4971.h: Likewise.
41056         * iconvdata/ibm5347.h: Likewise.
41057         * iconvdata/ibm803.h: Likewise.
41058         * iconvdata/ibm856.h: Likewise.
41059         * iconvdata/ibm901.h: Likewise.
41060         * iconvdata/ibm902.h: Likewise.
41061         * iconvdata/ibm9030.h: Likewise.
41062         * iconvdata/ibm9066.h: Likewise.
41063         * iconvdata/ibm921.h: Likewise.
41064         * iconvdata/ibm922.h: Likewise.
41065         * iconvdata/ibm9448.h: Likewise.
41066         * iconvdata/isiri-3342.h: Likewise.
41067         * iconvdata/jis0201.h: Likewise.
41068         * include/link.h: Likewise.
41069         * include/netdb.h: Likewise.
41070         * inet/check_native.c: Likewise.
41071         * inet/check_pf.c: Likewise.
41072         * inet/getipv4sourcefilter.c: Likewise.
41073         * inet/getnameinfo.c: Likewise.
41074         * inet/getsourcefilter.c: Likewise.
41075         * inet/htonl.c: Likewise.
41076         * inet/setipv4sourcefilter.c: Likewise.
41077         * inet/setsourcefilter.c: Likewise.
41078         * inet/test-inet6_opt.c: Likewise.
41079         * inet/tst-network.c: Likewise.
41080         * locale/C-collate.c: Likewise.
41081         * locale/C-ctype.c: Likewise.
41082         * locale/C-time.c: Likewise.
41083         * locale/C-translit.h: Likewise.
41084         * locale/loadarchive.c: Likewise.
41085         * locale/programs/3level.h: Likewise.
41086         * locale/programs/charmap.c: Likewise.
41087         * locale/programs/charmap.h: Likewise.
41088         * locale/programs/ld-address.c: Likewise.
41089         * locale/programs/ld-collate.c: Likewise.
41090         * locale/programs/ld-ctype.c: Likewise.
41091         * locale/programs/ld-identification.c: Likewise.
41092         * locale/programs/ld-measurement.c: Likewise.
41093         * locale/programs/ld-messages.c: Likewise.
41094         * locale/programs/ld-monetary.c: Likewise.
41095         * locale/programs/ld-name.c: Likewise.
41096         * locale/programs/ld-numeric.c: Likewise.
41097         * locale/programs/ld-paper.c: Likewise.
41098         * locale/programs/ld-telephone.c: Likewise.
41099         * locale/programs/ld-time.c: Likewise.
41100         * locale/programs/linereader.c: Likewise.
41101         * locale/programs/locale.c: Likewise.
41102         * locale/programs/locarchive.c: Likewise.
41103         * locale/programs/locfile.h: Likewise.
41104         * locale/programs/repertoire.c: Likewise.
41105         * locale/programs/simple-hash.c: Likewise.
41106         * locale/programs/simple-hash.h: Likewise.
41107         * malloc/memusage.c: Likewise.
41108         * malloc/memusagestat.c: Likewise.
41109         * nis/nis_defaults.c: Likewise.
41110         * nis/nis_hash.c: Likewise.
41111         * nis/nis_print.c: Likewise.
41112         * nis/nis_xdr.c: Likewise.
41113         * nscd/connections.c: Likewise.
41114         * nscd/hstcache.c: Likewise.
41115         * nscd/nscd_gethst_r.c: Likewise.
41116         * nscd/nscd_getserv_r.c: Likewise.
41117         * nscd/nscd_helper.c: Likewise.
41118         * nscd/servicescache.c: Likewise.
41119         * nss/makedb.c: Likewise.
41120         * nss/nss_db/db-XXX.c: Likewise.
41121         * nss/nss_db/db-initgroups.c: Likewise.
41122         * nss/nss_db/db-netgrp.c: Likewise.
41123         * nss/nss_files/files-network.c: Likewise.
41124         * nss/nss_files/files-parse.c: Likewise.
41125         * posix/bug-regex5.c: Likewise.
41126         * posix/fnmatch_loop.c: Likewise.
41127         * posix/regcomp.c: Likewise.
41128         * posix/regexec.c: Likewise.
41129         * posix/tst-rfc3484-2.c: Likewise.
41130         * posix/tst-rfc3484-3.c: Likewise.
41131         * posix/tst-rfc3484.c: Likewise.
41132         * resolv/nss_dns/dns-canon.c: Likewise.
41133         * resolv/nss_dns/dns-network.c: Likewise.
41134         * resolv/res_init.c: Likewise.
41135         * resolv/res_mkquery.c: Likewise.
41136         * resolv/tst-aton.c: Likewise.
41137         * stdlib/cxa_atexit.c: Likewise.
41138         * stdlib/cxa_finalize.c: Likewise.
41139         * stdlib/gen-fpioconst.c: Likewise.
41140         * stdlib/strtol_l.c: Likewise.
41141         * string/tst-endian.c: Likewise.
41142         * sunrpc/auth_des.c: Likewise.
41143         * sunrpc/clnt_udp.c: Likewise.
41144         * sunrpc/rtime.c: Likewise.
41145         * sunrpc/svcauth_des.c: Likewise.
41146         * sunrpc/xdr.c: Likewise.
41147         * sunrpc/xdr_intXX_t.c: Likewise.
41148         * sunrpc/xdr_rec.c: Likewise.
41149         * sysdeps/generic/ldconfig.h: Likewise.
41150         * sysdeps/generic/ldsodefs.h: Likewise.
41151         * sysdeps/generic/memusage.h: Likewise.
41152         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41153         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41154         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41155         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41156         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41157         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41158         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41159         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41160         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41162         * sysdeps/posix/getaddrinfo.c: Likewise.
41163         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41164         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41165         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41166         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41167         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41168         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41169         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41170         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41171         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41172         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41173         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41174         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41175         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41176         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41177         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41178         * sysdeps/x86_64/dl-tls.h: Likewise.
41179         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41180         * time/alt_digit.c: Likewise.
41181         * time/era.c: Likewise.
41182         * wcsmbs/tst-c16c32-1.c: Likewise.
41184 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41186         * math/libm-test.inc (struct test_sincos_data): New type.
41187         (RUN_TEST_LOOP_sincos): New macro.
41188         (sincos_test_data): New variable.
41189         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41191 2013-05-16  Richard Henderson  <rth@redhat.com>
41193         * math/atest-exp2.c (LIMB64): New macro.
41194         (CONSTSZ): New macro.
41195         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41196         (hexdig): Move ...
41197         (print_mpn_fp): ... to function scope.
41198         (read_mpn_hex): Remove.
41199         (get_log2): Remove.
41200         (exp2_mpn): Use mp_log2.
41201         (main): Use mp_exp1.
41203 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41205         * math/libm-test.inc: Remove comment about not testing "inexact"
41206         exceptions.
41207         (INEXACT_EXCEPTION): New macro.
41208         (NO_INEXACT_EXCEPTION): Likewise.
41209         (INVALID_EXCEPTION_OK): Update value.
41210         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41211         (OVERFLOW_EXCEPTION_OK): Likewise.
41212         (UNDERFLOW_EXCEPTION_OK): Likewise.
41213         (IGNORE_ZERO_INF_SIGN): Likewise.
41214         (ERRNO_UNCHANGED): Likewise.
41215         (ERRNO_EDOM): Likewise.
41216         (ERRNO_ERANGE): Likewise.
41217         (test_exceptions): Handle testing "inexact" exceptions.
41218         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41219         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41220         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41221         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41222         INEXACT_EXCEPTION.
41223         (rint_towardzero_test_data): Likewise.
41224         (rint_downward_test_data): Likewise.
41225         (rint_upward_test_data): Likewise.
41227         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41228         with OVERFLOW_EXCEPTION.
41229         (exp10_test_data): Likewise.
41230         (exp2_test_data): Likewise.
41231         (expm1_test_data): Likewise.
41232         (lgamma_test_data): Likewise.
41233         (pow_test_data): Likewise.
41234         (tgamma_test_data): Likewise.
41235         (yn_test_data): Remove duplicate test of overflow.
41237         * math/libm-test.inc (struct test_cc_c_data): New type.
41238         (RUN_TEST_LOOP_cc_c): New macro.
41239         (cpow_test_data): New variable.
41240         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41242         * math/libm-test.inc (struct test_f_L_data): New type.
41243         (RUN_TEST_LOOP_f_L): New macro.
41244         (llrint_test_data): New variable.
41245         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41246         (llrint_tonearest_test_data): New variable.
41247         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41248         (llrint_towardzero_test_data): New variable.
41249         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41250         (llrint_downward_test_data): New variable.
41251         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41252         (llrint_upward_test_data): New variable.
41253         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41254         (llround_test_data): New variable.
41255         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41257 2013-05-13  Peter Collingbourne  <pcc@google.com>
41259         * math/atest-exp2.c (get_log2): Remove const attribute.
41261 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41263         * math/libm-test.inc (struct test_f_l_data): New type.
41264         (RUN_TEST_LOOP_f_l): New macro.
41265         (lrint_test_data): New variable.
41266         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41267         (lrint_tonearest_test_data): New variable.
41268         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41269         (lrint_towardzero_test_data): New variable.
41270         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41271         (lrint_downward_test_data): New variable.
41272         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41273         (lrint_upward_test_data): New variable.
41274         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41275         (lround_test_data): New variable.
41276         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41278 2013-05-15  Peter Collingbourne  <pcc@google.com>
41280         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41281         (EXTRACT_WORDS64) Use where appropriate.
41282         (INSERT_WORDS64) Likewise.
41284         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41285         constraints with x constraints.
41286         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41288         * malloc/obstack.c (_obstack_compat): Add initializer.
41290 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41292         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41293         si_trapno and add si_addr_lsb to _sifields.sigfault.
41294         (si_trapno): Remove macro.
41295         (si_addr_lsb): Define new macro.
41296         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41298 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41300         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41301         instead of TEST_f_l.
41302         (llrint_test_tonearest): Likewise.
41303         (llrint_test_towardzero): Likewise.
41304         (llrint_test_downward): Likewise.
41305         (llrint_test_upward): Likewise.
41306         (llround_test): Likewise.
41308         * math/libm-test.inc (struct test_f_i_data): Add comment.
41309         (RUN_TEST_LOOP_f_b): New macro.
41310         (RUN_TEST_LOOP_f_b_tg): Likewise.
41311         (finite_test_data): New variable.
41312         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41313         (isfinite_test_data): New variable.
41314         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41315         (isinf_test_data): New variable.
41316         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41317         (isnan_test_data): New variable.
41318         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41319         (isnormal_test_data): New variable.
41320         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41321         (issignaling_test_data): New variable.
41322         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41323         (signbit_test_data): New variable.
41324         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41326         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41327         with INVALID_EXCEPTION.
41328         (acosh_test_data): Likewise.
41329         (asin_test_data): Likewise.
41330         (atanh_test_data): Likewise.
41331         (fmod_test_data): Likewise.
41332         (log_test_data): Likewise.
41333         (log10_test_data): Likewise.
41334         (log2_test_data): Likewise.
41335         (pow_test_data): Likewise.
41336         (sqrt_test_data): Likewise.
41337         (y0_test_data): Likewise.
41338         (y1_test_data): Likewise.
41339         (yn_test_data): Likewise.
41341         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41342         function contents.
41344         * math/libm-test.inc (struct test_ff_i_data): New type.
41345         (RUN_TEST_LOOP_ff_i_tg): New macro.
41346         (isgreater_test_data): New variable.
41347         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41348         (isgreaterequal_test_data): New variable.
41349         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41350         (isless_test_data): New variable.
41351         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41352         (islessequal_test_data): New variable.
41353         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41354         (islessgreater_test_data): New variable.
41355         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41356         (isunordered_test_data): New variable.
41357         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41359 2013-05-14  David S. Miller  <davem@davemloft.net>
41361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41363 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41365         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41367         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41368         extra_test to int.
41369         (struct test_f_i_data): Change type of max_ulp to int.
41371         * math/libm-test.inc (test_ffI_f1_data): New type.
41372         (RUN_TEST_LOOP_ffI_f1): New macro.
41373         (remquo_test_data): New variable.
41374         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41376         * setjmp/tst-setjmp-fp.c: New file.
41377         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41378         (link-libm): New variable.
41379         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41381         * math/libm-test.inc (struct test_f_i_data): New type.
41382         (RUN_TEST_LOOP_f_i): New macro.
41383         (RUN_TEST_LOOP_f_i_tg): Likewise.
41384         (fpclassify_test_data): New variable.
41385         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41386         (ilogb_test_data): New variable.
41387         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41389         * math/libm-test.inc (scalbln_test): Correct function name in END
41390         call.
41392         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41393         (RUN_TEST_LOOP_fI_f1): New macro.
41394         (frexp_test_data): New variable.
41395         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41397         * math/libm-test.inc (struct test_fF_f1_data): New type.
41398         (RUN_TEST_LOOP_fF_f1): New macro.
41399         (modf_test_data): New variable.
41400         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41402         * math/libm-test.inc (struct test_f_f1_data): New type.
41403         (RUN_TEST_LOOP_f_f1): New macro.
41404         (gamma_test_data): New variable.
41405         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41406         (lgamma_test_data): New variable.
41407         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41409 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41411         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41412         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41413         (main): Comment "tls" pseudo-hwcap.
41415 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41417         * math/libm-test.inc (struct test_fl_f_data): New type.
41418         (RUN_TEST_LOOP_fl_f): New variable.
41419         (scalbln_test_data): New variable.
41420         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41422         * math/libm-test.inc (struct test_fi_f_data): New type.
41423         (RUN_TEST_LOOP_fi_f): New macro.
41424         (ldexp_test_data): New variable.
41425         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41426         (scalbn_test_data): New variable.
41427         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41429         * math/libm-test.inc (struct test_c_f_data): New type.
41430         (RUN_TEST_LOOP_c_f): New macro.
41431         (cabs_test_data): New variable.
41432         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41433         (carg_test_data): New variable.
41434         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41435         (cimag_test_data): New variable.
41436         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41437         (creal_test_data): New variable.
41438         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41440         * math/libm-test.inc (struct test_if_f_data): New type.
41441         (RUN_TEST_LOOP_if_f): New macro.
41442         (jn_test_data): New variable.
41443         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41444         (yn_test_data): New variable.
41445         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41447         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41449 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41451         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41452         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41454 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41456         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41457         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41458         (bench-deps): Add bench-timing.h.
41459         * benchtests-bench-skeleton.c: Include bench-timing.h.
41460         (main): Use TIMING_* macros instead of clock_gettime.
41461         * benchtests/bench-timing.h: New file.
41463         [BZ #14582]
41464         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41465         Renamed from _LIB_VERSION.
41466         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41468 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41470         * math/libm-test.inc (struct test_fff_f_data): New type.
41471         (RUN_TEST_LOOP_fff_f): New macro.
41472         (fma_test_data): New variable.
41473         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41474         (fma_towardzero_test_data): New variable.
41475         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41476         (fma_downward_test_data): New variable.
41477         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41478         (fma_upward_test_data): New variable.
41479         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41481         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41482         (struct test_c_c_data): New type.
41483         (RUN_TEST_LOOP_c_c): New macro.
41484         (cacos_test_data): New variable.
41485         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41486         (cacosh_test_data): New variable.
41487         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41488         (casin_test_data): New variable.
41489         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41490         (casinh_test_data): New variable.
41491         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41492         (catan_test_data): New variable.
41493         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41494         (catanh_test_data): New variable.
41495         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41496         (ccos_test_data): New variable.
41497         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41498         (ccosh_test_data): New variable.
41499         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41500         (cexp_test_data): New variable.
41501         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41502         (clog_test_data): New variable.
41503         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41504         (clog10_test_data): New variable.
41505         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41506         (conj_test_data): New variable.
41507         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41508         (cproj_test_data): New variable.
41509         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41510         (csin_test_data): New variable.
41511         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41512         (csinh_test_data): New variable.
41513         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41514         (csqrt_test_data): New variable.
41515         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41516         (ctan_test_data): New variable.
41517         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41518         (ctan_tonearest_test_data): New variable.
41519         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41520         (ctan_towardzero_test_data): New variable.
41521         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41522         (ctan_downward_test_data): New variable.
41523         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41524         (ctan_upward_test_data): New variable.
41525         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41526         (ctanh_test_data): New variable.
41527         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41528         (ctanh_tonearest_test_data): New variable.
41529         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41530         (ctanh_towardzero_test_data): New variable.
41531         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41532         (ctanh_downward_test_data): New variable.
41533         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41534         (ctanh_upward_test_data): New variable.
41535         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41536         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41537         of BUILD_COMPLEX.
41539         * math/libm-test.inc (struct test_ff_f_data): New type.
41540         (struct test_ff_f_data_nexttoward): Likewise.
41541         (RUN_TEST_LOOP_2_f): New macro.
41542         (RUN_TEST_LOOP_ff_f): Likewise.
41543         (atan2_test_data): New variable.
41544         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41545         (copysign_test_data): New variable.
41546         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41547         (fdim_test_data): New variable.
41548         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41549         (fmax_test_data): New variable.
41550         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41551         (fmin_test_data): New variable.
41552         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41553         (fmod_test_data): New variable.
41554         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41555         (hypot_test_data): New variable.
41556         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41557         (nextafter_test_data): New variable.
41558         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41559         (nexttoward_test_data): New variable.
41560         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41561         (pow_test_data): New variable.
41562         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41563         (pow_tonearest_test_data): New variable.
41564         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41565         (pow_towardzero_test_data): New variable.
41566         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41567         (pow_downward_test_data): New variable.
41568         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41569         (pow_upward_test_data): New variable.
41570         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41571         (remainder_test_data): New variable.
41572         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41573         (scalb_test_data): New variable.
41574         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41575         * sysdeps/i386/fpu/libm-test-ulps: Update.
41577 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41579         * math/libm-test.inc (fma_test): Use max_value instead of local
41580         variable fltmax.
41581         (nextafter_test): Likewise.
41583         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41584         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41585         (acos_downward_test_data): New variable.
41586         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41587         (acos_upward_test_data): New variable.
41588         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41589         (acosh_test_data): New variable.
41590         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41591         (asin_test_data): New variable.
41592         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41593         (asin_tonearest_test_data): New variable.
41594         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41595         (asin_towardzero_test_data): New variable.
41596         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41597         (asin_downward_test_data): New variable.
41598         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41599         (asin_upward_test_data): New variable.
41600         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41601         (asinh_test_data): New variable.
41602         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41603         (atan_test_data): New variable.
41604         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41605         (atanh_test_data): New variable.
41606         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41607         (cbrt_test_data): New variable.
41608         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41609         (ceil_test_data): New variable.
41610         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41611         (cos_test_data): New variable.
41612         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41613         (cos_tonearest_test_data): New variable.
41614         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41615         (cos_towardzero_test_data): New variable.
41616         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41617         (cos_downward_test_data): New variable.
41618         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41619         (cos_upward_test_data): New variable.
41620         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41621         (cosh_test_data): New variable.
41622         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41623         (cosh_tonearest_test_data): New variable.
41624         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41625         (cosh_towardzero_test_data): New variable.
41626         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41627         (cosh_downward_test_data): New variable.
41628         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41629         (cosh_upward_test_data): New variable.
41630         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41631         (erf_test_data): New variable.
41632         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41633         (erfc_test_data): New variable.
41634         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41635         (exp_test_data): New variable.
41636         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41637         (exp_tonearest_test_data): New variable.
41638         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41639         (exp_towardzero_test_data): New variable.
41640         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41641         (exp_downward_test_data): New variable.
41642         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41643         (exp_upward_test_data): New variable.
41644         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41645         (exp10_test_data): New variable.
41646         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41647         (exp2_test_data): New variable.
41648         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41649         (expm1_test_data): New variable.
41650         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41651         (fabs_test_data): New variable.
41652         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41653         (floor_test_data): New variable.
41654         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41655         (j0_test_data): New variable.
41656         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41657         (j1_test_data): New variable.
41658         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41659         (log_test_data): New variable.
41660         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41661         (log10_test_data): New variable.
41662         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41663         (log1p_test_data): New variable.
41664         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41665         (log2_test_data): New variable.
41666         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41667         (logb_test_data): New variable.
41668         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41669         (logb_downward_test_data): New variable.
41670         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41671         (nearbyint_test_data): New variable.
41672         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41673         (rint_test_data): New variable.
41674         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41675         (rint_tonearest_test_data): New variable.
41676         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41677         (rint_towardzero_test_data): New variable.
41678         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41679         (rint_downward_test_data): New variable.
41680         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41681         (rint_upward_test_data): New variable.
41682         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41683         (round_test_data): New variable.
41684         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41685         (sin_test_data): New variable.
41686         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41687         (sin_tonearest_test_data): New variable.
41688         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41689         (sin_towardzero_test_data): New variable.
41690         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41691         (sin_downward_test_data): New variable.
41692         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41693         (sin_upward_test_data): New variable.
41694         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41695         (sinh_test_data): New variable.
41696         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41697         (sinh_tonearest_test_data): New variable.
41698         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41699         (sinh_towardzero_test_data): New variable.
41700         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41701         (sinh_downward_test_data): New variable.
41702         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41703         (sinh_upward_test_data): New variable.
41704         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41705         (sqrt_test_data): New variable.
41706         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41707         (tan_test_data): New variable.
41708         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41709         (tan_tonearest_test_data): New variable.
41710         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41711         (tan_towardzero_test_data): New variable.
41712         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41713         (tan_downward_test_data): New variable.
41714         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41715         (tan_upward_test_data): New variable.
41716         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41717         (tanh_test_data): New variable.
41718         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41719         (tgamma_test_data): New variable.
41720         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41721         (trunc_test_data): New variable.
41722         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41723         (y0_test_data): New variable.
41724         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41725         (y1_test_data): New variable.
41726         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41727         (significand_test_data): New variable.
41728         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41730 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41732         [BZ #12387]
41733         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41735 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41737         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41739 2013-05-10  Andreas Jaeger  <aj@suse.de>
41741         [BZ #15448]
41742         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41743         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41745 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41747         * math/gen-libm-test.pl (adjust_arg): New function.
41748         (special_functions): Handle generating output in both functions
41749         and arrays.
41750         (parse_args): Likewise.
41751         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41752         $in_func argument to parse_args.
41753         * math/libm-test.inc (struct test_f_f_data): New type.
41754         (IF_ROUND_INIT_): New macro.
41755         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41756         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41757         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41758         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41759         (ROUND_RESTORE_): Likewise.
41760         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41761         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41762         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41763         (ROUND_RESTORE_FE_UPWARD): Likewise.
41764         (RUN_TEST_LOOP_f_f): New macro.
41765         (acos_test_data): New variable.
41766         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41767         (acos_tonearest_test_data): New variable.
41768         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41770 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41772         * benchtests/bench-skeleton.c (startup): Fix coding style.
41774 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41776         [BZ #6809]
41777         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41778         negative infinity argument.
41779         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41780         negative infinity argument.
41781         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41782         negative infinity argument.
41783         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41784         domain errors.
41786 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41788         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41789         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41790         * iconv/iconv_prog.c (main): Likewise.
41791         * locale/programs/charmap-dir.c (charmap_readdir)
41792         (fopen_uncompressed): Likewise.
41793         * locale/programs/locfile.c (siblings_uncached)
41794         (write_locale_data): Use lstat64 instead of lstat.
41795         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41796         stat.
41798 2013-05-10  Andreas Jaeger  <aj@suse.de>
41800         [BZ #15395]
41801         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41802         localization.
41803         Include <locale.h>.
41805 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41807         * elf/dl-close.c (_dl_close_worker): Add comments.
41809 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41811         [BZ #15359]
41812         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41813         high part of pi/2.
41814         (__ieee754_rem_pio2l): Update comments.
41816         [BZ #15429]
41817         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41818         high part of pi/2.
41819         (__ieee754_rem_pio2l): Update comments.
41821         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41822         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41824         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41825         M_PI_4l.
41827         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41828         (M_PI_34_LOG10El): Likewise.
41829         (M_PI2_LOG10El): Likewise.
41830         (M_PI4_LOG10El): Likewise.
41831         (M_PI_LOG10El): Likewise.
41833 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41837 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41839         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41840         (MINUS_ZERO_INIT): Likewise.
41841         (PLUS_INFTY_INIT): Likewise.
41842         (MINUS_INFTY_INIT): Likewise.
41843         (QNAN_VALUE_INIT): Likewise.
41844         (MAX_VALUE_INIT): Likewise.
41845         (MIN_VALUE_INIT): Likewise.
41846         (MIN_SUBNORM_VALUE_INIT): Likewise.
41847         (plus_zero): Initialize with PLUS_ZERO_INIT.
41848         (minus_zero): Initialize with MINUS_ZERO_INIT.
41849         (plus_infty): Initialize with PLUS_INFTY_INIT.
41850         (minus_infty): Initialize with MINUS_INFTY_INIT.
41851         (qnan_value): Initialize with QNAN_VALUE_INIT.
41852         (max_value): Initialize with MAX_VALUE_INIT.
41853         (min_value): Initialize with MIN_VALUE_INIT.
41854         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41856         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41857         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41858         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41859         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41861         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41862         (RUN_TEST_2_f): Likewise.
41863         (RUN_TEST_ff_f): Likewise.
41864         (RUN_TEST_fi_f): Likewise.
41865         (RUN_TEST_fl_f): Likewise.
41866         (RUN_TEST_fff_f): Likewise.
41867         (RUN_TEST_c_f): Likewise.
41868         (RUN_TEST_f_f1): Likewise.
41869         (RUN_TEST_fF_f1): Likewise.
41870         (RUN_TEST_fI_f1): Likewise.
41871         (RUN_TEST_ffI_f1): Likewise.
41872         (RUN_TEST_c_c): Likewise.
41873         (RUN_TEST_cc_c): Likewise.
41874         (RUN_TEST_f_i): Likewise.
41875         (RUN_TEST_f_i_tg): Likewise.
41876         (RUN_TEST_ff_i_tg): Likewise.
41877         (RUN_TEST_f_b): Likewise.
41878         (RUN_TEST_f_b_tg): Likewise.
41879         (RUN_TEST_f_l): Likewise.
41880         (RUN_TEST_f_L): Likewise.
41881         (RUN_TEST_sincos): Likewise.
41882         * math/gen-libm-test.pl (new_test): Take new argument to indicate
41883         whether to show exceptions.  Do not include ");\n" in return
41884         value.
41885         (special_functions): Output call to RUN_TEST_sincos instead of
41886         check_float calls.  Update calls to new_test.
41887         (parse_args): Output call to single RUN_TEST_* macro instead of
41888         check_* calls and other assignments.  Update calls to new_test.
41890         [BZ #2546]
41891         [BZ #2560]
41892         [BZ #5159]
41893         [BZ #15426]
41894         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
41895         input to result for tgamma overflow.
41896         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
41897         (gamma_coeff): New variable.
41898         (NCOEFF): New macro.
41899         (gamma_positive): New function.
41900         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
41901         underflow here.  Use gamma_positive instead of exp (lgamma) for
41902         other arguments.
41903         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
41904         (gamma_coeff): New variable.
41905         (NCOEFF): New macro.
41906         (gammaf_positive): New function.
41907         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
41908         underflow here.  Use gamma_positive instead of exp (lgamma) for
41909         other arguments.
41910         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
41911         (gamma_coeff): New variable.
41912         (NCOEFF): New macro.
41913         (gammal_positive): New function.
41914         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
41915         underflow here.  Use gamma_positive instead of exp (lgamma) for
41916         other arguments.
41917         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
41918         (gamma_coeff): New variable.
41919         (NCOEFF): New macro.
41920         (gammal_positive): New function.
41921         (__ieee754_gammal_r): Handle positive infinity, overflow and
41922         underflow here.  Handle NaN the same as positive infinity.  Remove
41923         check x < 0xffffffff for negative integers.  Use gamma_positive
41924         instead of exp (lgamma) for other arguments.
41925         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
41926         (gamma_coeff): New variable.
41927         (NCOEFF): New macro.
41928         (gammal_positive): New function.
41929         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
41930         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
41931         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
41932         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
41933         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
41934         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
41935         * sysdeps/generic/math_private.h (__gamma_productf): New
41936         prototype.
41937         (__gamma_product): Likewise.
41938         (__gamma_productl): Likewise.
41939         * math/Makefile (libm-calls): Add gamma_product.
41940         * math/libm-test.inc (tgamma_test): Add more tests.
41941         * sysdeps/i386/fpu/libm-test-ulps: Update.
41942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41944 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
41946         * benchtests/bench-skeleton.c (main): Preheat CPU.
41948 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
41950         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
41952 2013-05-07  Roland McGrath  <roland@hack.frob.com>
41954         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
41955         and _dl_skip_args_internal.
41957 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
41959         * manual/message.texi (Message Translation): Talk about users.
41960         Message to key mapping impacts design.
41962 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41964         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
41966         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
41968         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
41969         * sysdeps/wordsize-64/glob64.c: ... here.
41971         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
41972         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
41973         New macros.
41975         * debug/getlogin_r_chk.c: Moved to ...
41976         * login/getlogin_r_chk.c: ... here.
41977         * debug/Makefile (routines): Move getlogin_r_chk to ...
41978         * login/Makefile (routines): ... here.
41979         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
41980         * login/Versions (libc: GLIBC_2.4): ... here.
41982         * io/poll.c (__poll): Renamed from poll.
41983         Add libc_hidden_def.
41984         (poll): Define as weak alias.
41986         * debug/ptsname_r_chk.c: Moved to ...
41987         * login/ptsname_r_chk.c: ... here.
41988         * debug/Makefile (routines): Move ptsname_r_chk to ...
41989         * login/Makefile (routines): ... here.
41990         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
41991         * login/Versions (libc: GLIBC_2.4): ... here.
41993         * posix/getlogin.c: Moved to ...
41994         * login/getlogin.c: ... here.
41995         * posix/getlogin_r.c: Moved to ...
41996         * login/getlogin_r.c: ... here.
41997         * posix/getlogin_r.c: Moved to ...
41998         * login/getlogin_r.c: ... here.
41999         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42000         * login/Makefile (routines): ... here.
42001         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42002         * login/Versions (libc: GLIBC_2.0): ... here.
42004         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42005         (setrlimit): Define as weak alias.
42007         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42008         Call __ names for open, ftruncate, and close.
42009         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42010         (truncate): Define as weak alias.
42012 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42014         * math/gen-libm-test.pl (parse_args): Initialize x before each
42015         test of frexp, modf and remquo.
42017         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42018         test signgam value.
42020 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42022         [BZ #15418]
42023         [BZ #15419]
42024         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42025         internal tests.
42026         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42028 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42030         * elf/dl-writev.h: New file.
42031         * elf/dl-misc.c: Include it.
42032         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42033         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42035 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42037         * math/libm-test.inc (noXFails): Remove variable.
42038         (noXPasses): Likewise.
42039         (BUILD_COMPLEX_INT): Remove macro.
42040         (print_screen): Remove xfail argument.
42041         (print_screen_max_error): Likewise.
42042         (update_stats): Likewise.
42043         (print_max_error): Likewise.  Update calls to other affected
42044         functions.
42045         (print_complex_max_error): Likewise.
42046         (test_single_exception): Update calls to print_screen.
42047         (test_single_errno): Likewise.
42048         (check_float_internal): Remove xfail argument.  Update calls to
42049         other affected functions.
42050         (check_float): Likewise.
42051         (check_complex): Likewise.
42052         (check_int): Likewise.
42053         (check_long): Likewise.
42054         (check_bool): Likewise.
42055         (check_longlong): Likewise.
42056         (main): Don't print noXFails and noXPasses.
42057         * math/gen-libm-test.pl (top level): Don't mention expected
42058         failure handling in comment.
42059         (new_test): Don't handle expected failures.
42060         (parse_args): Don't mention expected failure handling in comment.
42061         (generate_testfile): Don't handle expected failures.
42062         (parse_ulps): Likewise.
42063         (print_ulps_file): Likewise.
42064         (get_failure): Remove function.
42065         (output_test): Don't handle expected failures.
42066         * make/README.libm-test: Don't mention expected failure handling.
42068         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42069         (minus_zero): Likewise.
42070         (plus_infty): Likewise.
42071         (minus_infty): Likewise.
42072         (qnan_value): Likewise.
42073         (max_value): Likewise.
42074         (min_value): Likewise.
42075         (min_subnorm_value): Likewise.
42076         (initialize): Do not initialize those variables dynamically.
42078 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42080         * io/open.c (__open_2): Moved to ...
42081         * io/open_2.c: ... this new file.
42082         * io/open64.c (__open64_2): Moved to ...
42083         * io/open64_2.c: ... this new file.
42084         * io/openat.c (__openat_2): Moved to ...
42085         * io/openat_2.c: ... this new file.
42086         * io/openat64.c (__openat64_2): Moved to ...
42087         * io/openat64_2.c: ... this new file.
42088         * io/Makefile (routines): Add them.
42089         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42090         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42091         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42092         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42093         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42094         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42095         (__openat64): Add hidden_ver.
42096         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42097         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42099         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42100         Separately conditionalize setting of GLRO(dl_sysinfo) so
42101         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42102         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42104 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42106         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42107         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42108         definition.
42109         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42110         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42111         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42112         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42113         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42115 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42117         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42118         test signgam value.
42120         * math/libm-test.inc (hypot_test): Do not use
42121         IGNORE_ZERO_INF_SIGN.
42123 2013-05-03  Andreas Jaeger  <aj@suse.de>
42125         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42126         Linux 3.9.
42127         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42128         (PF_MAX): Adjust for VSOCK change.
42130 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42134 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42136         [BZ #15264]
42137         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42138         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42139         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42141 2013-05-02  David S. Miller  <davem@davemloft.net>
42143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42145 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42147         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42149 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42151         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42153 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42155         [BZ #14952]
42156         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42157         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42158         Use __attribute__ ((__gnu_inline__)).
42159         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42160         Don't use __attribute__ ((__gnu_inline__)).
42162 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42164         [BZ #15423]
42165         * math/s_catan.c (__catan): Handle small real or imaginary part of
42166         input specially to avoid spurious underflow.
42167         * math/s_catanf.c (__catanf): Likewise.
42168         * math/s_catanh.c (__catanh): Likewise.
42169         * math/s_catanhf.c (__catanhf): Likewise.
42170         * math/s_catanhl.c (__catanhl): Likewise.
42171         * math/s_catanl.c (__catanl): Likewise.
42172         * math/libm-test.inc (catan_test): Add more tests.
42173         (catanh_test): Likewise.
42174         * sysdeps/i386/fpu/libm-test-ulps: Update.
42175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42177 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42181 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42183         [BZ #15416]
42184         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42185         accurately for denominator in atan2.
42186         * math/s_catanf.c (__catanf): Likewise.
42187         * math/s_catanh.c (__catanh): Likewise.
42188         * math/s_catanhf.c (__catanhf): Likewise.
42189         * math/s_catanhl.c (__catanhl): Likewise.
42190         * math/s_catanl.c (__catanl): Likewise.
42191         * math/libm-test.inc (catan_test): Add more tests.
42192         (catanh_test): Likewise.
42193         * sysdeps/i386/fpu/libm-test-ulps: Update.
42194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42196 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42198         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42200         * benchtests/Makefile (bench): Remove slow benchmarks.
42201         * benchtests/atan-inputs: Add slow benchmark inputs.
42202         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42203         (BENCH_FUNC): Accept variant offset.
42204         (VARIANT): Define.
42205         * benchtests/bench-skeleton.c (main): Run benchmark for each
42206         variant.
42207         * benchtests/cos-inputs: Add slow benchmark inputs.
42208         * benchtests/exp-inputs: Likewise.
42209         * benchtests/pow-inputs: Likewise.
42210         * benchtests/sin-inputs: Likewise.
42211         * benchtests/slowatan-inputs: Remove.
42212         * benchtests/slowatan.c: Remove.
42213         * benchtests/slowcos-inputs: Remove.
42214         * benchtests/slowcos.c: Remove.
42215         * benchtests/slowexp-inputs: Remove.
42216         * benchtests/slowexp.c: Remove.
42217         * benchtests/slowpow-inputs: Remove.
42218         * benchtests/slowpow.c: Remove.
42219         * benchtests/slowsin-inputs: Remove.
42220         * benchtests/slowsin.c: Remove.
42221         * benchtests/slowtan-inputs: Remove.
42222         * benchtests/slowtan.c: Remove.
42223         * benchtests/tan-inputs: Add slow benchmark inputs.
42224         * scripts/bench.pl: Parse comments and directives.
42226         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42227         in CPPFLAGS.
42228         ($(objpfx)bench-%.c): Remove *-ITER.
42229         * benchtests/bench-modf.c: Remove definition of ITER.
42230         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42231         (main): Loop for DURATION seconds instead of fixed number of
42232         iterations.
42233         * scripts/bench.pl: Don't expect iterations in parameters.
42235 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42237         * io/fchdir.c (__fchdir): Renamed from fchdir.
42238         (fchdir): Define as weak alias.
42240 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42242         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42243         (ERRNO_EDOM): Likewise.
42244         (ERRNO_ERANGE): Likewise.
42245         (noErrnoTests): New variable.
42246         (init_max_error): Set errno to 0.
42247         (test_single_errno): New function.
42248         (test_errno): Likewise.
42249         (check_float_internal): Call test_errno.  Set errno to 0.
42250         (check_complex): Refer to errno tests in comment.
42251         (check_int): Call test_errno.  Set errno to 0.
42252         (check_long): Likewise.
42253         (check_bool): Likewise.
42254         (check_longlong): Likewise.
42255         (cos_test): Use ERRNO_* flags for errno tests instead of
42256         check_int.
42257         (expm1_test): Likewise.
42258         (fmod_test): Likewise.
42259         (ilogb_test): Likewise.
42260         (lgamma_test): Likewise.
42261         (pow_test): Likewise.
42262         (remainder_test): Likewise.
42263         (sin_test): Likewise.
42264         (tan_test): Likewise.
42265         (yn_test): Likewise.
42266         (initialize): Set errno to 0.
42267         (main): Print number of errno tests.
42268         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42270 2013-04-29  Andreas Jaeger  <aj@suse.de>
42272         [BZ #15084]
42273         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42274         and RES_USEVC.
42276         [BZ #15085]
42277         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42278         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42279         unimplemented.
42281         [BZ #15380]
42282         * stdlib/random.c (__initstate): Return NULL if
42283         __initstate fails.
42285         [BZ #15086]
42286         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42287         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42288         RES_SNGLKUPREOP.
42290 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42294 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42296         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42297         of individual tests.
42298         (casin_test): Likewise.
42299         (casinh_test): Likewise.
42301 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42303         [BZ #15409]
42304         * math/s_catan.c (__catan): Handle arguments with large real or
42305         imaginary part separately without squaring.
42306         * math/s_catanf.c (__catanf): Likewise.
42307         * math/s_catanh.c (__catanh): Likewise.
42308         * math/s_catanhf.c (__catanhf): Likewise.
42309         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42310         and redefine.
42311         (__catanhl): Handle arguments with large real or imaginary part
42312         separately without squaring.
42313         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42314         and redefine.
42315         (__catanl): Handle arguments with large real or imaginary part
42316         separately without squaring.
42317         * math/libm-test.inc (catan_test): Add more tests.
42318         (catanh_test): Likewise.
42319         * sysdeps/i386/fpu/libm-test-ulps: Update.
42320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42322 2013-04-27  Andreas Jaeger  <aj@suse.de>
42324         [BZ #15007]
42325         * stdlib/stdlib.h: Update guards for qecvt.
42326         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42327         <stdlib.h>.
42329 2013-04-27  Allan McRae  <allan@archlinux.org>
42331         * sysdeps/i386/fpu/libm-test-ulps: Update.
42333 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42335         [BZ #15406]
42336         * math/s_catan.c: Include <float.h>.
42337         (__catan): Ensure underflow exception occurs for underflowed
42338         result.
42339         * math/s_catanf.c: Include <float.h>.
42340         (__catanf): Ensure underflow exception occurs for underflowed
42341         result.
42342         * math/s_catanh.c: Include <float.h>.
42343         (__catanh): Ensure underflow exception occurs for underflowed
42344         result.
42345         * math/s_catanhf.c: Include <float.h>.
42346         (__catanhf): Ensure underflow exception occurs for underflowed
42347         result.
42348         * math/s_catanhl.c: Include <float.h>.
42349         (__catanhl): Ensure underflow exception occurs for underflowed
42350         result.
42351         * math/s_catanl.c: Include <float.h>.
42352         (__catanl): Ensure underflow exception occurs for underflowed
42353         result.
42354         * math/libm-test.inc (catan_test): Add more tests.
42355         (catanh_test): Likewise.
42357         [BZ #15405]
42358         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42359         underflowed result.
42360         * math/s_ccoshf.c (__ccoshf): Likewise.
42361         * math/s_ccoshl.c (__ccoshl): Likewise.
42362         * math/s_csin.c (__csin): Likewise.
42363         * math/s_csinf.c (__csinf): Likewise.
42364         * math/s_csinh.c (__csinh): Likewise.
42365         * math/s_csinhf.c (__csinhf): Likewise.
42366         * math/s_csinhl.c (__csinhl): Likewise.
42367         * math/s_csinl.c (__csinl): Likewise.
42368         * math/libm-test.inc (ccos_test): Add more tests.
42369         (ccosh_test): Likewise.
42370         (csin_test): Likewise.
42371         (csinh_test): Likewise.
42373 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42375         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42376         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42377         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42378         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42379         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42380         powerpc/power5+/fpu folders.
42381         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42384 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42388 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42390         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42391         additions to variable.
42392         [$(config-machine) = x86_64] (modules-names): Likewise.
42393         ($(objpfx)tst-audit3): Remove dependency.
42394         ($(objpfx)tst-audit3.out): Likewise.
42395         ($(objpfx)tst-audit4): Likewise.
42396         ($(objpfx)tst-audit4.out): Likewise.
42397         ($(objpfx)tst-audit5): Likewise.
42398         ($(objpfx)tst-audit5.out): Likewise.
42399         ($(objpfx)tst-audit6): Likewise.
42400         ($(objpfx)tst-audit6.out): Likewise.
42401         ($(objpfx)tst-audit7): Likewise.
42402         ($(objpfx)tst-audit7.out): Likewise.
42403         (tst-audit3-ENV): Remove variable.
42404         (tst-audit4-ENV): Likewise.
42405         (tst-audit5-ENV): Likewise.
42406         (tst-audit6-ENV): Likewise.
42407         (tst-audit7-ENV): Likewise.
42408         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42409         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42410         addition to variable.
42411         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42412         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42413         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42414         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42415         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42416         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42417         tst-audit3, tst-audit4 and tst-audit5.
42418         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42419         tst-audit6 and tst-audit7.
42420         [$(subdir) = elf] (modules-names): Add audit modules for those
42421         tests.
42422         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42423         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42424         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42425         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42426         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42427         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42428         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42429         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42430         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42431         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42432         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42433         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42434         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42435         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42436         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42437         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42438         Likewise.
42439         [$(subdir) = elf && $(config-cflags-avx) = yes]
42440         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42441         [$(subdir) = elf && $(config-cflags-avx) = yes]
42442         (CFLAGS-tst-auditmod4a.c): Likewise.
42443         [$(subdir) = elf && $(config-cflags-avx) = yes]
42444         (CFLAGS-tst-auditmod4b.c): Likewise.
42445         [$(subdir) = elf && $(config-cflags-avx) = yes]
42446         (CFLAGS-tst-auditmod6b.c): Likewise.
42447         [$(subdir) = elf && $(config-cflags-avx) = yes]
42448         (CFLAGS-tst-auditmod6c.c): Likewise.
42449         [$(subdir) = elf && $(config-cflags-avx) = yes]
42450         (CFLAGS-tst-auditmod7b.c): Likewise.
42451         * elf/tst-audit3.c: Move to ...
42452         * sysdeps/x86_64/tst-audit3.c: ... here.
42453         * elf/tst-audit4.c: Move to ...
42454         * sysdeps/x86_64/tst-audit4.c: ... here.
42455         * elf/tst-audit5.c: Move to ...
42456         * sysdeps/x86_64/tst-audit5.c: ... here.
42457         * elf/tst-audit6.c: Move to ...
42458         * sysdeps/x86_64/tst-audit6.c: ... here.
42459         * elf/tst-audit7.c: Move to ...
42460         * sysdeps/x86_64/tst-audit7.c: ... here.
42461         * elf/tst-auditmod3a.c: Move to ...
42462         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42463         * elf/tst-auditmod3b.c: Move to ...
42464         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42465         * elf/tst-auditmod4a.c: Move to ...
42466         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42467         * elf/tst-auditmod4b.c: Move to ...
42468         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42469         * elf/tst-auditmod5a.c: Move to ...
42470         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42471         * elf/tst-auditmod5b.c: Move to ...
42472         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42473         * elf/tst-auditmod6a.c: Move to ...
42474         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42475         * elf/tst-auditmod6b.c: Move to ...
42476         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42477         * elf/tst-auditmod6c.c: Move to ...
42478         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42479         * elf/tst-auditmod7a.c: Move to ...
42480         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42481         * elf/tst-auditmod7b.c: Move to ...
42482         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42484 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42486         [BZ #15366]
42487         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42488         define unconditionally.
42489         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42490         define unconditionally.
42491         (INT8_C, INT16_C, etc.): Likewise.
42493 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42495         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42496         __ehdr_start with hidden visibility.
42498         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42500 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42502         * math/libm-test.inc (cos_test): Use accurate hex constants.
42503         (sincost_test): Likewise.
42505 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42507         * math/libm-test.inc (catan_test): Add more tests.
42508         (catanh_test): Likewise.
42510         * math/s_catanf.c (__catanf): Use suffixed floating-point
42511         constants.
42512         * math/s_catanhf.c (__catanhf): Likewise.
42513         * math/s_catanhl.c (__catanhl): Likewise.
42514         * math/s_catanl.c (__catanl): Likewise.
42516         [BZ #15394]
42517         * math/s_catan.c (__catan): Calculate imaginary part of result
42518         with log1p not log unless computing log of number close to 0.
42519         * math/s_catanf.c (__catanf): Likewise.
42520         * math/s_catanl.c (__catanl): Likewise.
42521         * math/s_catanh.c (__catanh): Calculate real part of result with
42522         log1p not log unless computing log of number close to 0.
42523         * math/s_catanhf.c (__catanhf): Likewise.
42524         * math/s_catanhl.c (__catanhl): Likewise.
42525         * math/libm-test.inc (catan_test): Add more tests.
42526         (catanh_test): Likewise.
42527         * sysdeps/i386/fpu/libm-test-ulps: Update.
42528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42530 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42532         * benchtests/Makefile: Mention files in which fast and slow
42533         paths of math functions are implemented.
42535 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42537         * sysdeps/posix/timespec_get.c: New file.
42539 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42541         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42542         POWER.
42543         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42544         for POWER.
42545         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42546         powerpc/power5/fpu folders.
42547         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42548         * benchtests/Makefile: Add modf testcase.
42549         * benchtests/bench-modf.c: New file: Benchmark test for mo
42551 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42553         [BZ #14888]
42554         * time/Makefile (tests): Add tst-strptime-whitespace.
42555         * time/strptime_l.c (get_number): Use ISSPACE.
42556         (__strptime_internal): Likewise.
42557         * time/tst-strptime-whitespace.c: New test case.
42559 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42561         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42562         member.
42563         (_nss_files_init): Set it here.
42565 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42567         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42568         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42569         unsigned.
42571 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42573         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42575 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42577         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42578         size just once.
42580 2013-04-21  David S. Miller  <davem@davemloft.net>
42582         * po/ru.po: Update Russion translation from translation project.
42584 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42586         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42587         and setfsgid.
42589 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42591         * configure.in: Remove i386 configure warning. Remove i386 case.
42592         * configure: Regenerate.
42593         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42594         Add example to error message.
42595         * sysdeps/i386/configure: Regenerate.
42597 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42599         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42600         slowtan.
42601         * benchtests/cos-inputs: New file.
42602         * benchtests/slowcos-inputs: New file.
42603         * benchtests/slowcos.c: New file.
42604         * benchtests/slowtan-inputs: New file.
42605         * benchtests/slowtan.c: New file.
42606         * benchtests/tan-inputs: New file.
42608 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42610         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42611         considered kosher.
42613 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42615         * benchtests/Makefile: Include cppflags-iterator.mk to add
42616         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42618         * Makefile.in (bench-clean): New target.
42619         * benchtests/Makefile (bench-clean): Likewise.
42621 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42623         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42625 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42627         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42629 2013-04-15  Andreas Schwab  <schwab@suse.de>
42631         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42632         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42633         * nscd/pwdcache.c (cache_addpw): Likewise.
42634         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42635         more than recsize.
42637 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42639         * benchtests/Makefile (bench): Write all output to
42640         bench-out.tmp together.
42642 2013-04-15  Andreas Schwab  <schwab@suse.de>
42644         * nscd/nscd.c (main): Don't fork again after closing files.
42646 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42648         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42650         * benchtests/Rules (bench-deps): Collect dependencies into a
42651         single variable.  Add Makefile to dependencies.
42652         ($(objpfx)bench-%.c): Depend on bench-deps.
42654 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42655             Xavier Roche  <roche+kml2@exalead.com>
42657         [BZ #15361]
42658         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42659         just that it's a file descriptor.
42660         * manual/llio.texi (Synchronizing AIO Operations): Update description
42661         for EBADF error from aio_fsync.
42663 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42665         * Rules (bench): Move target definition...
42666         * benchtests/Makefile: ... here.
42668 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42670         * math/libm-test.inc (cos_test): Fix PI/2 test.
42671         (sincos_test): Likewise.
42672         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42673         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42675 2013-04-11  Andreas Schwab  <schwab@suse.de>
42677         [BZ #13988]
42678         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42679         accept exponent character only when digits were seen.
42680         * stdio-common/Makefile (tests): Add bug26.
42681         * stdio-common/bug26.c: New file.
42683         [BZ #14293]
42684         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42685         non-freeable.
42687 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42689         * Makeconfig (rtld-prefix): Define built linker prefix.
42690         * Rules (run-bench): Use it.
42691         * math/Makefile (run-regen-ulps): Likewise.
42693         * Rules (bench): Remove eval.
42695 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42696             Roland McGrath  <roland@hack.frob.com>
42697             Ondrej Bilka  <neleai@seznam.cz>
42699         [BZ #15346]
42700         * time/getdate.c: Include ctype.h and alloca.h.
42701         (__getdate_r): Trim leading and trailing spaces of input.
42702         * time/tst-getdate.c (tests): Add tests with leading and
42703         trailing spaces.
42705 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42707         [BZ #14280]
42708         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42709         when computing value.
42711 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42713         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42714         Use testrun.sh to run libm tests.
42716         [BZ #15309]
42717         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42719 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42721         [BZ #15264]
42722         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42724 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42726         * Makefile.in (regen-ulps): New target.
42727         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42728         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42729         [ifneq (no,$(PERL)] (regen-ulps): New target.
42730         [ifeq (no,$(PERL)] (regen-ulps): New target.
42731         * math/libm-test.inc (ulps_file_name): Define.
42732         (output_dir): New variable.
42733         (options): Add "output-dir" option.
42734         (parse_opt): Handle 'o' case.
42735         (main): If output_dir is non-NULL use it as a prefix
42736         otherwise use "".
42737         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42739 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42741         [BZ #10060, #10062]
42742         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42743         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42744         fail configure if __sync_val_compare_and_swap is not inlined.
42745         * sysdeps/i386/configure: Regenerate.
42746         * configure.in: Build for i686 when configured for i386.
42747         * configure: Regenerate.
42748         * README: Remove i386 reference.
42750 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42752         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42753         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42755 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42757         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42758         (lmsnanval): New variables.
42759         (F): Add conversion tests.
42760         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42761         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42763         * stdio-common/tstdiomisc.c (F): Properly collect individual
42764         tests' results.
42766         [BZ #14686, #15336]
42767         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42768         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42769         Instead, use input NaN values or generate a qNaN by arithmetic
42770         operation.  Also fix bugs to comply with the standard.
42771         * math/libm-test.inc (remainder_test): Add more tests.
42773         [BZ #15335, #15342]
42774         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42775         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42776         input NaN values or generate a qNaN by arithmetic operation.
42778         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42779         unreachable code.
42781         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42782         definitions.
42784 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42786         [BZ #14478]
42787         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42788         underflowed result.
42789         * math/s_cexpf.c (__cexpf): Likewise.
42790         * math/s_cexpl.c (__cexpl): Likewise.
42791         * math/libm-test.inc (cexp_test): Add more tests.
42793 2013-04-03  Andreas Schwab  <schwab@suse.de>
42795         [BZ #15330]
42796         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42797         order arrays from heap if bigger than alloca cutoff.
42799 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42801         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42802         (SNAN_TESTS_double): Refer to GCC PR56831.
42803         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42804         GCC PR56828.
42806 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42808         * Rules (bench): Move bench.out after the run is complete.
42810         * Rules (bench): Echo currently running benchmark.
42812         * benchtests/Makefile (bench): Add atan and slowatan.
42813         * benchtests/atan-inputs: New file.
42814         * benchtests/slowatan-inputs: New file.
42815         * benchtests/slowatan.c: New file.
42817         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42818         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42819         its value.
42821         [BZ #15305]
42822         * sysdeps/unix/sysv/linux/kernel-features.h
42823         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42824         __ASSUME_XFS_RESTRICTED_CHOWN.
42825         * sysdeps/unix/sysv/linux/pathconf.c
42826         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42827         Save and restore errno.
42829 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42831         [BZ #15327]
42832         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42833         arguments using __kernel_casinh.
42834         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42835         arguments using __kernel_casinhf.
42836         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42837         arguments using __kernel_casinhl.
42838         * math/libm-test.inc (cacosh_test): Add more tests.
42839         * sysdeps/i386/fpu/libm-test-ulps: Update.
42840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42842 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42844         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42845         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42847         * bench/Makefile (bench): Add sin and slowsin.
42848         * benchtests/sin-inputs: New file.
42849         * benchtests/slowsin-inputs: New file.
42850         * benchtests/slowsin.c: New file.
42852         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42853         (bench): Add slowexp and slowpow.
42854         (exp-ITER): Increase iterations.
42855         (pow-ITER): Likewise.
42856         * benchtests/exp-inputs: Change input.
42857         * benchtests/pow-inputs: Likewise.
42858         * benchtests/slowexp-inputs: New file.
42859         * benchtests/slowexp.c: New file.
42860         * benchtests/slowpow-inputs: New file.
42861         * benchtests/slowpow.c: New file.
42863 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42865         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42866         instructions.
42867         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42868         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42869         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42870         * benchtests/Makefile: Add rint benchtest.
42871         * benchtests/rint-inputs: Input for rint benchtest.
42873 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42875         * Versions.def (libm): Add GLIBC_2.18.
42876         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42877         hidden libm prototypes.
42878         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
42879         * math/Makefile (libm-calls): Add s_issignaling.
42880         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
42881         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
42882         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42883         declaration.
42884         * math/math.h [__USE_GNU] (issignaling): New macro.
42885         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
42886         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
42887         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
42888         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
42889         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
42890         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
42891         * manual/arith.texi (issignaling): New section.
42892         * manual/libm-err-tab.pl (@all_functions): Update comment.
42893         * math/gen-libm-test.pl (parse_args): Apply special handling for
42894         issignaling.
42895         * math/libm-test.inc (print_float, issignaling_test): New
42896         functions.
42897         (check_float_internal): Add issignaling checks.
42898         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
42899         default definition.
42900         * sysdeps/powerpc/math-tests.h: New file.
42901         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
42902         tests.
42903         * math/test-snan.c (TEST_FUNC): Likewise.
42905 2013-03-30  David S. Miller  <davem@davemloft.net>
42907         * po/de.po: Update from translation team.
42909 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
42911         [BZ #10357]
42912         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42913         imaginary part less than 1.0 and real part less than 0.5
42914         specially.
42915         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42916         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42917         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
42918         (cacos_test): Add more tests.
42919         (casin_test): Likewise.
42920         (casinh_test): Likewise.
42921         * sysdeps/i386/fpu/libm-test-ulps: Update.
42922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42924 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42926         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
42927         ONE with its value.
42929         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
42930         (__pow_mp): Replace ONE and MONE with their values.
42931         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42932         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
42933         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42934         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
42935         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42936         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42938         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
42940         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
42941         (__pow_mp): Replace ZERO and MZERO with their values.
42942         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42943         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42944         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42946         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42947         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
42948         (__sqr): Likewise.
42950         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
42952         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
42954 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42956         * include/stdlib.h [!SHARED] (__call_tls_dtors):
42957         Declare with __attribute__ ((weak)).
42958         * stdlib/exit.c (__libc_atexit) [!SHARED]:
42959         Call __call_tls_dtors only if it's not NULL.
42961 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42963         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
42964         didn't do it already, then set _dl_phdr and _dl_phnum based on the
42965         magic __ehdr_start linker symbol if it's defined.
42966         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
42967         them up here if it was already done.
42969         * elf/dl-support.c (_dl_phdr): Make pointer to const.
42970         (_dl_aux_init): Use const in cast when setting it.
42971         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
42972         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
42973         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
42975         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
42976         Declare them here.
42977         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
42978         * csu/libc-tls.c: Nor here.
42979         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
42981         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
42982         (__libc_message): Never call vsyslog.
42984 2013-03-28  Alan Modra  <amodra@gmail.com>
42986         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
42987         Define as empty.
42988         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
42989         Likewise.
42991 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42993         [BZ #15214]
42994         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
42995         underflow.
42996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42998 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43000         [BZ #15304]
43001         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43002         Don't add gid passed as argument.
43004         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43006 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43008         [BZ #15307]
43009         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43010         imaginary part between 1.0 and 1.5 and real part less than 0.5
43011         specially.
43012         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43013         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43014         * math/libm-test.inc (cacos_test): Add more tests.
43015         (casin_test): Likewise.
43016         (casinh_test): Likewise.
43017         * sysdeps/i386/fpu/libm-test-ulps: Update.
43018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43020 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43022         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43023         constants.
43024         (norm): Likewise.
43025         (denorm): Likewise.
43026         (__dbl_mp): Likewise.
43027         (add_magnitudes): Likewise.
43028         (sub_magnitudes): Likewise.
43029         (__add): Likewise.
43030         (__sub): Likewise.
43031         (__mul): Likewise.
43032         (__sqr): Likewise.
43033         (__inv): Likewise.
43034         (__dvd): Likewise.
43036         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43037         commented code.
43038         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43039         (__dubcos): Likewise.
43040         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43041         (__ieee754_acos): Likewise.
43042         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43043         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43044         (__exp1): Likewise.
43045         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43047         (log1): Likewise.
43048         (my_log2): Likewise.
43049         (checkint): Likewise.
43050         * sysdeps/ieee754/dbl-64/e_remainder.c
43051         (__ieee754_remainder): Likewise.
43052         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43053         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43054         (bsloww): Likewise.
43055         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43057         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43058         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43059         MANTISSA_STORE_T to store computations on mantissa.  Use
43060         macros for rounding and division.
43061         (denorm): Likewise.
43062         (__dbl_mp): Likewise.
43063         (add_magnitudes): Likewise.
43064         (sub_magnitudes): Likewise.
43065         (__mul): Likewise.
43066         (__sqr): Likewise.
43067         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43068         powers of two in terms of TWOPOW macro.
43069         (mp_no): Make type of mantissa as MANTISSA_T.
43070         [!RADIXI]: Define RADIXI.
43071         [!TWO52]: Define TWO52.
43072         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43074 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43076         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43077         llroundl symbol when building for PPC32.
43079 2013-03-24  Mark H Weaver  <mhw@netris.org>
43081         * manual/arith.texi (Normalization Functions): Fix prototypes for
43082         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43084 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43086         [BZ #13889]
43087         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43088         high value to check if expl overflow.
43089         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43090         to check for underflow and overflow.
43091         * math/libm-test.inc: Add exp test.
43093 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43095         [BZ #11120]
43096         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43097         with NOT_IN_libc.
43099 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43101         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43102         symbol.
43104 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43106         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43107         wrap blocks consisting of several statements.
43109         * sysdeps/generic/math-tests.h: New file.
43110         * sysdeps/i386/fpu/math-tests.h: Likewise.
43111         * math/test-snan.c: Include it.
43112         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43114 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43116         [BZ #15285]
43117         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43118         (__ieee754_j0l): Do not improve calculations using cos of twice
43119         input for inputs above LDBL_MAX / 2.0L.
43120         (__ieee754_y0l): Likewise.
43121         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43122         (__ieee754_j1l): Do not improve calculations using cos of twice
43123         input for inputs above LDBL_MAX / 2.0L.
43124         (__ieee754_y1l): Likewise.
43125         * math/libm-test.inc (j0_test): Add another test.
43126         (j1_test): Likewise.
43127         (y0_test): Likewise.
43128         (y1_test): Likewise.
43129         * sysdeps/i386/fpu/libm-test-ulps: Update.
43131 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43133         * Rules ($(objpfx)bench-%.c): Include code from a C source
43134         file.
43136 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43138         [BZ #15287]
43139         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43140         imaginary part 1.0 and real part less than 0.5 specially.
43141         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43142         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43143         * math/libm-test.inc (cacos_test): Add more tests.
43144         (casin_test): Likewise.
43145         (casinh_test): Likewise.
43146         * sysdeps/i386/fpu/libm-test-ulps: Update.
43147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43149 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43151         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43152         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43154 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43156         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43157         * config.make.in (config-cflags-sse4): Remove variable.
43158         (config-cflags-avx): Likewise.
43159         (config-cflags-sse2avx): Likewise.
43160         (config-cflags-novzeroupper): Likewise.
43161         (config-asflags-i686): Likewise.
43162         (have-mfma4): Likewise.
43163         (have-as-vis3): Likewise.
43164         (MIG): Likewise.
43165         * configure.in (MIG): Do not AC_SUBST.
43166         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43167         (libc_cv_cc_sse4): Do not AC_SUBST.
43168         (libc_cv_cc_avx): Likewise.
43169         (libc_cv_cc_sse2avx): Likewise.
43170         (libc_cv_cc_novzeroupper): Likewise.
43171         (libc_cv_cc_fma4): Likewise.
43172         (libc_cv_as_i686): Likewise.
43173         (libc_cv_sparc_as_vis3): Likewise.
43174         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43175         LIBC_CONFIG_VAR.
43176         (config-asflags-i686): Likewise.
43177         (config-cflags-avx): Likewise.
43178         (config-cflags-sse2avx): Likewise.
43179         (have-mfma4): Likewise.
43180         (config-cflags-novzeroupper): Likewise.
43181         * sysdeps/mach/configure.in (MIG): Likewise.
43182         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43183         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43184         LIBC_CONFIG_VAR.
43185         (config-cflags-avx): Likewise.
43186         (config-cflags-sse2avx): Likewise.
43187         (have-mfma4): Likewise.
43188         (config-cflags-novzeroupper): Likewise.
43189         * configure: Regenerated.
43190         * sysdeps/i386/configure: Likewise.
43191         * sysdeps/mach/configure: Likewise.
43192         * sysdeps/sparc/configure: Likewise.
43193         * sysdeps/x86_64/configure: Likewise.
43195 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43197         [BZ #14812]
43198         * locale/programs/localedef.c (options): Put N_ translation marker
43199         on argument names, not just descriptions.
43201 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43203         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43205 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43207         [BZ #14176]
43208         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43210 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43212         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43213         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43214         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43215         [!BEFORE_ABORT] (before_abort): New function.
43216         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43217         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43218         (writev_for_fatal): New function.
43219         (WRITEV_FOR_FATAL): New macro; call that.
43220         (backtrace_and_maps): New function.
43221         (BEFORE_ABORT): New macro; call that.
43222         (struct str_list): Type removed.
43223         (__libc_message, __libc_fatal): Functions removed.
43224         Include <sysdeps/posix/libc_fatal.c> instead.
43226 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43228         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43229         constants.
43230         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43231         double constants.
43233 2013-03-19  Andreas Schwab  <schwab@suse.de>
43235         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43236         * sysdeps/gnu/configure: Regenerate.
43238         * configure.in: Substitute libc_cv_rtlddir.
43239         * configure: Regenerate.
43240         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43241         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43242         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43243         * elf/Makefile (install-others, CFLAGS-interp.c)
43244         (ldso_install, common-ldd-rewrite): Likewise.
43245         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43246         $(inst_slibdir)/$(rtld-installed-name).
43247         * scripts/rellns-sh: Add -p option.
43248         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43249         for source.
43251 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43253         * manual/nptl.texi: Renamed to ...
43254         * manual/threads.texi: ... this.
43255         * manual/Makefile (chapters): Update.
43257 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43259         [BZ #14812]
43260         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43261         on argument names, not just descriptions.
43262         * malloc/memusagestat.c (options): Likewise.
43263         * nss/getent.c (options): Likewise.
43265 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43267         [BZ #14812]
43268         * iconv/iconv_prog.c (options): Put N_ translation marker
43269         on argument names, not just descriptions.
43270         * iconv/iconvconfig.c (options): Likewise.
43272 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43274         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43275         implementation which is faster on all x86_64 architectures.
43276         Tested on AMD, Intel Nehalem, SNB, IVB.
43277         * sysdeps/x86_64/strnlen.S: Likewise.
43279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43280         Remove all multiarch strlen and strnlen versions.
43281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43282         Remove strlen and strnlen related parts.
43284         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43285         Inline strlen part.
43286         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43288         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43289         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43290         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43291         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43292         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43293         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43295 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43297         * manual/memory.texi (Malloc Tunable Parameters):
43298         Sort parameters alphabetically. Add comments for missing entries.
43300 2013-03-17  David S. Miller  <davem@davemloft.net>
43302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43304 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43306         [BZ #15283]
43307         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43308         for arguments at most half maximum finite value.
43309         * math/libm-test.inc (j0_test): Add more tests.
43310         (j1_test): Likewise.
43311         (y0_test): Likewise.
43312         (y1_test): Likewise.
43313         * sysdeps/i386/fpu/libm-test-ulps: Update.
43314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43316         [BZ #14155]
43317         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43318         1 / x and functions P and Q for arguments above 0x1p256L.
43319         (__ieee754_y0l): Likewise.
43320         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43321         (__ieee754_y1l): Likewise.
43322         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43323         (j1_test): Likewise.
43324         (y0_test): Likewise.
43325         (y1_test): Likewise.
43327 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43329         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43330         variable.
43332 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43334         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43335         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43336         zero since it's initialized to EXEC_PAGESIZE.
43338         * sysdeps/unix/sysv/linux/ldsodefs.h
43339         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43340         * sysdeps/generic/ldsodefs.h: ... here.
43342 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43344         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43346         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43347         math/test-snan.c.
43348         * math/test-snan.c: Renamed from
43349         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43350         * math/Makefile (tests): Add test-snan.
43351         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43352         test-powerpc-snan.
43354         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43355         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43356         functions.
43357         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43358         __builtin_nan family of functions.
43359         * math/libm-test.inc (initialize): Initialize qnan_value with
43360         __builtin_nan family of functions.
43361         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43362         Remove variables.
43363         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43364         Remove functions.
43365         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43366         storage class.  Initialize qNaN_var and sNaN_var with
43367         __builtin_nan and __builtin_nans families of functions,
43368         respectively.
43370         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43371         (sqrt_test): Remove duplicate test with qNaN input.
43372         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43373         (round_test, signbit_test, significand_test): Note missing +/-Inf
43374         as well as qNaN tests.
43376         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43377         qNaN_var.  Fix a few strings, too.
43378         * math/libm-test.inc (nan_value): Rename to qnan_value.
43379         * math/gen-libm-test.pl (%beautify): Adjust to that.
43380         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43381         * math/test-misc.c (main): Likewise.
43382         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43383         to __qnan_bytes, and __qnan_union, respectively.
43384         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43385         Likewise.
43386         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43387         and lqnanval, respectively.
43388         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43389         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43390         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43391         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43393         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43394         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43395         doubles.
43397         * math/test-misc.c (main): Fix copy'n'pastos.
43398         * misc/tst-efgcvt.c (special): Likewise.
43400         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43401         Remove declarations.
43403 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43405         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43406         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43407         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43408         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43410 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43412         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43413         macro to return vdso values correctly in IFUNC implementations.
43414         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43415         Optimization by using IFUNC.
43417 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43418             Richard Henderson  <rth@redhat.com>
43419             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43421         * Makefile.in (bench): New target.
43422         * NEWS: Mention the benchmark framework.
43423         * Rules (bench): Likewise.
43424         (binaries-bench): Generate binaries for functions to
43425         benchmark.
43426         * benchtests/Makefile: New makefile for benchmark tests.
43427         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43428         programs.
43429         * benchtests/exp-inputs: New input file for EXP function.
43430         * benchtests/pow-inputs: New input file for POW function.
43431         * scripts/bench.pl: New script to generate source files for
43432         benchmark programs.
43434 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43436         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43437         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43438         computations on mantissa.  Use macros for rounding and
43439         division.
43440         (denorm): Likewise.
43441         (__dbl_mp): Likewise.
43442         (add_magnitudes): Likewise.
43443         (sub_magnitudes): Likewise.
43444         (__mul): Likewise.
43445         (__sqr): Likewise.
43446         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43447         powers of two in terms of TWOPOW macro.
43448         (mp_no): Make type of mantissa as MANTISSA_T.
43449         [!RADIXI]: Define RADIXI.
43450         [!TWO52]: Define TWO52.
43451         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43453         * manual/nptl.texi (cindex): Modify threads to pthreads.
43455 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43457         * sysdeps/x86_64/preconfigure: Regenerated.
43459 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43461         [BZ #14155]
43462         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43463         0x1p28 and above.
43464         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43465         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43466         0x1p28 and above.
43467         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43468         * math/libm-test.inc (j0_test): Do not allow one spurious
43469         underflow exception.
43470         (y1_test): Likewise.
43472 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43474         * manual/Makefile (chapters): Add nptl.
43475         * manual/debug.texi (Debugging Support): Add link to Threads
43476         chapter.
43477         * manual/nptl.texi: New file.
43479         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43481 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43483         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43484         for non-NULL pointer before the memory validity test. Pointed
43485         out by Holger Brunck <holger.brunck@keymile.com>.
43487 2013-03-13  Andreas Schwab  <schwab@suse.de>
43489         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43490         instead of .os.
43492 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43494         * timezone/zic.c: Update from tzcode 2013b.
43496 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43498         * manual/install.texi (Configuring and compiling):
43499         Mention i686 and i586.
43500         * INSTALL: Regenerate.
43502 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43504         * sysdeps/init_array/elf-init.c: New file.
43505         * csu/elf-init.c
43506         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43507         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43509         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43510         __gmon_start__ as global, but as static with a .preinit_array pointer.
43511         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43512         * sysdeps/init_array/crti.S: New file, empty except for comments.
43513         * sysdeps/init_array/crtn.S: Likewise.
43515 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43517         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43518         definining bcopy.
43519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43520         Remove Prefer_SSE_for_memop.
43521         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43522         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43523         HAS_PREFER_SSE_FOR_MEMOP.
43524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43525         memset-x86-64.
43526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43527         Remove bzero, memset ifunc support.
43528         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43529         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43530         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43531         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43533 2013-03-11  Andreas Schwab  <schwab@suse.de>
43535         [BZ #15234]
43536         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43537         by SHLIB_COMPAT.
43538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43539         (GLIBC_2.16): Remove pthread_atfork.
43541 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43543         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43544         (ptestcases.h): Likewise.
43546 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43548         * Makeconfig ($(common-objpfx)config.status): Depend on
43549         sysdeps/*/preconfigure{,.in} too.
43551 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43553         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43554         (__free_hook): Use void * instead of __malloc_ptr_t.
43555         (__malloc_hook): Likewise.
43556         (__realloc_hook): Likewise.
43557         (__memalign_hook): Likewise.
43558         (__after_morecore_hook): Likewise.
43559         * malloc/arena.c (save_malloc_hook): Likewise.
43560         (save_free_hook): Likewise.
43561         * malloc/hooks.c (malloc_hook_ini): Likewise.
43562         (realloc_hook_ini): Likewise.
43563         (memalign_hook_ini): Likewise.
43564         * malloc/malloc.c (malloc_hook_ini): Likewise.
43565         (realloc_hook_ini): Likewise.
43566         (memalign_hook_ini): Likewise.
43567         (__free_hook): Likewise.
43568         (__malloc_hook): Likewise.
43569         (__realloc_hook): Likewise.
43570         (__memalign_hook): Likewise.
43571         (__libc_malloc): Likewise.
43572         (__libc_free): Likewise.
43573         (__libc_realloc): Likewise.
43574         (__libc_memalign): Likewise.
43575         (__libc_valloc): Likewise.
43576         (__libc_pvalloc): Likewise.
43577         (__libc_calloc): Likewise.
43578         (__posix_memalign): Likewise.
43579         * malloc/morecore.c (__sbrk): Likewise.
43580         (__default_morecore): Likewise.
43582         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43584         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43585         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43586         __malloc_ptrdiff_t.
43588         * malloc/malloc.h (__malloc_size_t): Remove macro.
43589         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43590         __malloc_size_t.
43591         (old_memalign_hook): Likewise.
43592         (old_realloc_hook): Likewise.
43593         (struct hdr): Likewise.
43594         (flood): Likewise.
43595         (mallochook): Likewise.
43596         (memalignhook): Likewise.
43597         (reallochook): Likewise.
43598         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43599         (tr_old_realloc_hook): Likewise.
43600         (tr_old_memalign_hook): Likewise.
43601         (tr_mallochook): Likewise.
43602         (tr_reallochook): Likewise.
43603         (tr_memalignhook): Likewise.
43605 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43607         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43608         default_ldbl_pack and using as default implementation.
43609         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43610         implementation.
43611         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43612         redundant definition.
43613         (ldbl_insert_mantissa): Likewise.
43614         (ldbl_canonicalize): Likewise.
43615         (ldbl_nearbyint): Likewise.
43616         (ldbl_pack): Rename to ldbl_pack_ppc.
43617         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43618         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43619         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43621 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43624         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43625         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43626         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43628         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43629         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43630         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43632 2013-03-07  Andreas Jaeger  <aj@suse.de>
43634         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43635         bits/mman-linux.h.
43637 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43639         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43640         Include mpa.h and declare __MPEXP.
43641         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43642         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43643         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43644         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43645         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43646         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43647         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43649         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43650         (__slowpow): Use long double EXPL and LOGL functions to
43651         compute POW.
43652         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43653         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43654         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43655         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43656         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43657         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43659         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43660         intermediate variable to calculate exponent.
43661         (__sqr): Likewise.
43662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43663         Likewise.
43664         (__sqr): Likewise.
43666         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43667         [!NO__SQR]: Define __sqr.
43668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43669         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43670         sysdeps/ieee754/dbl-64/mpa.c.
43671         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43673         [BZ #12723]
43674         * posix/Makefile (tests): Add tst-pathconf.
43675         * posix/tst-pathconf.c: New test case.
43676         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43677         _PC_PIPE_BUF.
43678         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43680 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43682         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43684 2013-03-06  Andreas Jaeger  <aj@suse.de>
43686         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43687         definition via __MAP_ANONYMOUS.
43689         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43690         it's not part of Linux headers.
43692         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43693         (MAP_HUGE_MASK): Define.
43695         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43696         Define.
43697         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43698         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43699         Define.
43700         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43701         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43702         Define.
43703         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43704         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43705         Define.
43706         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43708         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43709         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43710         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43711         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43712         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43713         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43715         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43716         Handle f2fs.
43718         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43719         Handle f2fs and efivarfs.
43721         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43722         f2fs.
43724         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43725         (EFIVARFS_MAGIC): Add.
43726         (F2FS_LINK_MAX): Add.
43728 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43730         * stdio-common/vfprintf.c: Replace __builtin_expect with
43731         __glibc_unlikely.
43733 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43735         [BZ #13550]
43736         * sysdeps/generic/bp-sym.h: Remove file.
43737         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43738         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43739         <bp-sym.h> and <bp-asm.h>.
43740         (__longjmp): Don't use BP_SYM.
43741         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43742         and <bp-asm.h>.
43743         (memcpy): Don't use BP_SYM.
43744         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43745         <bp-sym.h> and <bp-asm.h>.
43746         (memcpy): Don't use BP_SYM.
43747         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43748         <bp-asm.h>.
43749         (memcpy): Don't use BP_SYM.
43750         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43751         <bp-asm.h>.
43752         (memset): Don't use BP_SYM.
43753         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43754         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43755         (__bzero): Don't use BP_SYM.
43756         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43757         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43758         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43759         <bp-sym.h> and <bp-asm.h>.
43760         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43761         pointers.
43762         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43763         <bp-sym.h> and <bp-asm.h>.
43764         (memcpy): Don't use BP_SYM.
43765         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43766         <bp-sym.h> and <bp-asm.h>.
43767         (memset): Don't use BP_SYM.
43768         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43769         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43770         (__bzero): Don't use BP_SYM.
43771         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43772         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43773         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43774         <bp-sym.h> and <bp-asm.h>.
43775         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43776         pointers.
43777         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43778         <bp-sym.h> and <bp-asm.h>.
43779         (memcpy): Don't use BP_SYM.
43780         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43781         <bp-sym.h> and <bp-asm.h>.
43782         (memset): Don't use BP_SYM.
43783         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43784         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43785         (__bzero): Don't use BP_SYM.
43786         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43787         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43788         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43789         <bp-sym.h> and <bp-asm.h>.
43790         (__memchr): Don't use BP_SYM.
43791         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43792         <bp-sym.h> and <bp-asm.h>.
43793         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43794         pointers.
43795         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43796         <bp-sym.h> and <bp-asm.h>.
43797         (memcpy): Don't use BP_SYM.
43798         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43799         <bp-sym.h> and <bp-asm.h>.
43800         (__mempcpy): Don't use BP_SYM.
43801         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43802         <bp-sym.h> and <bp-asm.h>.
43803         (__memrchr): Don't use BP_SYM.
43804         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43805         <bp-sym.h> and <bp-asm.h>.
43806         (memset): Don't use BP_SYM.
43807         (__bzero): Likewise.
43808         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43809         <bp-sym.h> and <bp-asm.h>.
43810         (__rawmemchr): Don't use BP_SYM.
43811         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43812         <bp-sym.h> and <bp-asm.h>.
43813         (__STRCMP): Don't use BP_SYM.
43814         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43815         <bp-sym.h> and <bp-asm.h>.
43816         (strchr): Don't use BP_SYM.
43817         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43818         <bp-sym.h> and <bp-asm.h>.
43819         (__strchrnul): Don't use BP_SYM.
43820         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43821         <bp-sym.h> and <bp-asm.h>.
43822         (strlen): Don't use BP_SYM.
43823         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43824         <bp-sym.h> and <bp-asm.h>.
43825         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43826         pointers.
43827         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43828         <bp-sym.h> and <bp-asm.h>.
43829         (__strnlen): Don't use BP_SYM.
43830         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43831         <bp-sym.h> and <bp-asm.h>.
43832         (__GI__setjmp): Don't use BP_SYM.
43833         (_setjmp): Likewise.
43834         (__sigsetjmp): Likewise.
43835         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43836         (L(start_addresses)): Don't use BP_SYM.
43837         (_start): Likewise.
43838         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43839         <bp-asm.h>.
43840         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43841         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43842         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43843         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43844         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43845         <bp-asm.h>.
43846         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43847         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43848         about bounded pointers.
43849         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43850         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43851         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43852         <bp-asm.h>.
43853         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43854         about bounded pointers.  Remove GKM FIXME comments.
43855         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43856         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43857         <bp-asm.h>.
43858         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43859         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43860         Remove GKM FIXME comments.
43861         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43862         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43863         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43864         <bp-asm.h>.
43865         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43866         about bounded pointers.  Remove GKM FIXME comment.
43867         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43868         and <bp-asm.h>.
43869         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43870         pointers.
43871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43872         <bp-sym.h> and <bp-asm.h>.
43873         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43875         <bp-sym.h> and <bp-asm.h>.
43876         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43877         comment.
43879 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43881         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
43882         call free(NULL).
43884 2013-03-05  David S. Miller  <davem@davemloft.net>
43886         * po/es.po: Update from translation team.
43888 2013-03-05  Andreas Jaeger  <aj@suse.de>
43890         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
43891         <bits/mman-linux.h>.
43892         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43893         is fine.
43894         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
43895         <bits/mman-linux.h> to end of file.
43896         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43897         is fine.
43898         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
43899         <bits/mman-linux.h> to end of file.
43900         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43901         is fine.
43902         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
43903         <bits/mman-linux.h> to end of file.
43905         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
43906         (MCL_CURRENT, MCL_FUTURE): Define here.
43908 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43910         [BZ #15232]
43911         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
43912         attribute_hidden.
43913         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43915 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43917         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
43918         fourth parameter needed for rt_sigprocmask syscall.
43919         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43920         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43921         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
43922         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43923         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43924         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
43926 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
43928         [BZ #13550]
43929         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
43930         comment about bounded pointers.
43931         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
43932         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
43934 2013-03-04  Andreas Jaeger  <aj@suse.de>
43936         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
43937         common definitions.
43939         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
43940         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
43941         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
43942         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43943         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43944         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43946 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43948         [BZ #15055]
43949         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
43950         __ieee754_sqrl instead of __sqrl.
43952 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
43954         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
43955         * sysdeps/powerpc/fpu_control.h: ... here.
43956         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
43957         * sysdeps/powerpc/bits/fenvinline.h: ... here.
43958         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
43959         * sysdeps/powerpc/bits/mathinline.h: ... here.
43961 2013-03-01  Roland McGrath  <roland@hack.frob.com>
43963         * elf/dl-hwcaps.c (_dl_important_hwcaps):
43964         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
43965         to just [NEED_DL_SYSINFO_DSO].
43966         * elf/dl-support.c: Likewise.
43967         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43968         * elf/rtld.c (dl_main): Likewise.
43969         * elf/setup-vdso.h (setup_vdso): Likewise.
43970         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
43971         * sysdeps/unix/sysv/linux/dl-sysdep.c
43972         (_dl_discover_osversion): Likewise.
43974 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
43976         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
43977         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43979 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43981         * NEWS: Mention libm performance improvements and non-x86 PI
43982         futex support.
43984         * csu/libc-start.c (__pthread_initialize_minimal): Change
43985         function arguments.
43986         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43988 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
43990         [BZ #13550]
43991         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
43992         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
43993         <bp-sym.h> and <bp-asm.h>.
43994         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43995         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
43996         and <bp-asm.h>.
43997         (memcpy): Don't use BP_SYM.
43998         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
43999         <bp-asm.h>.
44000         (__mpn_add_n): Don't use BP_SYM.
44001         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44002         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44003         and <bp-asm.h>.
44004         (__mpn_addmul_1): Don't use BP_SYM.
44005         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44006         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44007         <bp-sym.h>.
44008         (_setjmp): Don't use BP_SYM.
44009         (__novmx_setjmp): Likewise.
44010         (__GI__setjmp): Likewise.
44011         (__vmx_setjmp): Likewise.
44012         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44013         <bp-sym.h>.
44014         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44015         (__bzero): Don't use BP_SYM.
44016         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44017         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44018         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44019         <bp-sym.h> and <bp-asm.h>.
44020         (memcpy): Don't use BP_SYM.
44021         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44022         <bp-sym.h> and <bp-asm.h>.
44023         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44024         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44025         <bp-sym.h> and <bp-asm.h>.
44026         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44027         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44028         <bp-asm.h>.
44029         (__mpn_lshift): Don't use BP_SYM.
44030         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44031         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44032         <bp-asm.h>.
44033         (memset): Don't use BP_SYM.
44034         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44035         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44036         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44037         <bp-asm.h>.
44038         (__mpn_mul_1): Don't use BP_SYM.
44039         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44040         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44041         <bp-sym.h> and <bp-asm.h>.
44042         (memcmp): Don't use BP_SYM.
44043         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44044         <bp-sym.h> and <bp-asm.h>.
44045         (memcpy): Don't use BP_SYM.
44046         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44047         <bp-sym.h> and <bp-asm.h>.
44048         (memset): Don't use BP_SYM.
44049         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44050         <bp-sym.h> and <bp-asm.h>.
44051         (strncmp): Don't use BP_SYM.
44052         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44053         <bp-sym.h> and <bp-asm.h>.
44054         (memcpy): Don't use BP_SYM.
44055         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44056         <bp-sym.h> and <bp-asm.h>.
44057         (memset): Don't use BP_SYM.
44058         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44059         <bp-sym.h> and <bp-asm.h>.
44060         (__memchr): Don't use BP_SYM.
44061         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44062         <bp-sym.h> and <bp-asm.h>.
44063         (memcmp): Don't use BP_SYM.
44064         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44065         <bp-sym.h> and <bp-asm.h>.
44066         (memcpy): Don't use BP_SYM.
44067         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44068         <bp-sym.h> and <bp-asm.h>.
44069         (__mempcpy): Don't use BP_SYM.
44070         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44071         <bp-sym.h> and <bp-asm.h>.
44072         (__memrchr): Don't use BP_SYM.
44073         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44074         <bp-sym.h> and <bp-asm.h>.
44075         (memset): Don't use BP_SYM.
44076         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44077         <bp-sym.h> and <bp-asm.h>.
44078         (__rawmemchr): Don't use BP_SYM.
44079         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44080         <bp-sym.h> and <bp-asm.h>.
44081         (__STRCMP): Don't use BP_SYM.
44082         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44083         <bp-sym.h> and <bp-asm.h>.
44084         (strchr): Don't use BP_SYM.
44085         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44086         <bp-sym.h> and <bp-asm.h>.
44087         (__strchrnul): Don't use BP_SYM.
44088         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44089         <bp-sym.h> and <bp-asm.h>.
44090         (strlen): Don't use BP_SYM.
44091         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44092         <bp-sym.h> and <bp-asm.h>.
44093         (strncmp): Don't use BP_SYM.
44094         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44095         <bp-sym.h> and <bp-asm.h>.
44096         (__strnlen): Don't use BP_SYM.
44097         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44098         <bp-asm.h>.
44099         (__mpn_rshift): Don't use BP_SYM.
44100         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44101         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44102         <bp-sym.h> and <bp-asm.h>.
44103         (__sigsetjmp): Don't use BP_SYM.
44104         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44105         (L(start_addresses)): Don't use BP_SYM.
44106         (_start): Likewise.
44107         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44108         <bp-asm.h>.
44109         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44110         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44111         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44112         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44113         <bp-asm.h>.
44114         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44115         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44116         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44117         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44118         <bp-asm.h>.
44119         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44120         comments.
44121         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44122         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44123         <bp-asm.h>.
44124         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44125         FIXME comments.
44126         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44127         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44128         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44129         <bp-asm.h>.
44130         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44131         comment.
44132         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44133         and <bp-asm.h>.
44134         (strncmp): Don't use BP_SYM,
44135         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44136         <bp-asm.h>.
44137         (__mpn_sub_n): Don't use BP_SYM.
44138         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44139         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44140         and <bp-asm.h>.
44141         (__mpn_submul_1): Don't use BP_SYM.
44142         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44144         <bp-sym.h> and <bp-asm.h>.
44145         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44147         <bp-sym.h> and <bp-asm.h>.
44148         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44149         comment.
44151 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44154         Use ZK to minimize writes to Z.
44155         (sub_magnitudes): Simplify code a bit.
44156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44157         Use ZK to minimize writes to Z.
44158         (sub_magnitudes): Simplify code a bit.
44160 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44162         * csu/gmon-start.c: Add special exception to license text.
44164 2013-02-27  Richard Henderson  <rth@redhat.com>
44166         * scripts/config.guess: Update from config.git.
44167         * scripts/config.sub: Likewise.
44169 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44171         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44173         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44175         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44177         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44179         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44181 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44183         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44184         [$(build-shared = yes].
44186 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44188         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44189         (__mul): Reduce iterations for calculating mantissa.
44191         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44192         MPTWO.
44193         (__mpranred): Likewise.
44195         [BZ #15160]
44196         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44197         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44199 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44201         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44202         Define __attribute__.
44204 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44206         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44207         unused.
44208         * posix/regex_internal.h (__attribute): Remove.
44209         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44210         (re_string_context_at): Likewise.
44211         (bitset_not): Use __attribute__ and mark function as possibly
44212         unused.
44213         (bitset_merge): Likewise.
44214         (bitset_mask): Likewise.
44215         (re_string_char_size_at): Likewise.
44216         (re_string_wchar_at): Likewise.
44217         (re_string_elem_size_at): Likewise.
44219 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44221         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44222         code.
44223         (cc32): Likewise.
44225         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44226         (__acr): Likewise.
44227         (__cpy): Likewise.
44228         (norm): Likewise.
44229         (denorm): Likewise.
44230         (__dbl_mp): Likewise.
44231         (add_magnitudes): Likewise.
44232         (sub_magnitudes): Likewise.
44233         (__mul): Likewise.
44234         (__inv): Likewise.
44236         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44237         style.
44239         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44240         style.
44242         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44243         code.
44245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44246         up changes with default code.
44247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44248         Likewise.
44250 2013-02-24  Allan McRae  <allan@archlinux.org>
44252         * manual/socket.texi (The Internet Namespace): Order menu items
44253         to match that in the file.
44255         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44256         node listing of the info page menu.
44258 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44260         [BZ #13550]
44261         * sysdeps/i386/bp-asm.h: Remove file.
44262         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44263         (PARMS): Do not use macros from bp-asm.h.
44264         (S1): Likewise.
44265         (S2): Likewise.
44266         (SIZE): Likewise.
44267         (__mpn_add_n): Do not use BP_SYM
44268         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44269         "bp-asm.h".
44270         (PARMS): Do not use macros from bp-asm.h.
44271         (S1): Likewise.
44272         (SIZE): Likewise.
44273         (__mpn_addmul_1): Do not use BP_SYM
44274         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44275         "bp-asm.h".
44276         (PARMS): Do not use macros from bp-asm.h.
44277         (SIGMSK): Likewise.
44278         (_setjmp): Likewise.  Do not use BP_SYM.
44279         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44280         "bp-asm.h".
44281         (PARMS): Do not use macros from bp-asm.h.
44282         (SIGMSK): Likewise.
44283         (setjmp): Likewise.  Do not use BP_SYM.
44284         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44285         "bp-asm.h".
44286         (PARMS): Do not use macros from bp-asm.h.
44287         (__frexp): Do not use BP_SYM.
44288         (frexp): Likewise.
44289         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44290         "bp-asm.h".
44291         (PARMS): Do not use macros from bp-asm.h.
44292         (__frexpf): Do not use BP_SYM.
44293         (frexpf): Likewise.
44294         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44295         "bp-asm.h".
44296         (PARMS): Do not use macros from bp-asm.h.
44297         (__frexpl): Do not use BP_SYM.
44298         (frexpl): Likewise.
44299         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44300         "bp-asm.h".
44301         (PARMS): Do not use macros from bp-asm.h.
44302         (__remquo): Do not use BP_SYM.
44303         (remquo): Likewise.
44304         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44305         "bp-asm.h".
44306         (PARMS): Do not use macros from bp-asm.h.
44307         (__remquof): Do not use BP_SYM.
44308         (remquof): Likewise.
44309         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44310         "bp-asm.h".
44311         (PARMS): Do not use macros from bp-asm.h.
44312         (__remquol): Do not use BP_SYM.
44313         (remquol): Likewise.
44314         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44315         "bp-asm.h".
44316         (PARMS): Do not use macros from bp-asm.h.
44317         (DEST): Likewise.
44318         (SRC): Likewise.
44319         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44320         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44321         "bp-asm.h".
44322         (PARMS): Do not use macros from bp-asm.h.
44323         (strlen): Do not use BP_SYM.
44324         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44325         "bp-asm.h".
44326         (PARMS): Do not use macros from bp-asm.h.
44327         (S1): Likewise.
44328         (S2): Likewise.
44329         (SIZE): Likewise.
44330         (__mpn_add_n): Do not use BP_SYM.
44331         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44332         "bp-asm.h".
44333         (PARMS): Do not use macros from bp-asm.h.
44334         (S1): Likewise.
44335         (SIZE): Likewise.
44336         (__mpn_addmul_1): Do not use BP_SYM.
44337         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44338         weak_alias.
44339         (bzero): Likewise.
44340         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44341         "bp-asm.h".
44342         (PARMS): Do not use macros from bp-asm.h.
44343         (S): Likewise.
44344         (SIZE): Likewise.
44345         (__mpn_lshift): Do not use BP_SYM.
44346         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44347         "bp-asm.h".
44348         (PARMS): Do not use macros from bp-asm.h.
44349         (DEST): Likewise.
44350         (SRC): Likewise.
44351         (LEN): Likewise.
44352         (memcpy): Likewise.  Do not use BP_SYM.
44353         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44354         libc_hidden_def and weak_alias.
44355         (mempcpy): Do not use BP_SYM in weak_alias.
44356         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44357         "bp-asm.h".
44358         (PARMS): Do not use macros from bp-asm.h.
44359         (DEST): Likewise.
44360         (LEN): Likewise.
44361         [!BZERO_P] (CHR): Likewise.
44362         (memset): Likewise.  Do not use BP_SYM.
44363         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44364         "bp-asm.h".
44365         (PARMS): Do not use macros from bp-asm.h.
44366         (S1): Likewise.
44367         (SIZE): Likewise.
44368         (__mpn_mul_1): Do not use BP_SYM.
44369         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44370         "bp-asm.h".
44371         (PARMS): Do not use macros from bp-asm.h.
44372         (S): Likewise.
44373         (SIZE): Likewise.
44374         (__mpn_rshift): Do not use BP_SYM.
44375         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44376         "bp-asm.h".
44377         (PARMS): Do not use macros from bp-asm.h.
44378         (STR): Likewise.
44379         (CHR): Likewise.
44380         (strchr): Likewise.  Do not use BP_SYM.
44381         (index): Do not use BP_SYM in weak_alias.
44382         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
44383         "bp-asm.h".
44384         (PARMS): Do not use macros from bp-asm.h.
44385         (DEST): Likewise.
44386         (SRC): Likewise.
44387         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44388         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44389         "bp-asm.h".
44390         (PARMS): Do not use macros from bp-asm.h.
44391         (strlen): Do not use BP_SYM.
44392         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44393         "bp-asm.h".
44394         (PARMS): Do not use macros from bp-asm.h.
44395         (S1): Likewise.
44396         (S2): Likewise.
44397         (SIZE): Likewise.
44398         (__mpn_sub_n): Do not use BP_SYM.
44399         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44400         "bp-asm.h".
44401         (PARMS): Do not use macros from bp-asm.h.
44402         (S1): Likewise.
44403         (SIZE): Likewise.
44404         (__mpn_submul_1): Do not use BP_SYM.
44405         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44406         "bp-asm.h".
44407         (PARMS): Do not use macros from bp-asm.h.
44408         (S1): Likewise.
44409         (S2): Likewise.
44410         (SIZE): Likewise.
44411         (__mpn_add_n): Do not use BP_SYM.
44412         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44413         weak_alias.
44414         (bzero): Likewise.
44415         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44416         "bp-asm.h".
44417         (PARMS): Do not use macros from bp-asm.h.
44418         (BLK2): Likewise.
44419         (LEN): Likewise.
44420         (memcmp): Do not use BP_SYM.
44421         (bcmp): Do not use BP_SYM in weak_alias.
44422         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44423         "bp-asm.h".
44424         (PARMS): Do not use macros from bp-asm.h.
44425         (DEST): Likewise.
44426         (SRC): Likewise.
44427         (LEN): Likewise.
44428         (memcpy): Likewise.  Do not use BP_SYM.
44429         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44430         "bp-asm.h".
44431         (PARMS): Do not use macros from bp-asm.h.
44432         (DEST): Likewise.
44433         (SRC): Likewise.
44434         (LEN): Likewise.
44435         (memmove): Likewise.  Do not use BP_SYM.
44436         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44437         "bp-asm.h".
44438         (PARMS): Do not use macros from bp-asm.h.
44439         (DEST): Likewise.
44440         (SRC): Likewise.
44441         (LEN): Likewise.
44442         (__mempcpy): Likewise.  Do not use BP_SYM.
44443         (mempcpy): Do not use BP_SYM in weak_alias.
44444         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44445         "bp-asm.h".
44446         (PARMS): Do not use macros from bp-asm.h.
44447         (DEST): Likewise.
44448         (LEN): Likewise.
44449         [!BZERO_P] (CHR): Likewise.
44450         (memset): Likewise.  Do not use BP_SYM.
44451         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44452         "bp-asm.h".
44453         (PARMS): Do not use macros from bp-asm.h.
44454         (STR2): Likewise.
44455         (strcmp): Do not use BP_SYM.
44456         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44457         "bp-asm.h".
44458         (PARMS): Do not use macros from bp-asm.h.
44459         (STR): Likewise.
44460         (DELIM): Likewise.
44461         [USE_AS_STRTOK_R] (SAVE): Likewise.
44462         (FUNCTION): Likewise.  Do not use BP_SYM.
44463         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44464         aliases.
44465         (strtok_r): Likewise.
44466         (__GI___strtok_r): Likewise.
44467         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44468         (PARMS): Do not use macros from bp-asm.h.
44469         (S): Likewise.
44470         (SIZE): Likewise.
44471         (__mpn_lshift): Do not use BP_SYM.
44472         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44473         (PARMS): Do not use macros from bp-asm.h.
44474         (STR): Likewise.
44475         (CHR): Likewise.
44476         (__memchr): Do not use BP_SYM.
44477         (memchr): Do not use BP_SYM in weak_alias.
44478         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44479         (PARMS): Do not use macros from bp-asm.h.
44480         (BLK2): Likewise.
44481         (LEN): Likewise.
44482         (memcmp): Do not use BP_SYM.
44483         (bcmp): Do not use BP_SYM in weak_alias.
44484         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44485         (PARMS): Do not use macros from bp-asm.h.
44486         (S1): Likewise.
44487         (SIZE): Likewise.
44488         (__mpn_mul_1): Do not use BP_SYM.
44489         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44490         "bp-asm.h".
44491         (PARMS): Do not use macros from bp-asm.h.
44492         (STR): Likewise.
44493         (CHR): Likewise.
44494         (__rawmemchr): Do not use BP_SYM.
44495         (rawmemchr): Do not use BP_SYM in weak_alias.
44496         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44497         (PARMS): Do not use macros from bp-asm.h.
44498         (S): Likewise.
44499         (SIZE): Likewise.
44500         (__mpn_rshift): Do not use BP_SYM.
44501         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44502         (PARMS): Do not use macros from bp-asm.h.
44503         (SIGMSK): Likewise.
44504         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44505         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44506         (_start): Do not use BP_SYM.
44507         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44508         (PARMS): Do not use macros from bp-asm.h.
44509         (DEST): Likewise.
44510         (SRC): Likewise.
44511         (__stpcpy): Likewise.  Do not use BP_SYM.
44512         (stpcpy): Do not use BP_SYM in weak_alias.
44513         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44514         "bp-asm.h".
44515         (PARMS): Do not use macros from bp-asm.h.
44516         (DEST): Likewise.
44517         (SRC): Likewise.
44518         (LEN): Likewise.
44519         (__stpncpy): Likewise.  Do not use BP_SYM.
44520         (stpncpy): Do not use BP_SYM in weak_alias.
44521         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44522         (PARMS): Do not use macros from bp-asm.h.
44523         (STR): Likewise.
44524         (CHR): Likewise.
44525         (strchr): Likewise.  Do not use BP_SYM.
44526         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44527         "bp-asm.h".
44528         (PARMS): Do not use macros from bp-asm.h.
44529         (STR): Likewise.
44530         (CHR): Likewise.
44531         (__strchrnul): Likewise.  Do not use BP_SYM.
44532         (strchrnul): Do not use BP_SYM in weak_alias.
44533         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44534         "bp-asm.h".
44535         (PARMS): Do not use macros from bp-asm.h.
44536         (STOP): Likewise.
44537         (strcspn): Do not use BP_SYM.
44538         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44539         "bp-asm.h".
44540         (PARMS): Do not use macros from bp-asm.h.
44541         (STR): Likewise.
44542         (STOP): Likewise.
44543         (strpbrk): Likewise.  Do not use BP_SYM.
44544         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44545         "bp-asm.h".
44546         (PARMS): Do not use macros from bp-asm.h.
44547         (STR): Likewise.
44548         (CHR): Likewise.
44549         (strrchr): Likewise.  Do not use BP_SYM.
44550         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44551         (PARMS): Do not use macros from bp-asm.h.
44552         (SKIP): Likewise.
44553         (strspn): Do not use BP_SYM.
44554         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44555         (PARMS): Do not use macros from bp-asm.h.
44556         (STR): Likewise.
44557         (DELIM): Likewise.
44558         (SAVE): Likewise.
44559         (FUNCTION): Likewise.  Do not use BP_SYM.
44560         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44561         aliases.
44562         (strtok_r): Likewise.
44563         (__GI___strtok_r): Likewise.
44564         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44565         (PARMS): Do not use macros from bp-asm.h.
44566         (S1): Likewise.
44567         (S2): Likewise.
44568         (SIZE): Likewise.
44569         (__mpn_sub_n): Do not use BP_SYM.
44570         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44571         "bp-asm.h".
44572         (PARMS): Do not use macros from bp-asm.h.
44573         (S1): Likewise.
44574         (SIZE): Likewise.
44575         (__mpn_submul_1): Do not use BP_SYM.
44576         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44577         <bp-sym.h>.
44578         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44579         and <bp-asm.h>.
44580         (PARMS): Do not use macros from bp-asm.h.
44581         (FLAGS): Likewise.
44582         (PTID): Likewise.
44583         (TLS): Likewise.
44584         (CTID): Likewise.
44585         (__clone): Do not use BP_SYM.
44586         (clone): Do not use BP_SYM in weak_alias.
44587         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44588         and <bp-asm.h>.
44589         (PARMS): Do not use macros from bp-asm.h.
44590         (LEN): Likewise.
44591         (__mmap64): Do not use BP_SYM.
44592         (mmap64): Do not use BP_SYM in weak_alias.
44593         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44594         <bp-sym.h> and <bp-asm.h>.
44595         (PARMS): Do not use macros from bp-asm.h.
44596         (__posix_fadvise64_l64): Do not use BP_SYM.
44597         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44598         (PARMS): Do not use macros from bp-asm.h.
44599         (NSOPS): Likewise.
44600         (semtimedop): Do not use BP_SYM.
44601         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44602         and <bp-asm.h>.
44604 2013-02-21  Allan McRae  <allan@archlinux.org>
44606         * manual/message.texi (Charset conversion in gettext):
44607         Move @end statement to beginning of line.
44609 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44612         static.
44613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44614         Likewise.
44616         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44617         (denorm): Likewise.
44618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44621 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44623         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44624         tail-call to the resolved function if pltexit isn't needed.
44626 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44629         or Y being zero as being unlikely.
44630         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44631         Likewise.
44633 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44635         * manual/nss.texi (System Databases and Name Service Switch):
44636         Remove frobnicate @pxref.
44638 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44640         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44641         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44643 2013-02-20  Petr Machata  <pmachata@redhat.com>
44645         * elf/elf.h (R_ARM_TARGET1): New macro.
44646         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44647         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44648         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44649         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44650         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44651         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44652         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44653         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44654         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44655         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44656         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44657         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44658         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44659         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44660         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44661         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44662         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44663         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44664         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44665         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44666         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44667         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44668         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44669         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44670         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44671         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44672         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44673         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44674         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44675         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44676         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44677         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44678         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44679         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44680         (R_ARM_THM_GOT_BREL12): Likewise.
44681         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44682         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44683         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44684         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44685         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44686         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44687         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44688         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44689         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44691 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44693         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44694         __attribute_used__ to __attribute__ ((unused)).
44696 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44698         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44699         powerpc mpa.c.
44700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44701         comment formatting.
44702         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44704 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44706         [BZ #13550]
44707         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44708         Remove macro.
44709         (ENTER): Remove both macro definitions.
44710         (LEAVE): Likewise.
44711         (CHECK_BOUNDS_LOW): Likewise.
44712         (CHECK_BOUNDS_HIGH): Likewise.
44713         (CHECK_BOUNDS_BOTH): Likewise.
44714         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44715         (RETURN_BOUNDED_POINTER): Likewise.
44716         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44717         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44718         (POP_ERRNO_LOCATION_RETURN): Likewise.
44719         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44720         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44721         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44722         macros.
44723         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44724         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44725         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44726         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44727         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44728         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44729         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44730         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44731         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44732         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44733         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44734         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44735         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44736         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44737         removed macros.
44738         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44739         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44740         macros.
44741         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44742         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44743         * sysdeps/i386/i586/memset.S (memset): Likewise.
44744         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44745         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44746         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44747         macros.
44748         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44749         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44750         Change uses of L(2) to L(out).
44751         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44752         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44753         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44754         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44755         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44756         removed macros.
44757         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44758         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44759         macros.
44760         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44761         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44762         (RETURN): Do not use macro LEAVE.
44763         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44764         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44765         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44766         * sysdeps/i386/i686/memset.S (memset): Likewise.
44767         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44768         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44769         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44770         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44771         Likewise.
44772         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44773         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44774         L(1_2) and L(1_3) into L(1).
44775         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44776         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44777         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44778         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44779         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44780         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44781         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44782         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44783         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44784         macros.
44785         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44786         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44787         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44788         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44789         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44790         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44791         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44792         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44793         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44794         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44795         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44796         * sysdeps/i386/strspn.S (strspn): Likewise.
44797         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44798         conditional code.
44799         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44800         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44801         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44802         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44803         L(1_3) into L(1_1).
44804         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44805         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44806         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44807         macros.
44808         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44810 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44812         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44813         macro.
44815 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44817         * math/atest-exp.c (exp_mpn): Remove ROUND.
44818         * math/atest-exp2.c (exp_mpn): Likewise.
44819         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44821         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44822         * stdlib/tst-tls-atexit-lib.c: Likewise.
44823         * stdlib/tst-tls-atexit.c: Likewise.
44825 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44827         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44828         and __attribute_alloc_size__.
44830 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44832         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44833         __attribute_alloc_size__.
44834         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44835         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44837 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44839         * include/programs/xmalloc.h: New file.
44840         * catgets/gencat.c: Include it.
44841         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44842         * elf/pldd.c: Likewise.
44843         * iconv/iconv_charmap.c: Likewise.
44844         * iconv/iconvconfig.c: Likewise.
44845         * iconv/strtab.c: Likewise.
44846         * locale/programs/locale.c: Likewise.
44847         * locale/programs/localedef.h: Likewise.
44848         * locale/programs/simple-hash.c: Likewise.
44849         * nscd/nscd.h: Likewise.
44850         * nss/makedb.c: Likewise.
44851         * sysdeps/generic/ldconfig.h: Likewise.
44853 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44855         * Versions.def: Add GLIBC_2.18.
44856         * include/link.h (struct link_map): New member l_tls_dtor_count.
44857         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44858         (__call_tls_dtors): Likewise.
44859         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44860         __cxa_thread_atexit_impl.
44861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44862         Likewise.
44863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44864         Likewise.
44865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44866         Likewise.
44867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44868         Likewise.
44869         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44871         Likewise.
44872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44873         Likewise.
44874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44876         Likewise.
44877         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44878         (tests): Add test case tst-tls-atexit.
44879         (modules-names): Add shared library for tst-tls-atexit.
44880         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
44881         (GLIBC_PRIVATE): Add __call_tls_dtors.
44882         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
44883         for libstdc++.
44884         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
44885         * stdlib/tst-tls-atexit.c: New test case.
44886         * stdlib/tst-tls-atexit-lib.c: New test case.
44888         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
44890         * elf/Versions (ld): Add _dl_find_dso_for_object.
44891         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
44892         * elf/dl-open.c (_dl_find_dso_for_object): New function.
44893         (dl_open_worker): Use _dl_find_dso_for_object.
44894         * elf/dl-sym.c (do_sym): Likewise.
44895         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
44897 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44899         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
44900         Syntactic changes only.
44901         (_dl_runtime_profile): Do a tail-call to the resolved function.
44903 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
44905         [BZ #13550]
44906         * sysdeps/x86_64/bp-asm.h: Remove file.
44907         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
44908         <bp-sym.h> and <bp-asm.h>.
44909         (__clone): Do not use BP_SYM.
44910         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
44911         <bp-sym.h> and <bp-asm.h>.
44912         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44913         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
44914         "bp-asm.h".
44915         (_setjmp): Do not use BP_SYM.
44916         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
44917         "bp-asm.h".
44918         (setjmp): Do not use BP_SYM.
44919         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
44920         libc_hidden_def.
44921         (mempcpy): Do not use BP_SYM in weak_alias.
44922         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
44923         "bp-asm.h".
44924         (strchr): Do not use BP_SYM.
44925         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
44926         "bp-asm.h".
44927         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
44928         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
44929         (_start): Do not use BP_SYM.
44930         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
44931         "bp-asm.h".
44932         (strcat): Do not use BP_SYM.
44933         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
44934         "bp-asm.h".
44935         (STRCMP): Do not use BP_SYM.
44936         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
44937         "bp-asm.h".
44938         (STRCPY): Do not use BP_SYM.
44939         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
44940         "bp-asm.h".
44941         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
44942         "bp-asm.h".
44943         (FUNCTION): Do not use BP_SYM.
44944         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
44945         weak_alias.
44946         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
44948 2013-02-17  Andreas Jaeger  <aj@suse.de>
44950         * time/Versions: Sort entries.
44951         * string/Versions: Likewise.
44952         * resolv/Versions: Likewise.
44953         * posix/Versions: Likewise.
44954         * iconv/Versions: Likewise.
44955         * elf/Versions: Likewise.
44956         * wcsmbs/Versions: Likewise.
44958 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44960         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
44961         loop termination condition.
44963         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
44964         variable to calculate EZ.
44965         (__sqr): Likewise.
44967         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
44968         the lower precision input.
44970 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
44972         [BZ #13550]
44973         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
44974         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
44975         (run-via-rtld-prefix): Do not handle %-bp tests.
44976         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
44977         (all-object-suffixes): Remove .ob.
44978         (bppfx): Remove variable.
44979         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
44980         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
44981         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
44982         [$(build-bounded) = yes] (libtype.ob): Likewise.
44983         * Makerules (elide-routines.ob): Remove variable.
44984         (do-tests-clean): Do not handle *-bp.out.
44985         (common-mostlyclean): Do not handle *-bp and *-bp.out.
44986         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
44987         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
44988         (tests): Do not include $(tests-bp.out).
44989         (xtests): Do not include $(xtests-bp.out).
44990         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
44991         [$(build-bounded) = yes] ($(addprefix
44992         $(objpfx),$(binaries-bounded))): Remove rule.
44993         ($(objpfx)%-bp.out): Remove rule.
44994         * config.make.in (build-bounded): Remove variable.
44995         * crypt/Makefile [$(build-bounded) = yes]
44996         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
44997         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
44998         append to variable.
44999         [$(build-bounded) = yes] (install-lib): Likewise.
45000         [$(build-bounded) = yes] (generated): Likewise.
45001         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45002         Remove rule.
45003         * intl/Makefile [$(build-bounded) = yes]
45004         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45005         * math/Makefile [$(build-bounded) = yes]
45006         ($(tests:%=$(objpfx)%-bp): Likewise.
45007         * misc/Makefile [$(build-bounded) = yes]
45008         ($(objpfx)tst-tsearch-bp): Likewise.
45009         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45010         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45011         Remove dependency.
45012         * string/Makefile (o-objects.ob): Remove variable.
45013         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45014         (CFLAGS-.ob): Remove variable.
45015         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45016         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45017         both definitions of variable.
45018         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45019         (ASFLAGS-.ob): Remove variable.
45021 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45023         [BZ #13550]
45024         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45025         Remove __BOUNDED_POINTERS__ from condition.
45026         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45027         * string/bits/string2.h [!__NO_STRING_INLINES &&
45028         !__BOUNDED_POINTERS__]: Likewise.
45029         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45030         Likewise.
45031         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45032         Remove conditional code.
45033         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45034         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45035         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45036         condition.
45038         [BZ #13550]
45039         * csu/libc-start.c: Do not include <bp-sym.h>.
45040         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45041         * elf/dl-open.c: Do not include <bp-sym.h>.
45042         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45043         * math/fegetenv.c: Do not include <bp-sym.h>.
45044         (fegetenv): Do not use BP_SYM in versioned symbols.
45045         * nptl/sysdeps/pthread/bits/libc-lockP.h
45046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45047         <bp-sym.h>.
45048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45049         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45051         (__pthread_mutex_destroy): Likewise.
45052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45053         (__pthread_mutex_lock): Likewise.
45054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45055         (__pthread_mutex_trylock): Likewise.
45056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45057         (__pthread_mutex_unlock): Likewise.
45058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45059         (__pthread_mutexattr_init): Likewise.
45060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45061         (__pthread_mutexattr_destroy): Likewise.
45062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45063         (__pthread_mutexattr_settype): Likewise.
45064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45065         (__pthread_rwlock_init): Likewise.
45066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45067         (__pthread_rwlock_destroy): Likewise.
45068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45069         (__pthread_rwlock_rdlock): Likewise.
45070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45071         (__pthread_rwlock_tryrdlock): Likewise.
45072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45073         (__pthread_rwlock_wrlock): Likewise.
45074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45075         (__pthread_rwlock_trywrlock): Likewise.
45076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45077         (__pthread_rwlock_unlock): Likewise.
45078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45079         (__pthread_key_create): Likewise.
45080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45081         (__pthread_setspecific): Likewise.
45082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45083         (__pthread_getspecific): Likewise.
45084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45085         Likewise.
45086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45087         (_pthread_cleanup_push_defer): Likewise.
45088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45089         (_pthread_cleanup_pop_restore): Likewise.
45090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45091         (pthread_setcancelstate): Likewise.
45092         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45093         <bp-sym.h>.
45094         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45095         (memchr): Do not use BP_SYM in weak_alias.
45096         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45097         (fegetenv): Do not use BP_SYM in versioned symbols.
45098         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45099         (fesetenv): Do not use BP_SYM in versioned symbols.
45100         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45101         (feupdateenv): Do not use BP_SYM in versioned symbols.
45102         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45103         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45104         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45105         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45106         (open64): Do not use BP_SYM in weak_alias.
45107         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45108         (fegetenv): Do not use BP_SYM in versioned symbols.
45109         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45110         (fesetenv): Do not use BP_SYM in versioned symbols.
45111         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45112         (feupdateenv): Do not use BP_SYM in versioned symbols.
45113         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45114         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45115         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45116         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45117         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45118         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45119         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45120         <bp-sym.h>.
45121         (__libc_start_main): Do not use BP_SYM.
45123 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45126         redundant return line.
45127         (norm): Likewise.
45128         (denorm): Likewise.
45129         (dbl_mp): Likewise.
45130         (sub_magnitudes): Likewise.
45131         (__add): Likewise.
45132         (__sub): Likewise.
45133         (__mul): Likewise.
45134         (__inv): Likewise.
45135         (__dvd): Likewise.
45136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45137         (norm): Likewise.
45138         (denorm): Likewise.
45139         (dbl_mp): Likewise.
45140         (sub_magnitudes): Likewise.
45141         (__add): Likewise.
45142         (__sub): Likewise.
45143         (__mul): Likewise.
45144         (__inv): Likewise.
45145         (__dvd): Likewise.
45147         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45148         instead of __mul.
45149         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45150         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45151         (cc32): Likewise.
45153         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45154         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45155         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45156         of __mul for squares.
45157         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45158         function
45159         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45160         Likewise.
45161         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45162         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45164 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45166         [BZ #13550]
45167         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45168         code.
45169         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45170         prototype or function definition.  Rename ubp_* variables and
45171         parameters.  Remove argv definitions conditional on
45172         [__BOUNDED_POINTERS__].
45173         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45174         * elf/dl-runtime.c (_dl_fixup): Likewise.
45175         * include/set-hooks.h (RUN_HOOK): Likewise.
45176         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45177         definition.
45178         * string/strcpy.c (strcpy): Do not use __unbounded.
45179         * sysdeps/generic/frame.h (struct layout): Likewise.
45180         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45181         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45182         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45183         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45184         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45185         (__backtrace): Likewise.
45186         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45187         use __ptrvalue.
45188         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45189         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45190         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45191         Likewise.
45192         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45193         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45194         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45195         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45196         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45197         Do not use __unbounded.
45198         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45199         Rename __unboundedrlimits parameter to rlimits in prototype.
45200         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45201         Do not use __unbounded.
45202         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45203         not use __ptrvalue.
45204         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45205         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45206         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45207         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45208         __ptrvalue or __unbounded.
45209         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45210         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45211         use __unbounded.
45212         (__new_msgctl): Do not use __ptrvalue.
45213         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45214         __unbounded.
45215         (__libc_msgrcv): Do not use __ptrvalue.
45216         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45217         startup_info): Do not use __unbounded.
45218         (__libc_start_main): Likewise.  Rename ubp_* variables and
45219         parameters.  Remove argv definitions conditional on
45220         [__BOUNDED_POINTERS__].
45221         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45222         __ptrvalue.
45223         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45224         use __unbounded.
45225         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45226         or __ptrvalue.
45227         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45228         use __unbounded.
45229         (__new_shmctl): Do not use __ptrvalue.
45230         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45231         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45232         Likewise.
45233         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45234         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45235         (__libc_sigaction): Likewise.
45236         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45237         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45238         Likewise.
45239         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45241 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45243         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45245         * string/mempcpy.c: Implement by calling memcpy.
45247 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45249         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45252         evaluation.
45254         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45255         values in the mantissa.
45257         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45258         minimize writes to Z.
45259         (sub_magnitudes): Simplify code a bit.
45261 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45263         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45264         from the message.  The linker prefixes all warnings with that already.
45266 2013-02-12  Andreas Schwab  <schwab@suse.de>
45268         [BZ #15078]
45269         * posix/regexec.c (extend_buffers): Add parameter min_len.
45270         (check_matching): Pass minimum needed length.
45271         (clean_state_log_if_needed): Likewise.
45272         (get_subexp): Likewise.
45273         * posix/Makefile (tests): Add bug-regex34.
45274         (bug-regex34-ENV): Define.
45275         * posix/bug-regex34.c: New file.
45277         [BZ #11561]
45278         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45279         elements compare against the byte sequence of it, not its name.
45280         * posix/Makefile (tests): Add bug-regex35.
45281         (bug-regex35-ENV): Define.
45282         * posix/bug-regex35.c: New file.
45284 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45286         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45287         comment.
45288         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45289         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45290         (CHECK_EOL): Add undef.
45292 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45294         * bits/stdlib-bsearch.h: New file.
45295         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45296         * stdlib/stdlib.h: Likewise.
45298 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45300         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45301         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45302         declaration.
45303         * manual/search.texi (Array Search Function): Add missing const in
45304         lfind prototype.
45305         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45306         declaration to use rlim_t.
45307         (Basic Scheduling Functions): Remove erroneous const from
45308         sched_getparam prototype.  Remove erroneous * from
45309         sched_get_priority_max and sched_get_priority_min prototypes.
45310         (Resource Usage): Fix summary @comment on vtimes to refer to
45311         sys/vtimes.h rather than vtimes.h.
45312         Add missing *s in vtimes prototype.
45313         (Limits on Resources): Fix ulimit prototype to return long int.
45314         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45315         prototypes to use long int rather than double.
45316         (BSD Random): Fix initstate and setstate to use char *, not void *.
45317         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45318         prototype to make second argument 'struct aiocb64 *const[]'.
45319         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45320         (Status of AIO Operations): Remove erroneous const in aio_return and
45321         aio_return64 prototypes.
45322         (Synchronizing I/O): Fix sync prototype to return void.
45323         * manual/startup.texi (Suboptions): Remove an erroneous const in
45324         getsubopt prototype.
45325         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45326         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45327         use size_t rather than int.
45328         (Scanning All Users): Likewise for getpwent_r.
45329         (Setting Groups): Add missing const to setgroups prototype.
45330         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45331         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45332         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45333         'const void *' rather than 'const char *'.
45334         (Host Address Functions): Likewise for inet_ntop.
45335         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45336         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45337         ssize_t for return value.
45338         (Sending Data): Likewise for send, sendto, sendmsg.
45339         (Socket Option Functions): Add a missing const in setsockopt prototype.
45340         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45341         use wchar_t for the argument.
45342         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45343         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45344         take no arguments.
45345         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45346         double/float/long double for second argument.
45347         Fix return types of significand, significandf, significandl.
45348         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45349         argument in fchmod prototype.
45350         (File Owner): Use uid_t and gid_t in fchown prototype.
45351         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45352         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45353         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45354         use 'const struct dirent **' as argument types to CMP function pointer
45355         argument.
45356         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45357         (File Times): Fix summary magic @comment for struct utimbuf and utime
45358         to refer to utime.h, not time.h.
45359         * manual/string.texi (Argz Functions): Add missing const in
45360         argz_extract and argz_next prototypes.
45361         (Finding Tokens in a String): Likewise for basename.
45362         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45363         (Copying and Concatenation): Fix typo in wmemmove prototype.
45364         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45365         (Signal Stack): Remove erroneous const in sigstack prototype.
45366         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45367         prototype.
45368         (Simple Calendar Time): Likewise for stime.
45369         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45370         prototype.
45371         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45372         say sys/sysctl.h instead.
45373         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45374         and vsyslog prototypes.
45376 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45378         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45379         Remove.
45381 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45383         * misc/sys/mman.h: Fix typo in mremap comment.
45385 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45387         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45388         the '\0' terminator.
45390 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45392         [BZ #13550]
45393         * debug/segfault.c: Don't include <bp-checks.h>.
45394         * sysdeps/generic/bp-checks.h: Remove file.
45395         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45396         (__GETDENTS): Don't use CHECK_N.
45397         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45398         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45399         (__getgroups): Don't use CHECK_N.
45400         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45401         (setgroups): Don't use CHECK_N.
45402         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45403         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45404         (__libc_msgrcv): Don't use CHECK_N.
45405         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45406         (__libc_msgsnd): Don't use CHECK_N.
45407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45408         <bp-checks.h>.
45409         (__libc_pread): Don't use CHECK_N.
45410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45411         include <bp-checks.h>.
45412         (__libc_pread64): Don't use CHECK_N.
45413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45414         include <bp-checks.h>.
45415         (__libc_pwrite): Don't use CHECK_N.
45416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45417         include <bp-checks.h>.
45418         (__libc_pwrite64): Don't use CHECK_N.
45419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45420         <bp-checks.h>.
45421         (__libc_pread): Don't use CHECK_N.
45422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45423         include <bp-checks.h>.
45424         (__libc_pread64): Don't use CHECK_N.
45425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45426         include <bp-checks.h>.
45427         (__libc_pwrite): Don't use CHECK_N.
45428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45429         include <bp-checks.h>.
45430         (__libc_pwrite64): Don't use CHECK_N.
45431         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45432         (do_pread): Don't use CHECK_N.
45433         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45434         (do_pread64): Don't use CHECK_N.
45435         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45436         (do_pwrite): Don't use CHECK_N.
45437         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45438         (do_pwrite64): Don't use CHECK_N.
45439         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45440         (__libc_readv): Don't use CHECK_N.
45441         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45442         (semop): Don't use CHECK_N.
45443         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45444         <bp-checks.h>.
45445         (semtimedop): Don't use CHECK_N.
45446         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45447         (__libc_pread): Don't use CHECK_N.
45448         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45449         <bp-checks.h>.
45450         (__libc_pread64): Don't use CHECK_N.
45451         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45452         <bp-checks.h>.
45453         (__libc_pwrite): Don't use CHECK_N.
45454         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45455         <bp-checks.h>.
45456         (__libc_pwrite64): Don't use CHECK_N.
45457         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45458         <bp-checks.h>.
45459         (__libc_msgrcv): Don't use CHECK_N.
45460         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45461         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45462         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45463         (__libc_writev): Don't use CHECK_N.
45465 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45467         * string/strcpy.c: Removed unused variable.
45469         * Makeconfig (+sysdep-includes): Define with := rather than =.
45470         Use an existing include/ subdir of each sysdeps dir before it.
45472 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45474         * nscd/connection.c (register_traced_file): Comment function.
45475         [HAVE_INOTIFY] (union __inev): Define.
45476         [HAVE_INOTIFY] (inotify_check_files): New function.
45477         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45478         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45479         clear_db_cache.
45480         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45482 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45484         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45485         loaded if not already and that a failure is permanent.
45487 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45489         [BZ #15006]
45490         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45491         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45493 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45495         [BZ #13550]
45496         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45497         (CHECK_1_NULL_OK): Likewise.
45498         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45499         (__fxstat): Do not use CHECK_1.
45500         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45501         <bp-checks.h>.
45502         (___fxstat64): Do not use CHECK_1.
45503         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45504         <bp-checks.h>.
45505         (__fxstatat): Do not use CHECK_1.
45506         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45507         <bp-checks.h>.
45508         (__fxstatat64): Do not use CHECK_1.
45509         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45510         <bp-checks.h>.
45511         (__fxstat): Do not use CHECK_1.
45512         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45513         <bp-checks.h>.
45514         (__fxstatat): Do not use CHECK_1.
45515         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45516         <bp-checks.h>.
45517         (__getresgid): Do not use CHECK_1.
45518         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45519         <bp-checks.h>.
45520         (__getresuid): Do not use CHECK_1.
45521         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45522         <bp-checks.h>.
45523         (__lxstat): Do not use CHECK_1.
45524         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45525         <bp-checks.h>.
45526         (__old_msgctl): Do not use CHECK_1.
45527         (__new_msgctl): Likewise.
45528         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45529         <bp-checks.h>.
45530         (__new_setrlimit): Do not use CHECK_1.
45531         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45532         <bp-checks.h>.
45533         (__old_shmctl): Do not use CHECK_1.
45534         (__new_shmctl): Likewise.
45535         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45536         <bp-checks.h>.
45537         (__xstat): Do not use CHECK_1.
45538         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45539         (__lxstat): Do not use CHECK_1.
45540         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45541         <bp-checks.h>.
45542         (___lxstat64): Do not use CHECK_1.
45543         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45544         (__old_msgctl): Do not use CHECK_1.
45545         (__new_msgctl): Likewise.
45546         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45547         <bp-checks.h>.
45548         (__gettimeofday): Do not use CHECK_1.
45549         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45550         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45551         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45552         <bp-checks.h>.
45553         (__gettimeofday): Do not use CHECK_1.
45554         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45555         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45556         (__new_shmctl): Do not use CHECK_1.
45557         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45558         <bp-checks.h>.
45559         (do_sigtimedwait): Do not use CHECK_1.
45560         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45561         <bp-checks.h>.
45562         (do_sigwaitinfo): Do not use CHECK_1.
45563         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45564         <bp-checks.h>.
45565         (msgctl): Do not use CHECK_1.
45566         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45567         <bp-checks.h>.
45568         (shmctl): Do not use CHECK_1.
45569         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45570         (ustat): Do not use CHECK_1.
45571         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45572         <bp-checks.h>.
45573         (__fxstat): Do not use CHECK_1.
45574         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45575         <bp-checks.h>.
45576         (__fxstatat): Do not use CHECK_1.
45577         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45578         <bp-checks.h>.
45579         (__lxstat): Do not use CHECK_1.
45580         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45581         <bp-checks.h>.
45582         (__xstat): Do not use CHECK_1.
45583         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45584         (__xstat): Do not use CHECK_1.
45585         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45586         (___xstat64): Do not use CHECK_1.
45588         [BZ #13550]
45589         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45590         definitions.
45591         (CHECK_BOUNDS_HIGH): Likewise.
45592         * string/strcpy.c: Do not include <bp-checks.h>.
45593         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45595 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45597         * nscd/nscd-client.h (__nscd_drop_map_ref):
45598         Add __attribute__ ((unused)).
45599         * nis/nss-nisplus.h (niserr2nss): Likewise.
45601         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45602         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45604         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45605         Remove inline keyword.
45606         * include/rounding-mode.h (round_away): Likewise.
45607         * libio/wfileops.c (adjust_wide_data): Likewise.
45608         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45609         (__m128i_strloadu_tolower): Likewise.
45610         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45611         (__m128i_strloadu_tolower): Likewise.
45612         * time/mktime.c (ydhms_diff): Likewise.
45613         * locale/elem-hash.h (elem_hash): Likewise.
45614         * locale/setlocale.c (setdata): Likewise.
45615         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45616         (re_string_wchar_at): Likewise.
45617         (bitset_not, bitset_merge, bitset_mask): Likewise.
45618         [!(__GNUC__ > 3)] (inline): Remove macro.
45619         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45620         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45621         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45622         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45623         * string/memcmp.c (memcmp_bytes): Likewise.
45624         * locale/programs/locarchive.c (compute_hashval): Likewise.
45625         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45626         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45627         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45628         * nss/getent.c (print_rpc, print_protocols): Likewise.
45629         (print_passwd, print_group, print_aliases): Likewise.
45630         * nis/nss-nisplus.h (niserr2nss): Likewise.
45631         * nscd/connections.c (restart_p): Likewise.
45632         Change return type to bool.
45634 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45636         * Makeconfig (all-Depend-files): Add existing
45637         $(sorted-subdirs:=/Depend) files.
45638         (all-subdirs): Remove nss.
45639         * sysdeps/unix/inet/Subdirs: Add it here instead.
45640         * hesiod/Depend: New file.
45642         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45643         instead of calling alloca.
45645         * io/lseek.c (__lseek): Rename to __libc_lseek.
45646         Define __lseek as an alias.
45648         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45650 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45652         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45653         else clause and remove check for non-standard endianness.
45655 2013-02-04  David S. Miller  <davem@davemloft.net>
45657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45659 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45661         [BZ #13550]
45662         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45663         (__ubp_memchr): Remove prototype.
45664         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45665         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45666         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45667         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45668         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45669         Remove alias.
45670         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45671         (__ubp_memchr): Likewise.
45672         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45673         (__ubp_memchr): Likewise.
45674         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45675         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45676         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45677         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45678         CHECK_STRING.
45679         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45680         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45681         (__getcwd): Do not use CHECK_STRING.
45682         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45683         <bp-checks.h>.
45684         (__real_chown): Do not use CHECK_STRING.
45685         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45686         <bp-checks.h>.
45687         (fchownat): Do not use CHECK_STRING.
45688         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45689         CHECK_STRING.
45690         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45691         <bp-checks.h>.
45692         (__lchown): Do not use CHECK_STRING.
45693         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45694         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45695         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45696         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45698         include <bp-checks.h>.
45699         (truncate64): Do not use CHECK_STRING.
45700         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45701         <bp-checks.h>.
45702         (__real_chown): Do not use CHECK_STRING.
45703         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45704         <bp-checks.h>.
45705         (__lchown): Do not use CHECK_STRING.
45706         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45707         <bp-checks.h>.
45708         (__chown): Do not use CHECK_STRING.
45709         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45710         <bp-checks.h>.
45711         (truncate64): Do not use CHECK_STRING.
45712         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45713         Likewise.
45714         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45715         (__xmknod): Do not use CHECK_STRING.
45716         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45717         <bp-checks.h>.
45718         (__xmknodat): Do not use CHECK_STRING.
45719         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45720         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45722 2013-02-04  Andreas Schwab  <schwab@suse.de>
45724         [BZ #14142]
45725         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45726         * include/netdb.h: Likewise for h_errno.
45727         * elf/tst-stackguard1.c: Include <tls.h>.
45729 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45731         * elf/link.h (struct link_map): Extend the l_addr comment.
45732         * include/link.h (struct link_map): Likewise.
45734 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45736         [BZ #13550]
45737         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45738         (BOUNDED_1): Remove macro.
45739         * debug/backtrace.c: Don't include <bp-checks.h>.
45740         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45741         (__backtrace): Likewise.
45742         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45743         <bp-checks.h>.
45744         (__backtrace): Don't use BOUNDED_1.
45745         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45746         <bp-checks.h>.
45747         (__backtrace): Don't use BOUNDED_1.
45748         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45749         (__backtrace): Don't use BOUNDED_1.
45750         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45751         (shmat): Don't use BOUNDED_N.
45753 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45755         [BZ #13550]
45756         * sysdeps/generic/bp-start.h: Remove file.
45757         * csu/libc-start.c: Don't include <bp-start.h>.
45758         (LIBC_START_MAIN): Set up __environ directly instead of using
45759         INIT_ARGV_and_ENVIRON.
45760         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45761         <bp-start.h>.
45763         [BZ #13550]
45764         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45765         definitions.
45766         (CHECK_FCNTL): Likewise.
45767         (CHECK_N_PAGES): Likewise.
45769         [BZ #13550]
45770         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45771         definitions.
45772         (CHECK_SIGSET_NULL_OK): Likewise.
45773         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45774         <bp-checks.h>.
45775         (sigpending): Don't use CHECK_SIGSET.
45776         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45777         <bp-checks.h>.
45778         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45779         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45780         <bp-checks.h>.
45781         (do_sigsuspend): Don't use CHECK_SIGSET.
45782         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45783         use CHECK_SIGSET.
45784         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45785         (do_sigwait): Don't use CHECK_SIGSET.
45786         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45787         use CHECK_SIGSET.
45788         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45789         include <bp-checks.h>.
45790         (sigpending): Don't use CHECK_SIGSET.
45791         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45792         include <bp-checks.h>.
45793         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45794         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45795         <bp-checks.h>.
45796         (sigpending): Don't use CHECK_SIGSET.
45797         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45798         <bp-checks.h>.
45799         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45801         [BZ #13550]
45802         * sysdeps/generic/bp-semctl.h: Remove file.
45803         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45804         <bp-checks.h> and <bp-semctl.h>.
45805         (__old_semctl): Don't use CHECK_SEMCTL.
45806         (__new_semctl): Likewise.
45807         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45808         and <bp-semctl.h>.
45809         (__old_semctl): Don't use CHECK_SEMCTL.
45810         (__new_semctl): Likewise.
45811         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45812         <bp-checks.h> and <bp-semctl.h>.
45813         (__old_semctl): Don't use CHECK_SEMCTL.
45814         (__new_semctl): Likewise.
45815         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45816         <bp-checks.h> and <bp-semctl.h>.
45817         (semctl): Don't use CHECK_SEMCTL.
45819         [BZ #13550]
45820         * Makerules (elide-bp-thunks): Remove variable.
45821         (elide-routines.oS): Don't use $(elide-bp-thunks).
45822         (elide-routines.os): Likewise.
45823         (elide-routines.o): Likewise.
45824         (elide-routines.op): Likewise.
45825         (elide-routines.og): Likewise.
45826         (objects): Don't use $(bp-thunks).
45827         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45828         include.
45829         (common-generated): Do not add s-proto-bp.d.
45830         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45831         (int): Likewise.
45832         (typ): Likewise.
45833         Do not generate makefile rules for bounded-pointer thunks.
45834         * sysdeps/generic/bp-thunks.h: Remove file.
45835         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45836         * sysdeps/unix/s-proto-bp.S: Likewise.
45838         [BZ #15062]
45839         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45840         parts of result separately when argument is not close to line from
45841         -i to i and one part of argument is small.
45842         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45843         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45844         * math/libm-test.inc (cacos_test): Add more tests.
45845         (casin_test): Likewise.
45846         (casinh_test): Likewise.
45847         * sysdeps/i386/fpu/libm-test-ulps: Update.
45848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45850 2013-01-31  David S. Miller  <davem@davemloft.net>
45852         * po/de.po: Update from translation team.
45854 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45856         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45858 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45860         * configure.in (_AC_PROG_CC_C89): New definition.
45861         * configure: Regenerate.
45863         * configure.in (AC_PROG_CPP): New definition.
45864         * configure: Regenerate.
45866 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45868         * debug/tst-backtrace.h: New file.
45869         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45870         (ret): Remove variable.
45871         (x): Likewise.
45872         (FAIL): Remove macro.
45873         (NO_INLINE): Likewise.
45874         (fn1): Use match function instead of strstr.
45875         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45876         (ret): Remove variable.
45877         (x): Likewise.
45878         (FAIL): Remove macro.
45879         (NO_INLINE): Likewise.
45880         (fn): Use match function instead of strstr.
45881         * debug/tst-backtrace4.c: Include tst-backtrace.h.
45882         (ret): Remove variable.
45883         (x): Likewise.
45884         (FAIL): Remove macro.
45885         (NO_INLINE): Likewise.
45886         (handle_signal): Use match function instead of strstr.
45887         * debug/tst-backtrace5.c: Include tst-backtrace.h.
45888         (ret): Remove variable.
45889         (x): Likewise.
45890         (FAIL): Remove macro.
45891         (NO_INLINE): Likewise.
45892         (handle_signal): Use match function instead of strstr.
45894 2013-01-23  Roland McGrath  <roland@hack.frob.com>
45896         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
45898 2013-01-23  David S. Miller  <davem@davemloft.net>
45900         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
45901         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
45902         argument of CAS if possible.
45903         * sysdeps/sparc/sparc64/bits/atomic.h
45904         (__arch_compare_and_exchange_val_32_acq): Likewise.
45905         (__arch_compare_and_exchange_val_64_acq): Likewise.
45907 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
45909         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
45910         * sysdeps/posix/ulimit.c: ... this.
45911         Include <limits.h>.
45912         * sysdeps/unix/bsd/ulimit.c: Remove file.
45914 2013-01-23  Adam Conrad  <adconrad@0c3.net>
45916         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
45917         (LDFLAGS-tst-array5): Likewise.
45919 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45921         [BZ #15036]
45922         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
45923         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
45924         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
45925         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
45927 2013-01-21  David S. Miller  <davem@davemloft.net>
45929         * sysdeps/sparc/backtrace.c: New file.
45930         * sysdeps/sparc/sparc32/backtrace.h: New file.
45931         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
45932         * sysdeps/sparc/sparc64/backtrace.h: New file.
45933         * sysdeps/sparc/sparc64/backtrace.c: Delete.
45934         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
45935         -funwind-tables.
45937 2013-01-21  Andreas Schwab  <schwab@suse.de>
45939         [BZ #15020]
45940         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
45941         closed its stdout.
45943 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
45945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
45946         "mpa2.h".
45947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45949 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
45950             Mark Mitchell  <mark@codesourcery.com>
45951             Tom de Vries  <tom@codesourcery.com>
45952             Paul Pluzhnikov  <ppluzhnikov@google.com>
45954         * debug/tst-backtrace2.c: New file.
45955         * debug/tst-backtrace3.c: Likewise.
45956         * debug/tst-backtrace4.c: Likewise.
45957         * debug/tst-backtrace5.c: Likewise.
45958         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
45959         (CFLAGS-tst-backtrace3.c): Likewise.
45960         (CFLAGS-tst-backtrace4.c): Likewise.
45961         (CFLAGS-tst-backtrace5.c): Likewise.
45962         (LDFLAGS-tst-backtrace2): Likewise.
45963         (LDFLAGS-tst-backtrace3): Likewise.
45964         (LDFLAGS-tst-backtrace4): Likewise.
45965         (LDFLAGS-tst-backtrace5): Likewise.
45966         (tests): Add new tests tst-backtrace2, tst-backtrace3,
45967         tst-backtrace4 and tst-backtrace5.
45969 2013-01-18  Anton Blanchard  <anton@samba.org>
45970             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45972         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
45973         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
45974         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
45975         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
45976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45977         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
45978         "+r" and remove output regs list as redundant.  Add explicit inline
45979         asm to specify register of return val to work around compiler codegen
45980         bug.  Remove (int) cast on return value.  Add return type parameter to
45981         use in macro so that this macro does not truncate return value for
45982         64-bit values.
45983         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
45984         pass to INTERNAL_VSYSCALL_NCS.
45985         (INLINE_VSYSCALL): Add 'long int' as return type to
45986         INTERNAL_VSYSCALL_NCS macro invocation.
45987         (INTERNAL_VSYSCALL): Add 'long int' as return type to
45988         INTERNAL_VSYSCALL_NCS macro invocation.
45989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45991 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45993         [BZ #14496]
45994         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
45995         Fix application of SIMD FP exception mask.
45997         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
45998         mp_no from a power of two.
45999         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46000         __mpexp_twomm1.  Use __pow_mp.
46002         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46003         multiplication.
46005 2013-01-17  David S. Miller  <davem@davemloft.net>
46007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46009 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46011         [BZ #15023]
46012         * include/complex.h: Condition contents on [!_COMPLEX_H].
46013         (__kernel_casinhf): New prototype.
46014         (__kernel_casinh): Likewise.
46015         (__kernel_casinhl): Likewise.
46016         * math/Makefile (libm_calls): Add k_casinh.
46017         * math/k_casinh.c: New file.
46018         * math/k_casinhf.c: Likewise.
46019         * math/k_casinhl.c: Likewise.
46020         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46021         finite nonzero arguments.
46022         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46023         finite nonzero arguments.
46024         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46025         finite nonzero arguments.
46026         * math/s_casinh.c: Do not include <float.h>.
46027         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46028         * math/s_casinhf.c: Do not include <float.h>.
46029         (__casinhf): Move code for finite nonzero arguments to
46030         k_casinhf.c.
46031         * math/s_casinhl.c: Do not include <float.h>.
46032         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46033         redefine.
46034         (__casinhl): Move code for finite nonzero arguments to
46035         k_casinhl.c.
46036         * math/libm-test.inc (cacos_test): Add more tests.
46037         * sysdeps/i386/fpu/libm-test-ulps: Update.
46038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46040 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46042         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46043         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46044         [!HAVE_MREMAP]: Remove [defined linux] case.
46045         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46047 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46049         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46051 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46053         * elf/elf.h (R_386_SIZE32): New relocation.
46054         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46055         R_386_SIZE32.
46056         (elf_machine_rela): Likewise.
46057         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46058         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46060 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46062         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46063         (FP_FAST_FMA): Do not define.
46064         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46065         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46066         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46067         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46068         !_SOFT_FLOAT]: Likewise.
46069         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46070         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46071         value.
46072         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46073         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46074         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46075         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46076         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46077         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46078         file.
46080 2013-01-16  Andreas Schwab  <schwab@suse.de>
46082         [BZ #14327]
46083         * include/stdlib.h (__mktemp): Add declaration.
46084         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46085         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46087 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46089         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46090         definitions.
46091         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46092         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46093         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46094         definitions here.
46095         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46096         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46097         definitions.
46098         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46099         and ONE.
46100         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46101         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46102         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46103         definitions.
46104         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46105         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46106         definitions.
46107         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46109         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46111 2013-01-15  David S. Miller  <davem@davemloft.net>
46113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46114         trunc{,f} to libm-sysdep_routes.
46115         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46117         file.
46118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46120         file.
46121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46122         file.
46123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46125         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46126         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46127         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46128         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46129         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46130         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46133         nearbyint{,f} to libm-sysdep_routes.
46134         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46136         New file.
46137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46138         file.
46139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46140         New file.
46141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46142         file.
46143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46145         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46146         file.
46147         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46148         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46149         file.
46150         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46151         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46152         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46154         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46155         libc_feholdexcept and libc_fesetenv.
46157 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46159         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46161 2013-01-14  David S. Miller  <davem@davemloft.net>
46163         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46164         (SPARC_ASM_VIS2_IFUNC): Likewise.
46165         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46167         use of 'siam' instruction.
46168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46169         Likewise.
46170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46171         Likewise.
46172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46173         Likewise.
46174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46179         file.
46180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46181         file.
46182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46183         file.
46184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46185         file.
46186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46191         new VIS2 routines.
46192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46195         Likewise.
46196         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46197         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46198         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46199         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46201         routines to libm-sysdep_routines.
46202         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46205         fdim/fdimf to libm-sysdep_routines.
46206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46207         file.
46208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46210         file.
46211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46214         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46215         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46216         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46217         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46219 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46221         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46222         to optimize copies.
46224         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46229         local variable MPTWO.
46230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46231         Likewise.
46233 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46235         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46236         GLOB_NOESCAPE.
46238 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46240         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46242 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46244         * manual/pattern.texi (glob_t): Document gl_flags.
46245         (glob64_t): Likewise.
46247 2013-01-11  David S. Miller  <davem@davemloft.net>
46249         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46250         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46251         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46252         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46253         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46254         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46255         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46256         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46257         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46258         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46259         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46260         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46261         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46263         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46264         sparc V9 rather than using V8 code.
46265         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46266         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46268         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46269         Move to...
46270         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46271         Here.
46273 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46275         [BZ #14941]
46276         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46277         not in the main loop.
46278         * configure: Regenerated.
46280 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46282         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46283         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46284         to just #else.
46285         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46286         [!__GLIBC_HAVE_LONG_LONG] case.
46287         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46288         condition to just #else.
46289         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46290         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46291         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46292         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46293         unconditional.
46294         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46295         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46296         #elif condition to just #else.
46297         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46298         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46299         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46300         #elif condition to just #else.
46302 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46304         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46305         (EF_MIPS_ARCH_64): Fix value.
46306         (EF_MIPS_ARCH_32R2): New.
46307         (EF_MIPS_ARCH_64R2): New.
46309 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46311         * Makeconfig (+link-pie-before-libc): New.
46312         (+link-pie-after-libc): Likewise.
46313         (+link-pie-tests): Likewise.
46314         (+link-pie): Rewritten.
46315         (link-before-libc): Remove $(config-LDFLAGS).
46316         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46317         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46318         (config-LDFLAGS): Renamed to ...
46319         (rtld-LDFLAGS): This.
46320         (rtld-tests-LDFLAGS): New macro.
46321         (link-libc-rpath-link): Likewise.
46322         (link-libc-tests-rpath-link): Likewise.
46323         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46324         (link-libc): Prepand $(link-libc-rpath-link).
46325         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46326         (test-program-prefix): New macro.
46327         (test-via-rtld-prefix): Likewise.
46328         (test-program-cmd): Likewise.
46329         (host-test-program-cmd): Likewise.
46330         * Makefile ($(common-objpfx)testrun.sh): Replace
46331         $(run-program-prefix) with $(test-program-prefix).
46332         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46333         $(rtld-LDFLAGS).
46334         ($(common-objpfx)shlib.lds): Likewise.
46335         (build-module-helper): Likewise.
46336         ($(common-objpfx)format.lds): Likewise.
46337         * Rules (binaries-pie-tests): New.
46338         (binaries-pie-notests): Likewise.
46339         (binaries-pie): Rewritten.
46340         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46341         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46342         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46343         (make-test-out): Replace $(host-built-program-cmd) with
46344         $(host-test-program-cmd).
46345         * config.make.in (build-hardcoded-path-in-tests): New variable.
46346         * configure.in (--enable-hardcoded-path-in-tests): New configure
46347         option.
46348         (hardcoded_path_in_tests): New AC_SUBST.
46349         * configure: Regenerated.
46350         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46351         $(built-program-cmd) with $(test-program-cmd).
46352         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46353         (test_program_cmd): This.
46354         * elf/Makefile ($(objpfx)order.out): Run test with
46355         $(test-program-prefix).
46356         ($(objpfx)order2.out): Likewise.
46357         ($(objpfx)tst-initorder.out): Likewise.
46358         ($(objpfx)tst-initorder2.out): Likewise.
46359         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46360         $(test-program-cmd).
46361         ($(objpfx)tst-array1-static.out): Likewise.
46362         ($(objpfx)tst-array2.out): Likewise.
46363         ($(objpfx)tst-array3.out): Likewise.
46364         ($(objpfx)tst-array4.out): Likewise.
46365         ($(objpfx)tst-array5.out): Likewise.
46366         ($(objpfx)tst-array5-static.out): Likewise.
46367         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46368         $(test-program-cmd).
46369         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46370         $(run-program-prefix) with $(test-program-prefix).
46371         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46372         (test_program_prefix): This.
46373         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46374         $(run-program-prefix) with $(test-program-prefix).
46375         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46376         (test_program_prefix): This.
46377         * iconvdata/tst-tables.sh: Likewise.
46378         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46379         $(run-program-prefix) with $(test-program-prefix).
46380         ($(objpfx)tst-translit.out): Likewise.
46381         ($(objpfx)tst-gettext2.out): Likewise.
46382         ($(objpfx)tst-gettext4.out): Likewise.
46383         ($(objpfx)tst-gettext6.out): Likewise.
46384         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46385         (test_program_prefix): This.
46386         * intl/tst-gettext2.sh: Likewise.
46387         * intl/tst-gettext4.sh  Likewise.
46388         * intl/tst-gettext6.sh: Likewise.
46389         * intl/tst-translit.sh: Likewise.
46390         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46391         with $(test-program-cmd).
46392         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46393         $(run-program-prefix) with $(test-program-prefix).
46394         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46395         (test_program_prefix): This.
46396         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46397         $(run-program-prefix) with $(test-program-prefix).
46398         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46399         (test_program_prefix): This.
46400         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46401         * posix/Makefile ($(objpfx)globtest.out): Replace
46402         $(run-via-rtld-prefix) and $(test-wrapper) with
46403         $(test-program-prefix) and $(test-via-rtld-prefix).
46404         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46405         $(test-program-prefix).
46406         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46407         $(host-test-program-cmd).
46408         (tst-spawn-ARGS): Likewise.
46409         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46410         $(test-program-prefix).
46411         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46412         (test_via_rtld_prefix): This.
46413         (test_wrapper): Renamed to ...
46414         (test_program_prefix): This.
46415         (run_program_prefix): Replaced by test_program_prefix.
46416         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46417         (test_program_prefix): This.
46418         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46419         with $(host-test-program-cmd).
46420         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46421         $(run-program-prefix) with $(test-program-prefix).
46422         ($(objpfx)tst-printf.out): Likewise.
46423         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46424         $(test-program-cmd).
46425         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46426         (test_program_prefix): This.
46427         * stdio-common/tst-unbputc.sh: Likewise.
46428         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46429         $(run-program-prefix) with $(test-program-prefix).
46430         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46431         (test_program_prefix): This.
46432         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46433         $(built-program-cmd) with $(test-program-cmd).
46435 2013-01-11  Andreas Jaeger  <aj@suse.de>
46437         [BZ #15003]
46438         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46439         value. Sync with Linux 3.7.
46441 2013-01-10  David S. Miller  <davem@davemloft.net>
46443         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46444         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46445         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46447 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46449         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46450         never set.
46451         * configure: Regenerated.
46453 2013-01-10  David S. Miller  <davem@davemloft.net>
46455         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46456         sparc V9 rather than using V8 code.
46457         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46458         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46460 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46462         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46463         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46464         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46465         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46466         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46467         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46468         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46469         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46470         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46471         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46472         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46473         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46474         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46475         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46476         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46477         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46478         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46479         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46480         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46481         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46482         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46483         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46484         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46485         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46486         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46487         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46488         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46490 2013-01-10  David S. Miller  <davem@davemloft.net>
46492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46494 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46496         * posix/Makefile (tests-static): New variable.
46497         (tests): Add $(tests-static).
46498         (tst-exec-static-ARGS): New variable.
46499         (tst-spawn-static-ARGS): Likewise.
46500         * posix/tst-exec-static.c: New file.
46501         * posix/tst-spawn-static.c: Likewise.
46502         * posix/tst-exec.c: Support run directly.
46503         * posix/tst-spawn.c: Likewise.
46505 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46507         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46508         long.
46509         * math/bits/mathcalls.h (llrint): Likewise.
46510         (llround): Likewise.
46511         * stdlib/stdlib.h (struct drand48_data): Likewise.
46512         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46513         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46514         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46515         Likewise.
46516         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46517         Likewise.
46518         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46519         (elf_greg_t): Likewise.
46520         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46521         (__jmp_buf): Likewise.
46522         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46523         definitions.
46524         (llrint): Likewise, for all definitions.
46525         (llrintl): Likewise.
46527         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46528         Remove [__GNUC__] condition.
46529         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46530         condition to just [__USE_ISOC99].
46531         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46533 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46535         [BZ #14200]
46536         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46537         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46538         defined.
46539         (_POSIX_V6_ILP32_OFF32): Likewise.
46540         (_XBS5_ILP32_OFF32): Likewise.
46541         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46542         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46544 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46546         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46548         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46549         doubles __mpexp_twomm1.  Adjust usage.
46550         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46551         Remove.
46553 2013-01-10  Andreas Schwab  <schwab@suse.de>
46555         [BZ #14964]
46556         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46557         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46559 2013-01-09  David S. Miller  <davem@davemloft.net>
46561         [BZ #15003]
46562         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46563         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46564         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46565         (TCP_FASTOPEN): Define.
46566         (tcp_repair_opt): New structure.
46567         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46568         enum values.
46569         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46570         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46571         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46572         (tcp_cookie_transactions): New structure.
46574 2013-01-09  Anton Blanchard  <anton@samba.org>
46576         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46577         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46578         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46579         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46581 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46583         * include/features.h (__USE_ANSI): Remove.
46585 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46587         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46589         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46591 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46593         * sysdeps/s390/fpu/libm-test-ulps: Update.
46595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46597         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46598         (__acr): Likewise.
46599         (__cpy): Likewise.
46600         (norm): Likewise.
46601         (denorm): Likewise.
46602         (__mp_dbl): Likewise.
46603         (__dbl_mp): Likewise.
46604         (add_magnitudes): Likewise.
46605         (sub_magnitudes): Likewise.
46606         (__add): Likewise.
46607         (__sub): Likewise.
46608         (__mul): Likewise.
46609         (__inv): Likewise.
46610         (__dvd): Likewise.
46611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46612         (__acr): Likewise.
46613         (__cpy): Likewise.
46614         (norm): Likewise.
46615         (denorm): Likewise.
46616         (__mp_dbl): Likewise.
46617         (__dbl_mp): Likewise.
46618         (add_magnitudes): Likewise.
46619         (sub_magnitudes): Likewise.
46620         (__add): Likewise.
46621         (__sub): Likewise.
46622         (__mul): Likewise.
46623         (__inv): Likewise.
46624         (__dvd): Likewise.
46625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46626         (__acr): Likewise.
46627         (__cpy): Likewise.
46628         (norm): Likewise.
46629         (denorm): Likewise.
46630         (__mp_dbl): Likewise.
46631         (__dbl_mp): Likewise.
46632         (add_magnitudes): Likewise.
46633         (sub_magnitudes): Likewise.
46634         (__add): Likewise.
46635         (__sub): Likewise.
46636         (__mul): Likewise.
46637         (__inv): Likewise.
46638         (__dvd): Likewise.
46640 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46642         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46643         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46644         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46645         2 && __USE_EXTERN_INLINES]: Likewise.
46647 2013-01-08  Andreas Jaeger  <aj@suse.de>
46649         [BZ# 14985]
46650         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46651         Remove.
46652         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46653         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46655 2013-01-07  Anton Blanchard  <anton@samba.org>
46657         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46658         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46659         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46660         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46661         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46662         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46663         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46664         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46666         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46667         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46668         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46669         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46670         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46671         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46672         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46673         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46674         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46675         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46676         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46677         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46678         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46679         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46680         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46681         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46682         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46683         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46684         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46685         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46686         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46687         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46688         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46689         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46690         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46691         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46692         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46693         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46694         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46695         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46696         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46697         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46698         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46699         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46701 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46703         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46704         (__MALLOC_PMT): Likewise.
46705         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46706         [__GNUC__], only on [_LIBC].
46707         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46708         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46709         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46710         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46711         forward declaration.
46712         (realloc_hook_ini): Likewise.
46713         (memalign_hook_ini): Likewise.
46714         (__libc_memalign): Do not use __MALLOC_PMT in variable
46715         declaration.
46716         (__libc_valloc): Likewise.
46717         (__libc_pvalloc): Likewise.
46718         (__libc_calloc): Likewise.
46719         (__posix_memalign): Likewise.
46721         [BZ #14996]
46722         * math/s_casinh.c: Include <float.h>.
46723         (__casinh): Do not do computation with squaring and square root
46724         for large arguments.
46725         * math/s_casinhf.c: Include <float.h>.
46726         (__casinhf): Do not do computation with squaring and square root
46727         for large arguments.
46728         * math/s_casinhl.c: Include <float.h>.
46729         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46730         (__casinhl): Do not do computation with squaring and square root
46731         for large arguments.
46732         * math/libm-test.inc (casin_test): Add more tests.
46733         (casinh_test): Likewise.
46734         * sysdeps/i386/fpu/libm-test-ulps: Update.
46735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46737 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46739         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46740         (__x86_64_raw_data_cache_size): Likewise.
46741         (__x86_64_data_cache_size_half): Likewise.
46742         (__x86_64_raw_data_cache_size_half): Likewise.
46743         (__x86_64_shared_cache_size): Likewise.
46744         (__x86_64_raw_shared_cache_size): Likewise.
46745         (__x86_64_shared_cache_size_half): Likewise.
46746         (__x86_64_raw_shared_cache_size_half): Likewise.
46747         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46748         to ...
46749         (__x86_data_cache_size): This.
46750         (__x86_64_raw_data_cache_size): Renamed to ...
46751         (__x86_raw_data_cache_size): This.
46752         (__x86_64_data_cache_size_half): Renamed to ...
46753         (__x86_data_cache_size_half): This.
46754         (__x86_64_raw_data_cache_size_half): Renamed to ...
46755         (__x86_raw_data_cache_size_half): This.
46756         (__x86_64_shared_cache_size): Renamed to ...
46757         (__x86_shared_cache_size): This.
46758         (__x86_64_raw_shared_cache_size): Renamed to ...
46759         (__x86_raw_shared_cache_size): This.
46760         (__x86_64_shared_cache_size_half): Renamed to ...
46761         (__x86_shared_cache_size_half): This.
46762         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46763         (__x86_raw_shared_cache_size_half): This.
46764         * sysdeps/x86_64/memcpy.S: Updated.
46765         * sysdeps/x86_64/memset.S: Likewise.
46766         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46767         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46768         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46770 2013-01-04  David S. Miller  <davem@davemloft.net>
46772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46774 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46776         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46777         1 to avoid redefinition warning.
46778         (__USE_GNU): Don't define.
46779         (init_signaling_nan): Protoize.
46781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46783 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46785         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46787         (__cpymn): Likewise.
46788         (norm): Remove commented code.
46789         (denorm): Likewise.
46790         (__mp_dbl): Likewise.
46791         (__inv): Likewise.
46792         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46793         (__cpymn): Likewise.
46794         (norm): Remove commented code.
46795         (denorm): Likewise.
46796         (__mp_dbl): Likewise.
46797         (__inv): Likewise.
46799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46800         mp_no value for 1.0 and 2.0.
46801         (norm): Use RADIXI instead of radixi.d.
46802         (denorm): Likewise.
46803         (__mul): Use 0.0 instead of zero.d.
46804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46805         mp_no value for 1.0 and 2.0.
46806         (norm): Use RADIXI instead of radixi.d.
46807         (denorm): Likewise.
46808         (__mul): Use 0.0 instead of zero.d.
46810 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46812         [BZ #14994]
46813         * math/s_casinh.c (__casinh): Reduce finite argument to first
46814         quadrant then set signs of results at the end.
46815         * math/s_casinhf.c (__casinhf): Likewise.
46816         * math/s_casinhl.c (__casinhl): Likewise.
46817         * math/libm-test.inc (casin_test): Add more tests.
46818         (casinh_test): Likewise.
46819         * sysdeps/i386/fpu/libm-test-ulps: Update.
46820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46822 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46824         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46826         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46828         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46829         declarations.
46830         (denorm): Likewise.
46831         (__mp_dbl): Likewise.
46832         (__inv): Likewise.
46834         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46835         and adjust the header comment.
46837         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46838         variable name from declaration.
46840 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46843         Initialize COMMON_CPUID_INDEX_7 element.
46844         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46845         (CPUID_RTM): Likewise.
46846         (HAS_RTM): Likewise.
46847         (COMMON_CPUID_INDEX_7): New enum.
46849 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46851         [BZ #14981]
46852         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46853         size is zero, record memory as freed.
46855 2013-01-03  Andreas Jaeger  <aj@suse.de>
46857         * po/ia.po: Add new Interlingua translation.
46859 2012-01-03  Allan McRae  <allan@archlinux.org>
46861         * locale/programs/localedef.c: Fix description of '--posix' flag.
46863 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46865         * NEWS: Update dates in second copyright notice.
46866         * README: Update copyright dates in example.
46867         * manual/libc.texinfo: Update copyright dates.
46868         * scripts/test-installation.pl: Update copyright date in --version
46869         output.
46871         * hurd/ctty-input.c: Fix copyright notice formatting.
46872         * hurd/ctty-output.c: Likewise.
46873         * hurd/dtable.c: Likewise.
46874         * hurd/hurd-raise.c: Likewise.
46875         * hurd/hurdprio.c: Likewise.
46876         * hurd/msgportdemux.c: Likewise.
46877         * misc/sys/file.h: Likewise.
46878         * misc/sys/ioctl.h: Likewise.
46879         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46880         * sysdeps/mach/hurd/chdir.c: Likewise.
46881         * sysdeps/mach/hurd/fchdir.c: Likewise.
46882         * sysdeps/mach/hurd/rename.c: Likewise.
46883         * sysdeps/mach/hurd/rmdir.c: Likewise.
46884         * sysdeps/mach/hurd/seekdir.c: Likewise.
46885         * sysdeps/mach/hurd/setsid.c: Likewise.
46886         * sysdeps/posix/wait3.c: Likewise.
46888         * All files with FSF copyright notices: Update copyright dates
46889         using scripts/update-copyrights.
46890         * intl/plural.c: Regenerated.
46891         * locale/programs/charmap-kw.h: Likewise.
46892         * locale/programs/locfile-kw.h: Likewise.
46894 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46896         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
46897         four values.
46899         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
46900         calculation loop and add branch prediction.
46902         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
46903         check access beyond bounds of m1np.
46905         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46906         MPTWO.
46907         (__inv): Remove local variable MPTWO to use the global
46908         constant.
46909         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
46910         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46911         variable MPTWO.
46912         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
46913         MP3HALFS static const.
46915 2013-01-01  David S. Miller  <davem@davemloft.net>
46917         * po/ca.po: Update from translation team.
46919 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
46921         * scripts/update-copyrights: New file.
46922         * Makeconfig: Reformat copyright notice.
46923         * ctype/ctype.h: Likewise.
46924         * debug/swprintf_chk.c: Likewise.
46925         * elf/dl-cache.c: Likewise.
46926         * elf/dl-debug.c: Likewise.
46927         * elf/dl-object.c: Likewise.
46928         * grp/initgroups.c: Likewise.
46929         * hurd/Makefile: Likewise.
46930         * hurd/hurd/signal.h: Likewise.
46931         * hurd/hurdfault.c: Likewise.
46932         * hurd/hurdioctl.c: Likewise.
46933         * hurd/hurdlookup.c: Likewise.
46934         * hurd/intr-msg.c: Likewise.
46935         * iconv/gconv_open.c: Likewise.
46936         * libio/swprintf.c: Likewise.
46937         * locale/lc-ctype.c: Likewise.
46938         * locale/nl_langinfo.c: Likewise.
46939         * mach/Machrules: Likewise.
46940         * mach/Makefile: Likewise.
46941         * malloc/obstack.h: Likewise.
46942         * manual/Makefile: Likewise.
46943         * manual/tsort.awk: Likewise.
46944         * misc/bits/stab.def: Likewise.
46945         * nis/nis_print_group_entry.c: Likewise.
46946         * nis/nis_table.c: Likewise.
46947         * nis/nss_compat/compat-pwd.c: Likewise.
46948         * nis/nss_compat/compat-spwd.c: Likewise.
46949         * po/Makefile: Likewise.
46950         * posix/fnmatch.c: Likewise.
46951         * posix/regex.h: Likewise.
46952         * resolv/Makefile: Likewise.
46953         * resolv/nss_dns/dns-network.c: Likewise.
46954         * resolv/res_hconf.c: Likewise.
46955         * scripts/gen-sorted.awk: Likewise.
46956         * soft-fp/soft-fp.h: Likewise.
46957         * stdio-common/printf.h: Likewise.
46958         * stdlib/monetary.h: Likewise.
46959         * stdlib/random.c: Likewise.
46960         * stdlib/random_r.c: Likewise.
46961         * sysdeps/generic/Makefile: Likewise.
46962         * sysdeps/gnu/Makefile: Likewise.
46963         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46964         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46965         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46966         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46967         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46968         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46969         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46970         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46971         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46972         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46973         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46974         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46975         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46976         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46977         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
46978         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46979         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46980         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46981         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46982         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46983         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46984         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46985         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46986         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46987         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
46988         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46989         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46990         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
46991         * sysdeps/mach/hurd/errnos.awk: Likewise.
46992         * sysdeps/mach/hurd/fork.c: Likewise.
46993         * sysdeps/mach/hurd/getcwd.c: Likewise.
46994         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
46995         * sysdeps/mach/hurd/mmap.c: Likewise.
46996         * sysdeps/mach/hurd/utimes.c: Likewise.
46997         * sysdeps/mach/hurd/xmknod.c: Likewise.
46998         * sysdeps/posix/profil.c: Likewise.
46999         * sysdeps/posix/readdir_r.c: Likewise.
47000         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47001         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47002         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47003         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47005         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47006         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47007         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47009         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47010         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47011         * sysdeps/pthread/lio_listio.c: Likewise.
47012         * sysdeps/sparc/dl-procinfo.h: Likewise.
47013         * sysdeps/unix/i386/sysdep.S: Likewise.
47014         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47015         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47016         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47017         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47019         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47020         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47021         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47022         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47023         * sysdeps/wordsize-32/divdi3.c: Likewise.
47024         * time/sys/time.h: Likewise.
47025         * wcsmbs/Makefile: Likewise.
47027 2013-01-01  David S. Miller  <davem@davemloft.net>
47029         * po/fr.po: Update from translation team.
47031         * catgets/gencat.c: Update copyright year.
47032         * csu/version.c: Likewise.
47033         * debug/catchsegv.sh: Likewise.
47034         * debug/pcprofiledump.c: Likewise.
47035         * debug/xtrace.sh: Likewise.
47036         * elf/ldconfig.c: Likewise.
47037         * elf/ldd.bash.in: Likewise.
47038         * elf/pldd.c: Likewise.
47039         * elf/sotruss.ksh: Likewise.
47040         * elf/sprof.c: Likewise.
47041         * iconv/iconv_prog.c: Likewise.
47042         * iconv/iconvconfig.c: Likewise.
47043         * locale/programs/locale.c: Likewise.
47044         * locale/programs/localedef.c: Likewise.
47045         * login/programs/pt_chown.c: Likewise.
47046         * malloc/memusage.sh: Likewise.
47047         * malloc/memusagestat.c: Likewise.
47048         * malloc/mtrace.pl: Likewise.
47049         * nscd/nscd.c: Likewise.
47050         * nss/getent.c: Likewise.
47051         * nss/makedb.c: Likewise.
47052         * posix/getconf.c: Likewise.
47054 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47056         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47057         numbers.
47059 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47061         * math/bits/mathcalls.h (modf): Use __nonnull.
47063 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47065         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47066         (split): Use macro CN instead of the bare value.
47067         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47068         could be used.
47069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47070         instead of the bare value.
47071         (power1): Likewise.
47073 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47075         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47076         __ATAN_TWOM.
47077         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47079         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47080         their values.
47081         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47082         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47083         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47084         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47086 2012-12-28  Andreas Jaeger  <aj@suse.de>
47088         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47089         values are from Linux 3.7.
47091         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47092         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47094 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47096         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47097         TRUE case.
47099         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47100         (norm): Likewise.
47101         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47102         variables with preprocessor constants.
47103         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47104         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47105         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47107 2012-12-27  Bruno Haible  <bruno@clisp.org>
47109         [BZ #14317]
47110         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47111         only if needed.
47113 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47115         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47116         and use variable directly.
47117         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47119         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47120         MPONE.
47121         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47122         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47123         variable MPONE.
47124         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47126         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47127         include directive.  Remove local variable MPONE.
47128         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47129         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47130         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47132 2012-12-25  David S. Miller  <davem@davemloft.net>
47134         * version.h (RELEASE): Set to "development".
47135         (VERSION): Set to "2.17.90".
47136         * NEWS: Add 2.18 section.
47138 2012-12-21  David S. Miller  <davem@davemloft.net>
47140         * po/hr.po: Update from translation team.
47142 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47144         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47146 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47148         * NEWS:  Mention new memcpy for MIPS.
47150 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47152         * manual/contrib.texi (Contributors): Spelling correction.
47154 2012-12-15  David S. Miller  <davem@davemloft.net>
47156         * po/ru.po: Update from translation team.
47158 2012-12-13  David S. Miller  <davem@davemloft.net>
47160         * NEWS: Mention IFUNC testsuite enhancements.
47162         * po/pl.po: Update from translation team.
47163         * po/bg.po: Likewise.
47165         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47166         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47168 2012-12-11  David S. Miller  <davem@davemloft.net>
47170         * po/sv.po: Update from translation team.
47172         * po/vi.po: Update from translation team.
47174         * po/cs.po: Update from translation team.
47176         * po/de.po: Update from translation team.
47177         * po/eo.po: Likewise.
47178         * po/nl.po: Likewise.
47180 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47182         [BZ #14246]
47183         * manual/argp.texi (Argp Helper Functions): Move node to follow
47184         Argp Parsing State.
47186         [BZ #14872]
47187         * manual/conf.texi (Limits on File System Capacity): Mention if
47188         terminating null is included in the max size.
47190 2012-12-10  Andreas Jaeger  <aj@suse.de>
47192         * po/cs.po: Update from translation team.
47194 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47196         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47197         void pointer and cast to uintptr_t.
47198         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47199         path.
47200         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47201         * sysdeps/s390/s390-64/memset.S: Likewise.
47203 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47205         [BZ #14833]
47206         * menual/message.texi (Message Translation): Fix typos.
47207         (Helper programs for gettext): Likewise.
47209 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47211         [BZ #14898]
47212         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47213         Change to -1.
47215 2012-12-07  David S. Miller  <davem@davemloft.net>
47217         * po/libc.pot: Update.
47219 2012-12-07  Richard Henderson  <rth@redhat.com>
47221         [BZ #10114]
47222         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47223         normal/normal case to before the switch.
47224         (_FP_DIV): Likewise.
47226 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47227             Mike Frysinger  <vapier@gentoo.org>
47229         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47230         check for __NR_fadvise64_64.
47232 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47234         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47235         0, not just to plain "0" as a statement.
47236         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47237         with cw.
47239 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47241         * NEWS: Use sourceware.org in Bugzilla URL.
47243 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47246         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47248         * stdio-common/tst-put-error.c (do_test): Add newline to the
47249         padded test to ensure flush.
47251 2012-12-05  Jeff Law  <law@redhat.com>
47253         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47255 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47257         * README: Don't refer to ports add-on as distributed separately.
47258         Mention AArch64 in list of systems supported in the ports add-on.
47260         * LICENSES: Add more non-FSF copyright and license notices.
47262         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47263         ((unused)).
47265         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47267         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47268         10000 as width of padded output.
47270 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47272         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47274         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47275         variable LX with __attribute__ ((unused)).
47276         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47277         Likewise.
47278         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47279         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47280         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47281         with __attribute__ ((unused)).
47283 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47285         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47287 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47289         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47290         (CFLAGS-nldbl-acos.c): New variable.
47291         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47292         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47293         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47294         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47295         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47296         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47297         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47298         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47299         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47300         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47301         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47302         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47303         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47304         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47305         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47306         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47307         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47308         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47309         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47310         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47311         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47312         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47313         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47314         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47315         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47316         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47317         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47318         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47319         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47320         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47321         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47322         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47323         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47324         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47325         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47326         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47327         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47328         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47329         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47330         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47331         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47332         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47333         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47334         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47335         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47336         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47337         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47338         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47339         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47340         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47341         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47342         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47343         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47344         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47345         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47346         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47347         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47348         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47349         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47350         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47351         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47352         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47353         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47354         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47355         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47356         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47357         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47358         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47359         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47360         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47361         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47362         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47363         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47364         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47365         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47366         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47367         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47368         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47369         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47370         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47371         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47372         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47373         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47374         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47375         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47376         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47377         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47378         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47379         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47380         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47381         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47382         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47383         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47384         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47385         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47386         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47387         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47390         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47392         [BZ #14914]
47393         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47394         whole low double instead of just low 47 bits when splitting values
47395         into two parts.
47397 2012-12-03  Allan McRae  <allan@archlinux.org>
47399         * manual/stdio.texi (Predefined Printf Handlers): Remove
47400         @hsep and @vsep usage.
47402 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47404         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47405         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47407 2012-12-03  Jeff Law  <law@redhat.com>
47409         * time/sys/time.h (settimeofday): Do not mark TV argument
47410         as __nonnull.
47412 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47414         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47415         when currently writing and seek to current position when not.
47416         * libio/Makefile (tests): Remove bug-fclose1.
47417         * libio/bug-fclose1.c: Delete.
47419 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47421         * manual/arith.texi (feenableexcept): Fix typo.
47422         (fedisableexcept): Likewise.
47424 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47426         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47427         second, differently-typed declaration, rather than a cast.
47429 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47431         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47432         * include/rpc/svc.h: ... here.
47434 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47436         [BZ #13013]
47437         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47438         depending n and resplen2 to catch cases where answer
47439         equals answerp2.
47441 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47443         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47444         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47446 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47448         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47450 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47452         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47454 2012-11-28  Jeff Law  <law@redhat.com>
47456         [BZ #13761]
47457         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47458         dataset_temporary.  Track alloca usage into alloca_used.
47459         If dataset is large allocate and release it via malloc/free.
47461 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47463         [BZ #14197]
47464         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47466 2012-11-28  David S. Miller  <davem@davemloft.net>
47468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47470 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47472         [BZ #14803]
47473         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47474         of pi/2 rounded to nearest to 64 bits.
47475         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47476         nearest to 64 bits.
47477         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47478         bits.
47480 2012-11-28  Jeff Law <law@redhat.com>
47481             Martin Osvald <mosvald@redhat.com>
47483         [BZ #14889]
47484         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47485         * sunrpc/svc.c: Include time.h.
47486         (__svc_accept_failed): New function.
47487         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47488         any reason other than EINTR, call __svc_accept_failed.
47489         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47490         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47492 2012-11-28  Andreas Schwab  <schwab@suse.de>
47494         * scripts/abilist.awk: Also handle indirect functions in .opd
47495         section.
47497 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47499         [BZ #13881]
47500         * sysdeps/x86/fpu/powl_helper.c: New file.
47501         * sysdeps/x86/fpu/Makefile: Likewise.
47502         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47503         (p3): New object.
47504         (__ieee754_powl): Use __powl_helper for finite arguments except
47505         integer exponents below 8.
47506         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47507         (p3): New object.
47508         (__ieee754_powl): Use __powl_helper for finite arguments except
47509         integer exponents below 8.
47510         * math/libm-test.inc (pow_test): Add more tests and enable some
47511         previously disabled tests.
47512         * sysdeps/i386/fpu/libm-test-ulps: Update.
47513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47515 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47516             Carlos O'Donell  <carlos_odonell@mentor.com>
47518         * nss/makedb.c (is_prime): Assert that input is odd and greater
47519         than 4.  Note that fact in a comment too.
47520         (next_prime): Add 4 to input.
47522 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47524         [BZ #11741]
47525         * libio/Makefile (tests): Add test case tst-fwrite-error.
47526         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47527         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47528         * libio/tst-fwrite-error.c: New test case.
47530 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47532         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47533         before casting to void *.
47534         * include/libc-internal.h (__pointer_type): New macro.
47535         (__integer_if_pointer_type_sub): Likewise.
47536         (__integer_if_pointer_type): Likewise.
47537         (cast_to_integer): Likewise.
47538         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47539         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47540         before casting to atomic64_t.
47541         (atomic_exchange_acq): Likewise.
47542         (__arch_exchange_and_add_body): Likewise.
47543         (__arch_add_body): Likewise.
47544         (atomic_add_negative): Likewise.
47545         (atomic_add_zero): Likewise.
47547 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47549         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47550         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47551         (add_fdes): Likewise.
47552         (linear_search_fdes): Likewise.
47553         (binary_search_unencoded_fdes): Likewise.
47555 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47557         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47559 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47561         * configure.in: Autodetect C++ header directories.
47562         * configure: Regenerated.
47564 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47566         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47568 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47572 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47574         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47575         LDBL_MANT_DIG == 106]: Disable some tests.
47576         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47577         Likewise.
47578         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47579         Likewise.
47581         [BZ #14871]
47582         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47583         input for small inputs.  Return +/- pi/2 for large inputs.
47584         * math/libm-test.inc (atan_test): Add more tests.
47586         * sysdeps/generic/unwind-dw2-fde-glibc.c
47587         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47588         __attribute__ ((unused)).
47590         [BZ #14645]
47591         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47592         x * y if x and y are nonzero and z is zero.
47594         [BZ #14811]
47595         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47596         nonzero exponents with absolute value below 0x1p-117 to +/-
47597         0x1p-117.
47599         [BZ #14869]
47600         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47601         up arguments below 2**-450, not just those below 2**-500.
47602         * math/libm-test.inc (hypot_test): Add another test.
47604         [BZ #14868]
47605         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47606         Return a+b for ratio over 2**120, not 2**60.
47607         * math/libm-test.inc (hypot_test): Add another test.
47609         * math/libm-test.inc (clog_test): Use
47610         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47611         (clog10_test): Likewise.
47613         [BZ #6778]
47614         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47616 2012-11-22  Andreas Schwab  <schwab@suse.de>
47618         * sysdeps/i386/fpu/libm-test-ulps: Update.
47620 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47622         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47623         printf output with newline.
47625 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47627         [BZ #14865]
47628         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47629         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47630         -z nodlopen, -z initfirst and -z execstack support.
47631         * configure: Regenerated.
47633         * elf/elf.h (DF_1_NODIRECT): New macro.
47634         (DF_1_IGNMULDEF): Likewise.
47635         (DF_1_NOKSYMS): Likewise.
47636         (DF_1_NOHDR): Likewise.
47637         (DF_1_EDITED): Likewise.
47638         (DF_1_NORELOC): Likewise.
47639         (DF_1_SYMINTPOSE): Likewise.
47640         (DF_1_GLOBAUDIT): Likewise.
47641         (DF_1_SINGLETON): Likewise.
47642         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47643         DT_1_SUPPORTED_MASK bits.
47644         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47646 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47648         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47650 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47652         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47653         macro.
47655         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47656         (sendmmsg): Move declarations...
47657         * socket/sys/socket.h: ... here.
47658         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47659         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47660         include it from...
47661         * socket/recvmmsg.c: ... this new file.
47662         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47663         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47664         definition of __sendmmsg hidden.
47665         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47666         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47667         Move ENOSYS stub into and include it from...
47668         * socket/sendmmsg.c: ... this new file.
47669         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47670         (sysdep_routines): Move recvmmsg and sendmmsg...
47671         * socket/Makefile (routines): ... here.
47672         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47673         (GLIBC_PRIVATE): Add __sendmmsg.
47674         * include/sys/socket.h (__sendmmsg): Add declarations.
47675         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47676         sendmmsg.
47678 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47680         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47681         variable I1 with __attribute__ ((unused)).
47682         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47684 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47686         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47687         DUMMY variables with __attribute__ ((unused)).
47689         * bits/byteswap.h: Include <bits/types.h>.
47690         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47692 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47694         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47695         string_t.  Do not manually set errno.
47696         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47697         length with __strnlen.  Make sure to both set errno and return it on
47698         failure.
47700 2012-11-19  David S. Miller  <davem@davemloft.net>
47702         With help from Joseph Myers.
47703         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47704         very large arguments properly.
47705         * math/libm-test.inc (atan_test): New tests.
47706         (atan2_test): New tests.
47707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47710 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47712         [BZ #14856]
47713         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47714         Define to 3.
47716         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47717         [POSIX] (EADDRNOTAVAIL): Likewise.
47718         [POSIX] (EAFNOSUPPORT): Likewise.
47719         [POSIX] (EALREADY): Likewise.
47720         [POSIX] (ECONNABORTED): Likewise.
47721         [POSIX] (ECONNREFUSED): Likewise.
47722         [POSIX] (ECONNRESET): Likewise.
47723         [POSIX] (EDESTADDRREQ): Likewise.
47724         [POSIX] (EDQUOT): Likewise.
47725         [POSIX] (EHOSTUNREACH): Likewise.
47726         [POSIX] (EIDRM): Likewise.
47727         [POSIX] (EISCONN): Likewise.
47728         [POSIX] (ELOOP): Likewise.
47729         [POSIX] (EMULTIHOP): Likewise.
47730         [POSIX] (ENETDOWN): Likewise.
47731         [POSIX] (ENETUNREACH): Likewise.
47732         [POSIX] (ENOBUFS): Likewise.
47733         [POSIX] (ENODATA): Likewise.
47734         [POSIX] (ENOLINK): Likewise.
47735         [POSIX] (ENOMSG): Likewise.
47736         [POSIX] (ENOPROTOOPT): Likewise.
47737         [POSIX] (ENOSR): Likewise.
47738         [POSIX] (ENOSTR): Likewise.
47739         [POSIX] (ENOTCONN): Likewise.
47740         [POSIX] (ENOTSOCK): Likewise.
47741         [POSIX] (EOPNOTSUPP): Likewise.
47742         [POSIX] (EOVERFLOW): Likewise.
47743         [POSIX] (EPROTO): Likewise.
47744         [POSIX] (EPROTONOSUPPORT): Likewise.
47745         [POSIX] (EPROTOTYPE): Likewise.
47746         [POSIX] (ESTALE): Likewise.
47747         [POSIX] (ETIME): Likewise.
47748         [POSIX] (ETXTBSY): Likewise.
47749         [POSIX] (EWOULDBLOCK): Likewise.
47750         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47751         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47752         [POSIX] (SEEK_CUR): Likewise.
47753         [POSIX] (SEEK_END): Likewise.
47754         [POSIX || UNIX98] (mode_t): Do not require.
47755         [POSIX] (off_t): Likewise.
47756         [POSIX] (pid_t): Likewise.
47757         [POSIX] (sys/stat.h): Do not allow header.
47758         [POSIX] (unistd.h): Likewise.
47759         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47760         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47761         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47762         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47763         require.
47764         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47765         sigevent): Specify elements.
47766         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47767         entry.
47768         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47769         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47771         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47772         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47773         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47774         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47775         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47776         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47777         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47778         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47779         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47780         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47781         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47782         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47783         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47784         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47785         Likewise.
47786         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47787         Likewise.
47788         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47789         Likewise.
47790         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47791         Likewise.
47792         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47793         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47794         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47795         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47796         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47797         Specify lower bound on value.
47798         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47799         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47800         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47801         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47802         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47803         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47804         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47805         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47806         value.
47807         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47808         as optional.
47809         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47810         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47811         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47812         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47813         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47814         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47815         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47816         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47817         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47818         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47819         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47820         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47821         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47822         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47823         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47824         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47825         entry.
47826         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47827         optional.
47828         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47829         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47830         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47831         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47832         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47833         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47834         Likewise.
47835         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47836         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47837         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47838         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47839         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47840         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47841         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47842         as optional.
47843         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47844         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47845         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47846         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47847         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47848         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47849         specify as optional.
47850         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47851         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47852         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47853         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47854         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47855         [XPG3] (NL_LANGMAX): Likewise.
47856         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47857         [POSIX || XPG3] (NL_NMAX): Likewise.
47858         [POSIX || XPG3] (NL_SETMAX): Likewise.
47859         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47860         [XPG3] (NZERO): Likewise.
47861         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47862         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47863         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47864         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47865         (REG_ERANGE): Expect.
47866         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47867         optional-constant.
47868         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47869         Use (void) in prototype.
47870         [POSIX] (*_t): Allow.
47871         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47872         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47873         (WRDE_BADVAL): Expect.
47875         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47876         expect.
47877         [XPG3 || XPG4] (O_RSYNC): Likewise.
47878         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
47879         Likewise.
47880         [XPG3 || XPG4] (pthread_sigmask): Likewise.
47881         [XPG3 || XPG4] (sigqueue): Likewise.
47882         [XPG3 || XPG4] (sigtimedwait): Likewise.
47883         [XPG3 || XPG4] (sigwaitinfo): Likewise.
47884         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
47885         [XPG3 || XPG4] (vsnprintf): Likewise.
47886         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
47887         Likewise.
47888         [XPG3 || XPG4] (blksize_t): Likewise.
47889         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
47890         Likewise.
47891         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
47892         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47893         [XPG3 || XPG4] (struct itimerspec): Likewise.
47894         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
47895         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
47896         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
47897         [XPG3 || XPG4] (clockid_t): Likewise.
47898         [XPG3 || XPG4] (timer_t): Likewise.
47899         [XPG3 || XPG4] (clock_getres): Likewise.
47900         [XPG3 || XPG4] (clock_gettime): Likewise.
47901         [XPG3 || XPG4] (clock_settime): Likewise.
47902         [XPG3 || XPG4] (nanosleep): Likewise.
47903         [XPG3 || XPG4] (timer_create): Likewise.
47904         [XPG3 || XPG4] (timer_delete): Likewise.
47905         [XPG3 || XPG4] (timer_gettime): Likewise.
47906         [XPG3 || XPG4] (timer_getoverrun): Likewise.
47907         [XPG3 || XPG4] (timer_settime): Likewise.
47908         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
47909         [XPG3 || XPG4] (getlogin_r): Likewise.
47910         [XPG3 || XPG4] (pread): Likewise.
47911         [XPG3 || XPG4] (pthread_atfork): Likewise.
47912         [XPG3 || XPG4] (pwrite): Likewise.
47914         [BZ #14835]
47915         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
47916         <bits/siginfo.h>.
47918 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47920         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
47921         finalizing MALLSTREAM.
47923         * sysdeps/mach/hurd/syncfs.c: New file.
47925 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47927         [BZ #14719]
47928         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
47929         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
47930         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
47931         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
47932         (_nss_dns_gethostbyname4_r): Likewise.
47933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
47934         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
47936 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
47938         [BZ #13763]
47939         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
47941 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
47943         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
47944         * elf/cache.c (print_entry): Print ",AArch64" for
47945         FLAG_AARCH64_LIB64
47947         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
47948         * elf/cache.c (print_entry): Print ",hard-float" for
47949         FLAG_ARM_LIBHF.
47951 2012-11-18  David S. Miller  <davem@davemloft.net>
47953         With help from Joseph Myers.
47954         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
47955         cutoff to 2**-13.
47956         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
47957         cutoff to 2**-25.
47958         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
47959         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
47960         small.
47961         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
47962         * math/libm-test.inc (y0_test): New tests.
47963         (y1_test): New tests.
47964         * sysdeps/i386/fpu/libm-test-ulps: Update.
47965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47968 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
47970         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
47971         64-bit targets.
47972         * configure: Regenerated.
47974 2012-11-17  David S. Miller  <davem@davemloft.net>
47976         [BZ #14811]
47977         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
47978         nonzero exponents with absolute value below 0x1p-128 to +/-
47979         0x1p-128.
47981 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
47983         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
47985         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
47987         * posix/getconf-speclist.c: New file.
47988         * posix/posix-envs.def: Likewise.
47989         * posix/confstr.c (START_ENV_GROUP): New macro.
47990         (END_ENV_GROUP): Likewise.
47991         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47992         (KNOWN_PRESENT_ENV_STRING): Likewise.
47993         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47994         (UNKNOWN_ENVIRONMENT): Likewise.
47995         (confstr): Include posix-envs.def instead of handling
47996         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
47997         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
47998         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
47999         (END_ENV_GROUP): Likewise.
48000         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48001         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48002         (UNKNOWN_ENVIRONMENT): Likewise.
48003         (__sysconf): Include posix-envs.def instead of handling associated
48004         cases directly here.
48005         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48006         preprocessing getconf-speclist.c rather than running getconf or
48007         generating empty file.
48009 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48011         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48013 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48015         [BZ #14672]
48016         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48018 2012-11-16  David S. Miller  <davem@davemloft.net>
48020         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48021         smaller than LDBL_EPSILON/2.0L, just return xm1.
48023 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48025         * elf/tst-array1.c (init): Set constructor priority to 1000.
48026         (fini): Set destructor priority to 1000.
48027         * elf/tst-array2dep.c: Likewise.
48029 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48031         [BZ #11741]
48032         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48033         (_IO_new_file_xsputn): Also return EOF if none of the input
48034         data was written when overflow failed.
48035         * libio/iopadn.c (_IO_padn): Likewise.
48036         * libio/iowpadn.c (_IO_wpadn): Likewise.
48037         * stdio-common/tst-put-error.c: Add copyright notice.
48038         (do_test): Add case for printing padded string.
48039         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48040         _IO_padn returned error.
48041         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48042         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48043         return EOF.
48045 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48047         * libio/libioP.h: Add comment note that the references to C++
48048         bits are now obsolete.
48050 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48052         * math/libm-test.inc (check_complex): Use asprintf.
48054 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48056         * debug/pcprofiledump.c (print_version): Update copyright year.
48057         * malloc/memusagestat.c (print_version): Likewise.
48059 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48061         [BZ #14831]
48062         * elf/Makefile (tests): Add tst-audit8.
48063         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48064         ($(objpfx)tst-audit8.out): New target.
48065         (tst-audit8-ENV): New variable.
48066         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48067         audit if l_reloc_result is NULL.
48068         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48069         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48070         * elf/tst-audit8.c: New file.
48072 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48074         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48075         * misc/Makefile (CFLAGS-select.c): Define.
48076         * posix/Makefile (CFLAGS-pause.c): Define.
48078 2012-11-13  David S. Miller  <davem@davemloft.net>
48080         * crypt/Makefile: Move test targets after toplevel Rules
48081         inclusion.  Grab any necessary sysdep routines when linking.
48082         * crypt/md5.c (md5_process_block): Remove define, we will always
48083         name it __md5_process_block.
48084         (md5_finish_ctx): Update md5_process_block call.
48085         (md5_stream): Likewise.
48086         (md5_process_bytes): Likewise.
48087         (md5_process_block): Rename to __md5_process_block and move to ...
48088         * crypt/md5-block.c: ... here.
48089         * crypt/sha256.c (sha256_process_block): Move to ...
48090         * crypt/sha256-block.c: ... here.
48091         * crypt/sha512.c (sha512_process_block): Move to ...
48092         * crypt/sha512-block.c: ... here.
48093         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48094         path.
48095         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48096         * sysdeps/sparc/sparc64/multiarch/Makefile
48097         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48098         crypt subdir.
48099         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48100         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48101         multiarch changes.
48102         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48103         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48104         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48105         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48106         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48107         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48108         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48109         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48110         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48111         file.
48112         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48113         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48114         file.
48115         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48117 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48119         * timezone/tzselect.ksh: Update from tzcode git revision
48120         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48121         * timezone/zdump.c: Likewise.
48122         * timezone/zic.c: Likewise.
48123         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48124         in TZVERSION setting, not $(PKGVERSION).
48125         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48126         REPORT_BUGS_TO settings.
48128         [BZ #14838]
48129         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48130         macro.
48132 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48134         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48135         detection to immediately after _FP_ROUND().
48136         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48137         bits are 0.
48139 2012-11-11  David S. Miller  <davem@davemloft.net>
48141         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48142         inttypes.h
48143         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48144         __close rather than their public counterparts.
48146 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48148         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48149         file.
48150         [UNIX98] (sem_timedwait): Do not expect.
48151         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48152         [XPG4 || UNIX98] (sockatmark): Do not expect.
48153         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48154         (clock_getcpuclockid): Do not expect.
48155         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48156         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48157         Do not expect.
48158         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48159         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48160         [UNIX98] (vwscanf): Likewise.
48161         [UNIX98] (vswscanf): Likewise.
48163 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48165         * timezone/version.h: Remove file.
48166         * timezone/README: Do not refer to version.h.
48167         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48168         $(objpfx)version.h.
48169         ($(objpfx)zdump.o): Likewise.
48170         ($(objpfx)version.h): New target.
48172         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48173         2012i.
48174         * timezone/README: Don't mention modification to tzselect.ksh.
48175         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48176         work on unmodified tzselect.ksh.  Substitute version numbers in
48177         tzselect.ksh.
48179         * Makefile (format-me): Remove.
48180         (INSTALL): Adjust indentation.  Use commands directly instead of
48181         using $(format-me).
48183         * aclocal.m4 (ACX_PKGVERSION): New macro.
48184         (ACX_BUGURL): Likewise.
48185         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48186         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48187         (REPORT_BUGS_TO): Likewise.
48188         * configure: Regenerated.
48189         * config.h.in (PKGVERSION): New macro.
48190         (REPORT_BUGS_TO): Likewise.
48191         * config.make.in (PKGVERSION): New variable.
48192         (PKGVERSION_TEXI): Likewise.
48193         (REPORT_BUGS_TO): Likewise.
48194         (REPORT_BUGS_TEXI): Likewise.
48195         * Makefile (format-me): Use -I$(common-objpfx)manual.
48196         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48197         ($(common-objpfx)manual/%): New target.
48198         (manual/%): Remove target.
48199         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48200         (print_version): Use PKGVERSION.
48201         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48202         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48203         and REPORT_BUGS_TO.
48204         ($(objpfx)xtrace): Likewise.
48205         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48206         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48207         (print_version): Use PKGVERSION.
48208         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48209         (do_version): Use PKGVERSION.
48210         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48211         REPORT_BUGS_TO.
48212         (common-ldd-rewrite): Likewise.
48213         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48214         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48215         (print_version): Use PKGVERSION.
48216         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48217         * elf/pldd.c (argp_program_bug_address): Remove variable.
48218         (more_help): New function.
48219         (argp): Use more_help.
48220         (print_version): Use PKGVERSION.
48221         * elf/sln.c (main): Use PKGVERSION.
48222         (usage): Use REPORT_BUGS_TO.
48223         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48224         (top level): Use PKGVERSION.
48225         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48226         (print_version): Use PKGVERSION.
48227         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48228         (print_version): Use PKGVERSION.
48229         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48230         (print_version): Use PKGVERSION.
48231         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48232         (print_version): Use PKGVERSION.
48233         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48234         (print_version): Use PKGVERSION.
48235         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48236         (print_version): Use PKGVERSION.
48237         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48238         and BUGURL.
48239         ($(objpfx)memusage): Likewise.
48240         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48241         (do_version): Use PKGVERSION.
48242         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48243         (print_version): Use PKGVERSION.
48244         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48245         ($PKGVERSION): New variable.
48246         ($REPORT_BUGS_TO): Likewise.
48247         (usage): Use $REPORT_BUGS_TO.
48248         (top level): Use $PKGVERSION.
48249         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48250         ($(objpfx)pkgvers.texi): New rule.
48251         ($(objpfx)stamp-pkgvers): Likewise.
48252         * manual/install.texi: Include pkgvers.texi.
48253         (--with-pkgversion): Document new configure option.
48254         (--with-bugurl): Likewise.
48255         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48256         than necessarily for this particular distribution.  Use
48257         REPORT_BUGS_TO for where to report bugs.
48258         * INSTALL: Regenerated.
48259         * manual/libc.texinfo: Include pkgvers.texi.
48260         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48261         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48262         (print_version): Use PKGVERSION.
48263         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48264         (print_version): Use PKGVERSION.
48265         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48266         (print_version): Use PKGVERSION.
48267         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48268         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48269         macro.
48270         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48271         (print_version): Use PKGVERSION.
48272         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48273         (print_version): Use PKGVERSION.
48274         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48275         and PKGVERSION.
48277         * timezone/checktab.awk: Update from tzcode 2012i.
48278         * timezone/ialloc.c: Likewise.
48279         * timezone/private.h: Likewise.
48280         * timezone/scheck.c: Likewise.
48281         * timezone/tzfile.h: Likewise.
48282         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48283         (TZVERSION): Hardcode tzcode version number.
48284         * timezone/zdump.c: Update from tzcode 2012i.
48285         * timezone/zic.c: Likewise.
48286         * timezone/version.h: New file.
48287         * timezone/README: Describe version.h.  Update upstream location.
48289         [BZ #14824]
48290         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48291         (mktemp): Enable declaration.
48292         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48293         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48294         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48295         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48296         Likewise.
48297         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48298         Likewise.
48299         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48300         Likewise.
48301         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48302         Likewise.
48303         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48304         Likewise.
48305         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48306         Likewise.
48308         [BZ #14821]
48309         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48310         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48311         for copies of such integer values.
48312         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48313         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48315 2012-11-09  Andreas Jaeger  <aj@suse.de>
48317         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48318         definitions and declarations that are provided by
48319         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48321 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48323         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48324         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48325         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48326         definition.
48328 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48330         * elf/elf.h: Update comment before AArch64 relocations.
48332 2012-11-07  David S. Miller  <davem@davemloft.net>
48334         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48335         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48336         (__start_context): Declare.
48337         (__makecontext_ret): Delete.
48338         (__makecontext): Hook up __start_context instead of
48339         __makecontext_ret.
48340         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48341         (sysdep_routines): Add __start_context when in stdlib.
48343 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48345         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48346         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48347         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48348         hardcoded "nm".
48349         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48350         (READELF): New variable.  Use it instead of hardcoded "readelf".
48352 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48354         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48355         * sysdeps/x86/Makefile: Here.
48356         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48357         * sysdeps/x86/tst-xmmymm.sh: This.
48359 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48361         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48362         expectations.
48363         [UNIX98] (pthread_barrier_t): Do not expect.
48364         [UNIX98] (pthread_barrierattr_t): Likewise.
48365         [UNIX98] (pthread_spinlock_t): Likewise.
48366         [UNIX98] (pthread_barrier_destroy): Likewise.
48367         [UNIX98] (pthread_barrier_init): Likewise.
48368         [UNIX98] (pthread_barrier_wait): Likewise.
48369         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48370         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48371         [UNIX98] (pthread_barrierattr_init): Likewise.
48372         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48373         [UNIX98] (pthread_getcpuclockid): Likewise.
48374         [UNIX98] (pthread_mutex_timedlock): Likewise.
48375         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48376         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48377         [UNIX98] (pthread_sigmask): Likewise.
48378         [UNIX98] (pthread_spin_destroy): Likewise.
48379         [UNIX98] (pthread_spin_init): Likewise.
48380         [UNIX98] (pthread_spin_lock): Likewise.
48381         [UNIX98] (pthread_spin_trylock): Likewise.
48382         [UNIX98] (pthread_spin_unlock): Likewise.
48383         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48384         Do not expect.
48385         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48386         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48387         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48388         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48389         [XPG3 || XPG4] (pthread_key_t): Likewise.
48390         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48391         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48392         [XPG3 || XPG4] (pthread_once_t): Likewise.
48393         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48394         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48395         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48396         [XPG3 || XPG4] (pthread_t): Likewise.
48398         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48399         not expect.
48400         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48402         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48403         Change function return type to int.
48405         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48406         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48407         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48408         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48409         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48410         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48411         [!POSIX] (posix_madvise): Likewise.
48412         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48413         && !UNIX98].
48414         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48415         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48416         (mode_t): Likewise.
48417         (posix_mem_offset): Likewise.
48418         (posix_typed_mem_get_info): Likewise.
48419         (posix_typed_mem_open): Likewise.
48421         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48422         Change condition to [XOPEN2K8].
48424         * conform/conformtest.pl: Preprocess allow-header data with -x c
48425         instead of from stdin.
48426         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48427         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48428         [C99-based standards] (cerfc): Likewise.
48429         [C99-based standards] (cexp2): Likewise.
48430         [C99-based standards] (cexpm1): Likewise.
48431         [C99-based standards] (clog10): Likewise.
48432         [C99-based standards] (clog1p): Likewise.
48433         [C99-based standards] (clog2): Likewise.
48434         [C99-based standards] (clgamma): Likewise.
48435         [C99-based standards] (ctgamma): Likewise.
48436         [C99-based standards] (cerff): Likewise.
48437         [C99-based standards] (cerfcf): Likewise.
48438         [C99-based standards] (cexp2f): Likewise.
48439         [C99-based standards] (cexpm1f): Likewise.
48440         [C99-based standards] (clog10f): Likewise.
48441         [C99-based standards] (clog1pf): Likewise.
48442         [C99-based standards] (clog2f): Likewise.
48443         [C99-based standards] (clgammaf): Likewise.
48444         [C99-based standards] (ctgammaf): Likewise.
48445         [C99-based standards] (cerfl): Likewise.
48446         [C99-based standards] (cerfcl): Likewise.
48447         [C99-based standards] (cexp2l): Likewise.
48448         [C99-based standards] (cexpm1l): Likewise.
48449         [C99-based standards] (clog10l): Likewise.
48450         [C99-based standards] (clog1pl): Likewise.
48451         [C99-based standards] (clog2l): Likewise.
48452         [C99-based standards] (clgammal): Likewise.
48453         [C99-based standards] (ctgammal): Likewise.
48454         * conform/data/inttypes.h-data [C99-based standards]: Include
48455         stdint.h-data.  Remove all expectations for stdint.h contents.
48456         [C99-based standards] (PRI*): Do not allow.
48457         [C99-based standards] (SCN*): Likewise.
48458         [C99-based standards] (*_t): Likewise.
48459         [C99-based-standards] (PRId8): Expect macro.
48460         [C99-based-standards] (PRIi8): Likewise.
48461         [C99-based-standards] (PRIo8): Likewise.
48462         [C99-based-standards] (PRIu8): Likewise.
48463         [C99-based-standards] (PRIx8): Likewise.
48464         [C99-based-standards] (PRIX8): Likewise.
48465         [C99-based-standards] (SCNd8): Likewise.
48466         [C99-based-standards] (SCNi8): Likewise.
48467         [C99-based-standards] (SCNo8): Likewise.
48468         [C99-based-standards] (SCNu8): Likewise.
48469         [C99-based-standards] (SCNx8): Likewise.
48470         [C99-based-standards] (PRIdLEAST8): Likewise.
48471         [C99-based-standards] (PRIiLEAST8): Likewise.
48472         [C99-based-standards] (PRIoLEAST8): Likewise.
48473         [C99-based-standards] (PRIuLEAST8): Likewise.
48474         [C99-based-standards] (PRIxLEAST8): Likewise.
48475         [C99-based-standards] (PRIXLEAST8): Likewise.
48476         [C99-based-standards] (SCNdLEAST8): Likewise.
48477         [C99-based-standards] (SCNiLEAST8): Likewise.
48478         [C99-based-standards] (SCNoLEAST8): Likewise.
48479         [C99-based-standards] (SCNuLEAST8): Likewise.
48480         [C99-based-standards] (SCNxLEAST8): Likewise.
48481         [C99-based-standards] (PRIdFAST8): Likewise.
48482         [C99-based-standards] (PRIiFAST8): Likewise.
48483         [C99-based-standards] (PRIoFAST8): Likewise.
48484         [C99-based-standards] (PRIuFAST8): Likewise.
48485         [C99-based-standards] (PRIxFAST8): Likewise.
48486         [C99-based-standards] (PRIXFAST8): Likewise.
48487         [C99-based-standards] (SCNdFAST8): Likewise.
48488         [C99-based-standards] (SCNiFAST8): Likewise.
48489         [C99-based-standards] (SCNoFAST8): Likewise.
48490         [C99-based-standards] (SCNuFAST8): Likewise.
48491         [C99-based-standards] (SCNxFAST8): Likewise.
48492         [C99-based-standards] (PRId16): Likewise.
48493         [C99-based-standards] (PRIi16): Likewise.
48494         [C99-based-standards] (PRIo16): Likewise.
48495         [C99-based-standards] (PRIu16): Likewise.
48496         [C99-based-standards] (PRIx16): Likewise.
48497         [C99-based-standards] (PRIX16): Likewise.
48498         [C99-based-standards] (SCNd16): Likewise.
48499         [C99-based-standards] (SCNi16): Likewise.
48500         [C99-based-standards] (SCNo16): Likewise.
48501         [C99-based-standards] (SCNu16): Likewise.
48502         [C99-based-standards] (SCNx16): Likewise.
48503         [C99-based-standards] (PRIdLEAST16): Likewise.
48504         [C99-based-standards] (PRIiLEAST16): Likewise.
48505         [C99-based-standards] (PRIoLEAST16): Likewise.
48506         [C99-based-standards] (PRIuLEAST16): Likewise.
48507         [C99-based-standards] (PRIxLEAST16): Likewise.
48508         [C99-based-standards] (PRIXLEAST16): Likewise.
48509         [C99-based-standards] (SCNdLEAST16): Likewise.
48510         [C99-based-standards] (SCNiLEAST16): Likewise.
48511         [C99-based-standards] (SCNoLEAST16): Likewise.
48512         [C99-based-standards] (SCNuLEAST16): Likewise.
48513         [C99-based-standards] (SCNxLEAST16): Likewise.
48514         [C99-based-standards] (PRIdFAST16): Likewise.
48515         [C99-based-standards] (PRIiFAST16): Likewise.
48516         [C99-based-standards] (PRIoFAST16): Likewise.
48517         [C99-based-standards] (PRIuFAST16): Likewise.
48518         [C99-based-standards] (PRIxFAST16): Likewise.
48519         [C99-based-standards] (PRIXFAST16): Likewise.
48520         [C99-based-standards] (SCNdFAST16): Likewise.
48521         [C99-based-standards] (SCNiFAST16): Likewise.
48522         [C99-based-standards] (SCNoFAST16): Likewise.
48523         [C99-based-standards] (SCNuFAST16): Likewise.
48524         [C99-based-standards] (SCNxFAST16): Likewise.
48525         [C99-based-standards] (PRId32): Likewise.
48526         [C99-based-standards] (PRIi32): Likewise.
48527         [C99-based-standards] (PRIo32): Likewise.
48528         [C99-based-standards] (PRIu32): Likewise.
48529         [C99-based-standards] (PRIx32): Likewise.
48530         [C99-based-standards] (PRIX32): Likewise.
48531         [C99-based-standards] (SCNd32): Likewise.
48532         [C99-based-standards] (SCNi32): Likewise.
48533         [C99-based-standards] (SCNo32): Likewise.
48534         [C99-based-standards] (SCNu32): Likewise.
48535         [C99-based-standards] (SCNx32): Likewise.
48536         [C99-based-standards] (PRIdLEAST32): Likewise.
48537         [C99-based-standards] (PRIiLEAST32): Likewise.
48538         [C99-based-standards] (PRIoLEAST32): Likewise.
48539         [C99-based-standards] (PRIuLEAST32): Likewise.
48540         [C99-based-standards] (PRIxLEAST32): Likewise.
48541         [C99-based-standards] (PRIXLEAST32): Likewise.
48542         [C99-based-standards] (SCNdLEAST32): Likewise.
48543         [C99-based-standards] (SCNiLEAST32): Likewise.
48544         [C99-based-standards] (SCNoLEAST32): Likewise.
48545         [C99-based-standards] (SCNuLEAST32): Likewise.
48546         [C99-based-standards] (SCNxLEAST32): Likewise.
48547         [C99-based-standards] (PRIdFAST32): Likewise.
48548         [C99-based-standards] (PRIiFAST32): Likewise.
48549         [C99-based-standards] (PRIoFAST32): Likewise.
48550         [C99-based-standards] (PRIuFAST32): Likewise.
48551         [C99-based-standards] (PRIxFAST32): Likewise.
48552         [C99-based-standards] (PRIXFAST32): Likewise.
48553         [C99-based-standards] (SCNdFAST32): Likewise.
48554         [C99-based-standards] (SCNiFAST32): Likewise.
48555         [C99-based-standards] (SCNoFAST32): Likewise.
48556         [C99-based-standards] (SCNuFAST32): Likewise.
48557         [C99-based-standards] (SCNxFAST32): Likewise.
48558         [C99-based-standards] (PRId64): Likewise.
48559         [C99-based-standards] (PRIi64): Likewise.
48560         [C99-based-standards] (PRIo64): Likewise.
48561         [C99-based-standards] (PRIu64): Likewise.
48562         [C99-based-standards] (PRIx64): Likewise.
48563         [C99-based-standards] (PRIX64): Likewise.
48564         [C99-based-standards] (SCNd64): Likewise.
48565         [C99-based-standards] (SCNi64): Likewise.
48566         [C99-based-standards] (SCNo64): Likewise.
48567         [C99-based-standards] (SCNu64): Likewise.
48568         [C99-based-standards] (SCNx64): Likewise.
48569         [C99-based-standards] (PRIdLEAST64): Likewise.
48570         [C99-based-standards] (PRIiLEAST64): Likewise.
48571         [C99-based-standards] (PRIoLEAST64): Likewise.
48572         [C99-based-standards] (PRIuLEAST64): Likewise.
48573         [C99-based-standards] (PRIxLEAST64): Likewise.
48574         [C99-based-standards] (PRIXLEAST64): Likewise.
48575         [C99-based-standards] (SCNdLEAST64): Likewise.
48576         [C99-based-standards] (SCNiLEAST64): Likewise.
48577         [C99-based-standards] (SCNoLEAST64): Likewise.
48578         [C99-based-standards] (SCNuLEAST64): Likewise.
48579         [C99-based-standards] (SCNxLEAST64): Likewise.
48580         [C99-based-standards] (PRIdFAST64): Likewise.
48581         [C99-based-standards] (PRIiFAST64): Likewise.
48582         [C99-based-standards] (PRIoFAST64): Likewise.
48583         [C99-based-standards] (PRIuFAST64): Likewise.
48584         [C99-based-standards] (PRIxFAST64): Likewise.
48585         [C99-based-standards] (PRIXFAST64): Likewise.
48586         [C99-based-standards] (SCNdFAST64): Likewise.
48587         [C99-based-standards] (SCNiFAST64): Likewise.
48588         [C99-based-standards] (SCNoFAST64): Likewise.
48589         [C99-based-standards] (SCNuFAST64): Likewise.
48590         [C99-based-standards] (SCNxFAST64): Likewise.
48591         [C99-based-standards] (PRIdMAX): Likewise.
48592         [C99-based-standards] (PRIiMAX): Likewise.
48593         [C99-based-standards] (PRIoMAX): Likewise.
48594         [C99-based-standards] (PRIuMAX): Likewise.
48595         [C99-based-standards] (PRIxMAX): Likewise.
48596         [C99-based-standards] (PRIXMAX): Likewise.
48597         [C99-based-standards] (SCNdMAX): Likewise.
48598         [C99-based-standards] (SCNiMAX): Likewise.
48599         [C99-based-standards] (SCNoMAX): Likewise.
48600         [C99-based-standards] (SCNuMAX): Likewise.
48601         [C99-based-standards] (SCNxMAX): Likewise.
48602         [C99-based-standards] (PRIdPTR): Likewise.
48603         [C99-based-standards] (PRIiPTR): Likewise.
48604         [C99-based-standards] (PRIoPTR): Likewise.
48605         [C99-based-standards] (PRIuPTR): Likewise.
48606         [C99-based-standards] (PRIxPTR): Likewise.
48607         [C99-based-standards] (PRIXPTR): Likewise.
48608         [C99-based-standards] (SCNdPTR): Likewise.
48609         [C99-based-standards] (SCNiPTR): Likewise.
48610         [C99-based-standards] (SCNoPTR): Likewise.
48611         [C99-based-standards] (SCNuPTR): Likewise.
48612         [C99-based-standards] (SCNxPTR): Likewise.
48613         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48614         allow.
48615         * conform/data/stdint.h-data: Update comments to clarify
48616         requirements.
48617         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48618         type.
48619         [C99-based standards] (INT8_MAX): Likewise.
48620         [C99-based standards] (INT16_MIN): Likewise.
48621         [C99-based standards] (INT16_MAX): Likewise.
48622         [C99-based standards] (INT32_MIN): Likewise.
48623         [C99-based standards] (INT32_MAX): Likewise.
48624         [C99-based standards] (INT64_MIN): Likewise.
48625         [C99-based standards] (INT64_MAX): Likewise.
48626         [C99-based standards] (UINT8_MAX): Likewise.
48627         [C99-based standards] (UINT16_MAX): Likewise.
48628         [C99-based standards] (UINT32_MAX): Likewise.
48629         [C99-based standards] (UINT64_MAX): Likewise.
48630         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48631         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48632         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48633         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48634         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48635         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48636         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48637         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48638         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48639         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48640         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48641         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48642         [C99-based standards] (INT_FAST8_MIN): Likewise.
48643         [C99-based standards] (INT_FAST8_MAX): Likewise.
48644         [C99-based standards] (INT_FAST16_MIN): Likewise.
48645         [C99-based standards] (INT_FAST16_MAX): Likewise.
48646         [C99-based standards] (INT_FAST32_MIN): Likewise.
48647         [C99-based standards] (INT_FAST32_MAX): Likewise.
48648         [C99-based standards] (INT_FAST64_MIN): Likewise.
48649         [C99-based standards] (INT_FAST64_MAX): Likewise.
48650         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48651         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48652         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48653         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48654         [C99-based standards] (INTPTR_MIN): Likewise.
48655         [C99-based standards] (INTPTR_MAX): Likewise.
48656         [C99-based standards] (UINTPTR_MAX): Likewise.
48657         [C99-based standards] (INTMAX_MIN): Likewise.
48658         [C99-based standards] (INTMAX_MAX): Likewise.
48659         [C99-based standards] (UINTMAX_MAX): Likewise.
48660         [C99-based standards] (PTRDIFF_MIN): Likewise.
48661         [C99-based standards] (PTRDIFF_MAX): Likewise.
48662         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48663         [C99-based standards] (SIZE_MAX): Likewise.
48664         [C99-based standards] (WCHAR_MAX): Likewise.
48665         [C99-based standards] (WINT_MAX): Likewise.
48666         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48667         constraint on value.
48668         [C99-based standards] (WCHAR_MIN): Likewise.
48669         [C99-based standards] (WINT_MIN): Likewise.
48670         [C99-based standards] (*_t): Allow.
48671         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48672         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48673         Include math.h-data and complex.h-data.  Remove all expectations
48674         of math.h and complex.h contents.
48675         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48676         at end of line.
48677         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48678         (struct tm): Expect tag.
48679         [C99-based-standards] (wcstof): Expect function.
48680         [C99-based-standards] (wcstold): Likewise.
48681         [C99-based-standards] (wcstoll): Likewise.
48682         [C99-based-standards] (wcstoull): Likewise.
48683         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48684         macro-int-constant.  Specify type.
48685         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48686         constraint on value.
48687         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48688         Specify type.
48689         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48690         Specify value.
48691         [ISO C standards]: Do not allow headers.
48692         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48693         wcs[abcdefghijklmnopqrstuvwxyz]*.
48694         [ISO C standards] (*_t): Do not allow.
48695         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48696         Expect function.
48697         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48698         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48699         Specify type.
48700         [ISO C standards]: Do not allow headers.
48701         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48702         is[abcdefghijklmnopqrstuvwxyz]*.
48703         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48704         to[abcdefghijklmnopqrstuvwxyz]*.
48705         [ISO C standards] (*_t): Do not allow.
48706         * conform/data/stdalign.h-data: New file.
48707         * conform/data/stdbool.h-data: Likewise.
48708         * conform/data/stdnoreturn.h-data: Likewise.
48710 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48712         [BZ #14815]
48713         * manual/filesys.texi (Directory Entries): Typo fix.
48714         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48716 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48718         * elf/elf.h (EM_AARCH64): New macro.
48719         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48720         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48721         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48722         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48723         (R_AARCH64_TLSDESC): Likewise.
48724         (NT_ARM_TLS): Likewise.
48725         (NT_ARM_HW_BREAK): Likewise.
48726         (NT_ARM_HW_WATCH): Likewise.
48728 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48730         [BZ #14811]
48731         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48732         (__ieee754_powl): Saturate nonzero exponents with absolute value
48733         below 0x1p-79 to +/- 0x1p-79.
48734         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48735         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48736         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48737         nonzero exponents with absolute value below 0x1p-32 to +/-
48738         0x1p-32.
48739         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48740         (__ieee754_powl): Saturate nonzero exponents with absolute value
48741         below 0x1p-79 to +/- 0x1p-79.
48742         * math/libm-test.inc (pow_test): Add more tests.
48744 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48746         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48747         _dl_s390_cap_flags with kernel. Increase string length.
48748         (_dl_s390_platforms): Add z196 and zEC12.
48750 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48752         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48753         Change XOPEN21K to XOPEN2K.
48755 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48757         * string/memmove.c: Use memcpy when possible.
48759 2012-11-06  Andreas Jaeger  <aj@suse.de>
48761         * po/eo.po: Update from translation team.
48763 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48765         [BZ #14793]
48766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48767         exponent and small x and y exponents, scale x or y up.  Increase
48768         by 2 the exponent used in scaling up.
48769         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48770         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48771         * math/libm-test.inc (fma_test): Add more tests.
48772         (fma_test_towardzero): Likewise.
48773         (fma_test_downward): Likewise.
48774         (fma_test_upward): Likewise.
48776 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48778         [BZ #14805]
48779         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48780         fenv_t *.
48782         [BZ #14801]
48783         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48784         namespace for names of struct fields.
48785         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48786         fenv_t fields.
48787         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48788         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48790 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48792         [BZ #3665]
48793         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48795 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48797         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48798         PTR_DEMANGLE.
48800         [BZ #5246]
48801         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48802         PTR_DEMANGLE.
48804 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48806         [BZ #14797]
48807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48808         definitely overflow as x * y not x * y + z.
48809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48810         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48811         * math/libm-test.inc (fma_test): Add more tests.
48812         (fma_test_towardzero): Likewise.
48813         (fma_test_downward): Likewise.
48814         (fma_test_upward): Likewise.
48816 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48818         [BZ #157]
48820         * include/stub-tag.h: Remove file.
48821         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48822         '#include' of it.
48823         * manual/maint.texi (Porting): Don't reference it.
48824         * Makerules ($(objpfx)stubs): Likewise.
48825         * dirent/closedir.c: Don't include <stub-tag.h>.
48826         * dirent/dirfd.c: Likewise.
48827         * dirent/fdopendir.c: Likewise.
48828         * dirent/getdents.c: Likewise.
48829         * dirent/getdents64.c: Likewise.
48830         * dirent/opendir.c: Likewise.
48831         * dirent/readdir.c: Likewise.
48832         * dirent/readdir64.c: Likewise.
48833         * dirent/readdir64_r.c: Likewise.
48834         * dirent/readdir_r.c: Likewise.
48835         * dirent/rewinddir.c: Likewise.
48836         * dirent/seekdir.c: Likewise.
48837         * dirent/telldir.c: Likewise.
48838         * gmon/profil.c: Likewise.
48839         * grp/setgroups.c: Likewise.
48840         * inet/if_index.c: Likewise.
48841         * io/access.c: Likewise.
48842         * io/chdir.c: Likewise.
48843         * io/chmod.c: Likewise.
48844         * io/chown.c: Likewise.
48845         * io/close.c: Likewise.
48846         * io/dup.c: Likewise.
48847         * io/dup2.c: Likewise.
48848         * io/dup3.c: Likewise.
48849         * io/euidaccess.c: Likewise.
48850         * io/faccessat.c: Likewise.
48851         * io/fchdir.c: Likewise.
48852         * io/fchmod.c: Likewise.
48853         * io/fchmodat.c: Likewise.
48854         * io/fchown.c: Likewise.
48855         * io/fchownat.c: Likewise.
48856         * io/fcntl.c: Likewise.
48857         * io/flock.c: Likewise.
48858         * io/fstatfs.c: Likewise.
48859         * io/fstatfs64.c: Likewise.
48860         * io/fstatvfs.c: Likewise.
48861         * io/fstatvfs64.c: Likewise.
48862         * io/futimens.c: Likewise.
48863         * io/fxstat.c: Likewise.
48864         * io/fxstat64.c: Likewise.
48865         * io/fxstatat.c: Likewise.
48866         * io/fxstatat64.c: Likewise.
48867         * io/getcwd.c: Likewise.
48868         * io/isatty.c: Likewise.
48869         * io/lchmod.c: Likewise.
48870         * io/lchown.c: Likewise.
48871         * io/link.c: Likewise.
48872         * io/linkat.c: Likewise.
48873         * io/lseek.c: Likewise.
48874         * io/lseek64.c: Likewise.
48875         * io/lxstat64.c: Likewise.
48876         * io/mkdir.c: Likewise.
48877         * io/mkdirat.c: Likewise.
48878         * io/mkfifo.c: Likewise.
48879         * io/mkfifoat.c: Likewise.
48880         * io/open.c: Likewise.
48881         * io/open64.c: Likewise.
48882         * io/openat.c: Likewise.
48883         * io/openat64.c: Likewise.
48884         * io/pipe.c: Likewise.
48885         * io/pipe2.c: Likewise.
48886         * io/poll.c: Likewise.
48887         * io/posix_fadvise.c: Likewise.
48888         * io/posix_fadvise64.c: Likewise.
48889         * io/posix_fallocate.c: Likewise.
48890         * io/posix_fallocate64.c: Likewise.
48891         * io/read.c: Likewise.
48892         * io/readlink.c: Likewise.
48893         * io/readlinkat.c: Likewise.
48894         * io/rmdir.c: Likewise.
48895         * io/sendfile.c: Likewise.
48896         * io/sendfile64.c: Likewise.
48897         * io/statfs.c: Likewise.
48898         * io/statfs64.c: Likewise.
48899         * io/statvfs.c: Likewise.
48900         * io/statvfs64.c: Likewise.
48901         * io/symlink.c: Likewise.
48902         * io/symlinkat.c: Likewise.
48903         * io/ttyname.c: Likewise.
48904         * io/ttyname_r.c: Likewise.
48905         * io/umask.c: Likewise.
48906         * io/unlink.c: Likewise.
48907         * io/unlinkat.c: Likewise.
48908         * io/utime.c: Likewise.
48909         * io/utimensat.c: Likewise.
48910         * io/write.c: Likewise.
48911         * io/xmknod.c: Likewise.
48912         * io/xmknodat.c: Likewise.
48913         * io/xstat.c: Likewise.
48914         * io/xstat64.c: Likewise.
48915         * login/getpt.c: Likewise.
48916         * login/grantpt.c: Likewise.
48917         * login/unlockpt.c: Likewise.
48918         * math/e_acoshl.c: Likewise.
48919         * math/e_acosl.c: Likewise.
48920         * math/e_asinl.c: Likewise.
48921         * math/e_atan2l.c: Likewise.
48922         * math/e_atanhl.c: Likewise.
48923         * math/e_coshl.c: Likewise.
48924         * math/e_expl.c: Likewise.
48925         * math/e_fmodl.c: Likewise.
48926         * math/e_gammal_r.c: Likewise.
48927         * math/e_hypotl.c: Likewise.
48928         * math/e_j0l.c: Likewise.
48929         * math/e_j1l.c: Likewise.
48930         * math/e_jnl.c: Likewise.
48931         * math/e_lgammal_r.c: Likewise.
48932         * math/e_log10l.c: Likewise.
48933         * math/e_log2l.c: Likewise.
48934         * math/e_logl.c: Likewise.
48935         * math/e_powl.c: Likewise.
48936         * math/e_rem_pio2l.c: Likewise.
48937         * math/e_sinhl.c: Likewise.
48938         * math/e_sqrtl.c: Likewise.
48939         * math/fclrexcpt.c: Likewise.
48940         * math/fedisblxcpt.c: Likewise.
48941         * math/feenablxcpt.c: Likewise.
48942         * math/fegetenv.c: Likewise.
48943         * math/fegetexcept.c: Likewise.
48944         * math/fegetround.c: Likewise.
48945         * math/feholdexcpt.c: Likewise.
48946         * math/fesetenv.c: Likewise.
48947         * math/fesetround.c: Likewise.
48948         * math/feupdateenv.c: Likewise.
48949         * math/fgetexcptflg.c: Likewise.
48950         * math/fraiseexcpt.c: Likewise.
48951         * math/fsetexcptflg.c: Likewise.
48952         * math/ftestexcept.c: Likewise.
48953         * math/k_cosl.c: Likewise.
48954         * math/k_rem_pio2l.c: Likewise.
48955         * math/k_sinl.c: Likewise.
48956         * math/k_tanl.c: Likewise.
48957         * math/s_asinhl.c: Likewise.
48958         * math/s_atanl.c: Likewise.
48959         * math/s_cbrtl.c: Likewise.
48960         * math/s_erfl.c: Likewise.
48961         * math/s_expm1l.c: Likewise.
48962         * math/s_log1pl.c: Likewise.
48963         * math/s_tanhl.c: Likewise.
48964         * misc/acct.c: Likewise.
48965         * misc/brk.c: Likewise.
48966         * misc/chflags.c: Likewise.
48967         * misc/chroot.c: Likewise.
48968         * misc/fchflags.c: Likewise.
48969         * misc/fgetxattr.c: Likewise.
48970         * misc/flistxattr.c: Likewise.
48971         * misc/fremovexattr.c: Likewise.
48972         * misc/fsetxattr.c: Likewise.
48973         * misc/fsync.c: Likewise.
48974         * misc/ftruncate.c: Likewise.
48975         * misc/futimes.c: Likewise.
48976         * misc/futimesat.c: Likewise.
48977         * misc/getdomain.c: Likewise.
48978         * misc/getdtsz.c: Likewise.
48979         * misc/gethostid.c: Likewise.
48980         * misc/gethostname.c: Likewise.
48981         * misc/getloadavg.c: Likewise.
48982         * misc/getpagesize.c: Likewise.
48983         * misc/getsysstats.c: Likewise.
48984         * misc/getxattr.c: Likewise.
48985         * misc/gtty.c: Likewise.
48986         * misc/ioctl.c: Likewise.
48987         * misc/lgetxattr.c: Likewise.
48988         * misc/listxattr.c: Likewise.
48989         * misc/llistxattr.c: Likewise.
48990         * misc/lremovexattr.c: Likewise.
48991         * misc/lsetxattr.c: Likewise.
48992         * misc/lutimes.c: Likewise.
48993         * misc/madvise.c: Likewise.
48994         * misc/mincore.c: Likewise.
48995         * misc/mlock.c: Likewise.
48996         * misc/mlockall.c: Likewise.
48997         * misc/mmap.c: Likewise.
48998         * misc/mprotect.c: Likewise.
48999         * misc/msync.c: Likewise.
49000         * misc/munlock.c: Likewise.
49001         * misc/munlockall.c: Likewise.
49002         * misc/munmap.c: Likewise.
49003         * misc/preadv.c: Likewise.
49004         * misc/preadv64.c: Likewise.
49005         * misc/ptrace.c: Likewise.
49006         * misc/pwritev.c: Likewise.
49007         * misc/pwritev64.c: Likewise.
49008         * misc/readv.c: Likewise.
49009         * misc/reboot.c: Likewise.
49010         * misc/remap_file_pages.c: Likewise.
49011         * misc/removexattr.c: Likewise.
49012         * misc/revoke.c: Likewise.
49013         * misc/select.c: Likewise.
49014         * misc/setdomain.c: Likewise.
49015         * misc/setegid.c: Likewise.
49016         * misc/seteuid.c: Likewise.
49017         * misc/sethostid.c: Likewise.
49018         * misc/sethostname.c: Likewise.
49019         * misc/setregid.c: Likewise.
49020         * misc/setreuid.c: Likewise.
49021         * misc/setxattr.c: Likewise.
49022         * misc/sstk.c: Likewise.
49023         * misc/stty.c: Likewise.
49024         * misc/swapoff.c: Likewise.
49025         * misc/swapon.c: Likewise.
49026         * misc/sync.c: Likewise.
49027         * misc/syncfs.c: Likewise.
49028         * misc/syscall.c: Likewise.
49029         * misc/truncate.c: Likewise.
49030         * misc/ualarm.c: Likewise.
49031         * misc/usleep.c: Likewise.
49032         * misc/ustat.c: Likewise.
49033         * misc/utimes.c: Likewise.
49034         * misc/vhangup.c: Likewise.
49035         * misc/writev.c: Likewise.
49036         * posix/_exit.c: Likewise.
49037         * posix/alarm.c: Likewise.
49038         * posix/execve.c: Likewise.
49039         * posix/fexecve.c: Likewise.
49040         * posix/fork.c: Likewise.
49041         * posix/fpathconf.c: Likewise.
49042         * posix/getaddrinfo.c: Likewise.
49043         * posix/getegid.c: Likewise.
49044         * posix/geteuid.c: Likewise.
49045         * posix/getgid.c: Likewise.
49046         * posix/getgroups.c: Likewise.
49047         * posix/getlogin.c: Likewise.
49048         * posix/getlogin_r.c: Likewise.
49049         * posix/getpgid.c: Likewise.
49050         * posix/getpid.c: Likewise.
49051         * posix/getppid.c: Likewise.
49052         * posix/getresgid.c: Likewise.
49053         * posix/getresuid.c: Likewise.
49054         * posix/getsid.c: Likewise.
49055         * posix/getuid.c: Likewise.
49056         * posix/glob64.c: Likewise.
49057         * posix/nanosleep.c: Likewise.
49058         * posix/pathconf.c: Likewise.
49059         * posix/pause.c: Likewise.
49060         * posix/posix_madvise.c: Likewise.
49061         * posix/pread.c: Likewise.
49062         * posix/pread64.c: Likewise.
49063         * posix/pwrite.c: Likewise.
49064         * posix/pwrite64.c: Likewise.
49065         * posix/sched_getaffinity.c: Likewise.
49066         * posix/sched_getp.c: Likewise.
49067         * posix/sched_gets.c: Likewise.
49068         * posix/sched_primax.c: Likewise.
49069         * posix/sched_primin.c: Likewise.
49070         * posix/sched_rr_gi.c: Likewise.
49071         * posix/sched_setaffinity.c: Likewise.
49072         * posix/sched_setp.c: Likewise.
49073         * posix/sched_sets.c: Likewise.
49074         * posix/sched_yield.c: Likewise.
49075         * posix/setgid.c: Likewise.
49076         * posix/setlogin.c: Likewise.
49077         * posix/setpgid.c: Likewise.
49078         * posix/setresgid.c: Likewise.
49079         * posix/setresuid.c: Likewise.
49080         * posix/setsid.c: Likewise.
49081         * posix/setuid.c: Likewise.
49082         * posix/sleep.c: Likewise.
49083         * posix/spawni.c: Likewise.
49084         * posix/sysconf.c: Likewise.
49085         * posix/times.c: Likewise.
49086         * posix/wait.c: Likewise.
49087         * posix/wait3.c: Likewise.
49088         * posix/wait4.c: Likewise.
49089         * posix/waitpid.c: Likewise.
49090         * resolv/gai_sigqueue.c: Likewise.
49091         * resource/getpriority.c: Likewise.
49092         * resource/getrlimit.c: Likewise.
49093         * resource/getrusage.c: Likewise.
49094         * resource/nice.c: Likewise.
49095         * resource/setpriority.c: Likewise.
49096         * resource/setrlimit.c: Likewise.
49097         * resource/ulimit.c: Likewise.
49098         * rt/aio_cancel.c: Likewise.
49099         * rt/aio_fsync.c: Likewise.
49100         * rt/aio_read.c: Likewise.
49101         * rt/aio_sigqueue.c: Likewise.
49102         * rt/aio_suspend.c: Likewise.
49103         * rt/aio_write.c: Likewise.
49104         * rt/clock_getres.c: Likewise.
49105         * rt/clock_gettime.c: Likewise.
49106         * rt/clock_nanosleep.c: Likewise.
49107         * rt/clock_settime.c: Likewise.
49108         * rt/lio_listio.c: Likewise.
49109         * rt/mq_close.c: Likewise.
49110         * rt/mq_getattr.c: Likewise.
49111         * rt/mq_notify.c: Likewise.
49112         * rt/mq_open.c: Likewise.
49113         * rt/mq_receive.c: Likewise.
49114         * rt/mq_send.c: Likewise.
49115         * rt/mq_setattr.c: Likewise.
49116         * rt/mq_timedreceive.c: Likewise.
49117         * rt/mq_timedsend.c: Likewise.
49118         * rt/mq_unlink.c: Likewise.
49119         * rt/shm_open.c: Likewise.
49120         * rt/shm_unlink.c: Likewise.
49121         * rt/timer_create.c: Likewise.
49122         * rt/timer_delete.c: Likewise.
49123         * rt/timer_getoverr.c: Likewise.
49124         * rt/timer_gettime.c: Likewise.
49125         * rt/timer_settime.c: Likewise.
49126         * setjmp/__longjmp.c: Likewise.
49127         * setjmp/setjmp.c: Likewise.
49128         * signal/kill.c: Likewise.
49129         * signal/killpg.c: Likewise.
49130         * signal/raise.c: Likewise.
49131         * signal/sigaction.c: Likewise.
49132         * signal/sigaltstack.c: Likewise.
49133         * signal/sigblock.c: Likewise.
49134         * signal/sigignore.c: Likewise.
49135         * signal/sigintr.c: Likewise.
49136         * signal/signal.c: Likewise.
49137         * signal/sigpause.c: Likewise.
49138         * signal/sigpending.c: Likewise.
49139         * signal/sigqueue.c: Likewise.
49140         * signal/sigreturn.c: Likewise.
49141         * signal/sigset.c: Likewise.
49142         * signal/sigsetmask.c: Likewise.
49143         * signal/sigstack.c: Likewise.
49144         * signal/sigsuspend.c: Likewise.
49145         * signal/sigtimedwait.c: Likewise.
49146         * signal/sigvec.c: Likewise.
49147         * signal/sigwait.c: Likewise.
49148         * signal/sigwaitinfo.c: Likewise.
49149         * signal/sysv_signal.c: Likewise.
49150         * socket/accept.c: Likewise.
49151         * socket/accept4.c: Likewise.
49152         * socket/bind.c: Likewise.
49153         * socket/connect.c: Likewise.
49154         * socket/getpeername.c: Likewise.
49155         * socket/getsockname.c: Likewise.
49156         * socket/getsockopt.c: Likewise.
49157         * socket/isfdtype.c: Likewise.
49158         * socket/listen.c: Likewise.
49159         * socket/recv.c: Likewise.
49160         * socket/recvfrom.c: Likewise.
49161         * socket/recvmsg.c: Likewise.
49162         * socket/send.c: Likewise.
49163         * socket/sendmsg.c: Likewise.
49164         * socket/sendto.c: Likewise.
49165         * socket/setsockopt.c: Likewise.
49166         * socket/shutdown.c: Likewise.
49167         * socket/sockatmark.c: Likewise.
49168         * socket/socket.c: Likewise.
49169         * socket/socketpair.c: Likewise.
49170         * stdio-common/ctermid.c: Likewise.
49171         * stdio-common/cuserid.c: Likewise.
49172         * stdio-common/remove.c: Likewise.
49173         * stdio-common/rename.c: Likewise.
49174         * stdio-common/renameat.c: Likewise.
49175         * stdio-common/tempname.c: Likewise.
49176         * stdlib/getcontext.c: Likewise.
49177         * stdlib/makecontext.c: Likewise.
49178         * stdlib/setcontext.c: Likewise.
49179         * stdlib/swapcontext.c: Likewise.
49180         * stdlib/system.c: Likewise.
49181         * streams/fattach.c: Likewise.
49182         * streams/fdetach.c: Likewise.
49183         * streams/getmsg.c: Likewise.
49184         * streams/getpmsg.c: Likewise.
49185         * streams/putmsg.c: Likewise.
49186         * streams/putpmsg.c: Likewise.
49187         * sysdeps/unix/bsd/getpt.c: Likewise.
49188         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49189         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49190         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49192         Likewise.
49193         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49194         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49195         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49196         * sysvipc/msgctl.c: Likewise.
49197         * sysvipc/msgget.c: Likewise.
49198         * sysvipc/msgrcv.c: Likewise.
49199         * sysvipc/msgsnd.c: Likewise.
49200         * sysvipc/semctl.c: Likewise.
49201         * sysvipc/semget.c: Likewise.
49202         * sysvipc/semop.c: Likewise.
49203         * sysvipc/semtimedop.c: Likewise.
49204         * sysvipc/shmat.c: Likewise.
49205         * sysvipc/shmctl.c: Likewise.
49206         * sysvipc/shmdt.c: Likewise.
49207         * sysvipc/shmget.c: Likewise.
49208         * termios/tcdrain.c: Likewise.
49209         * termios/tcflow.c: Likewise.
49210         * termios/tcflush.c: Likewise.
49211         * termios/tcgetattr.c: Likewise.
49212         * termios/tcgetpgrp.c: Likewise.
49213         * termios/tcsendbrk.c: Likewise.
49214         * termios/tcsetattr.c: Likewise.
49215         * termios/tcsetpgrp.c: Likewise.
49216         * time/adjtime.c: Likewise.
49217         * time/clock.c: Likewise.
49218         * time/getitimer.c: Likewise.
49219         * time/gettimeofday.c: Likewise.
49220         * time/setitimer.c: Likewise.
49221         * time/settimeofday.c: Likewise.
49222         * time/stime.c: Likewise.
49223         * time/time.c: Likewise.
49225 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49227         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49228         /usr/old/bin.
49230         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49231         instead of spaces.
49232         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49234 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49236         [BZ #14796]
49237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49238         FE_TONEAREST before applying Dekker multiplication and Knuth
49239         addition.  Clear inexact exceptions and check for exact zero
49240         results afterwards.
49241         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49242         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49243         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49244         * math/libm-test.inc (fma_test): Add more tests.
49245         (fma_test_towardzero): Likewise.
49246         (fma_test_downward): Likewise.
49247         (fma_test_upward): Likewise.
49248         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49249         function.
49250         (libc_fesetround): New macro.
49251         (libc_fesetroundf): Likewise.
49252         (libc_fesetroundl): Likewise.
49253         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49254         function.
49255         (libc_fesetround_387): Likewise.
49256         (libc_fesetroundf): New macro.
49257         (libc_fesetround): Likewise.
49258         (libc_fesetroundl): Likewise.
49259         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49260         function.
49261         (libc_fesetroundf): New macro.
49262         (libc_fesetround): Likewise.
49263         (libc_fesetroundl): Likewise.
49264         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49265         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49266         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49267         libm_hidden_ver.
49268         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49269         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49270         libm_hidden_def.
49271         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49272         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49273         libm_hidden_ver.
49274         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49275         libm_hidden_def.
49277         [BZ #3439]
49278         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49279         integer constant usable in #if and use that to give value to enum
49280         constant.
49281         (FE_DIVBYZERO): Likewise.
49282         (FE_UNDERFLOW): Likewise.
49283         (FE_OVERFLOW): Likewise.
49284         (FE_INVALID): Likewise.
49285         (FE_INVALID_SNAN): Likewise.
49286         (FE_INVALID_ISI): Likewise.
49287         (FE_INVALID_IDI): Likewise.
49288         (FE_INVALID_ZDZ): Likewise.
49289         (FE_INVALID_IMZ): Likewise.
49290         (FE_INVALID_COMPARE): Likewise.
49291         (FE_INVALID_SOFTWARE): Likewise.
49292         (FE_INVALID_SQRT): Likewise.
49293         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49294         (FE_TONEAREST): Likewise.
49295         (FE_TOWARDZERO): Likewise.
49296         (FE_UPWARD): Likewise.
49297         (FE_DOWNWARD): Likewise.
49298         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49299         (FE_DIVBYZERO): Likewise.
49300         (FE_OVERFLOW): Likewise.
49301         (FE_UNDERFLOW): Likewise.
49302         (FE_INEXACT): Likewise.
49303         (FE_TONEAREST): Likewise.
49304         (FE_DOWNWARD): Likewise.
49305         (FE_UPWARD): Likewise.
49306         (FE_TOWARDZERO): Likewise.
49307         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49308         (FE_UNDERFLOW): Likewise.
49309         (FE_OVERFLOW): Likewise.
49310         (FE_DIVBYZERO): Likewise.
49311         (FE_INVALID): Likewise.
49312         (FE_TONEAREST): Likewise.
49313         (FE_TOWARDZERO): Likewise.
49314         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49315         (FE_OVERFLOW): Likewise.
49316         (FE_UNDERFLOW): Likewise.
49317         (FE_DIVBYZERO): Likewise.
49318         (FE_INEXACT): Likewise.
49319         (FE_TONEAREST): Likewise.
49320         (FE_TOWARDZERO): Likewise.
49321         (FE_UPWARD): Likewise.
49322         (FE_DOWNWARD): Likewise.
49323         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49324         (FE_DIVBYZERO): Likewise.
49325         (FE_OVERFLOW): Likewise.
49326         (FE_UNDERFLOW): Likewise.
49327         (FE_INEXACT): Likewise.
49328         (FE_TONEAREST): Likewise.
49329         (FE_DOWNWARD): Likewise.
49330         (FE_UPWARD): Likewise.
49331         (FE_TOWARDZERO): Likewise.
49333 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49335         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49337 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49339         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49340         commands.  Quote $PWD.
49341         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49342         -x" by "export".
49343         (remove_newlines): Remove.
49345 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49347         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49348         * stdlib/stdlib.h (atof): Moved to ...
49349         * include/bits/stdlib-float.h: Here.  New file.
49350         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49351         * stdlib/bits/stdlib-float.h: New file.
49352         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49353         -mno-sse -mno-mmx.
49354         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49355         <xmmintrin.h>.
49357 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49359         * conform/conformtest.pl (@headers): Add fenv.h.
49360         * conform/data/fenv.h-data: New file.
49361         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49362         include of <math/fenv.h>.
49364         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49365         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49366         && !UNIX98].  Enables tests for XOPEN2K8.
49367         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49368         POSIX2008]: Likewise.
49370         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49371         (struct rusage): Do not expect type or its members.
49373         [BZ #3439]
49374         * math/math.h (FP_NAN): Define macro to integer constant usable in
49375         #if and use that to give value to enum constant.
49376         (FP_INFINITE): Likewise.
49377         (FP_ZERO): Likewise.
49378         (FP_SUBNORMAL): Likewise.
49379         (FP_NORMAL): Likewise.
49381 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49383         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49384         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49385         arguments.
49387 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49389         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49390         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49391         autoconf-time if not.
49392         * configure.in: Remove AC_PREREQ.
49394 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49396         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49397         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49398         of the internal implementation.
49400 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49402         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49403         except include of <misc/sys/syslog.h>.
49405 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49408         function returns with a NULL context exit with zero.
49410 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49412         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49414 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49416         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49417         (run_program_cmd): This.
49418         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49419         (tst_langinfo): New variable.  Use it.
49421 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49423         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49424         floating point opcodes.
49426 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49428         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49429         variable.
49431         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49433         * sysdeps/mach/hurd/powerpc: Remove directory.
49434         * sysdeps/mach/powerpc: Likewise.
49436 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49438         * scripts/check-local-headers.sh: Ignore c++ headers.
49440 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49442         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49443         __libc_cleanup_region_start argument.
49445 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49447         [BZ #14784]
49448         [BZ #14785]
49449         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49450         x * y using scaling, not as x * y + z.
49451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49453         * math/libm-test.inc (fma_test): Add more tests.
49454         (fma_test_towardzero): Likewise.
49455         (fma_test_downward): Likewise.
49456         (fma_test_upward): Likewise.
49458 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49460         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49462 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49464         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49465         New variable.
49467 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49469         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49471 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49474         Fix sort order.
49475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49476         Likewise.
49478 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49481         Fix the order of the list for glibc 2.17.
49482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49483         Likewise.
49485 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49489 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49491         [BZ #14610]
49492         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49493         for low part of x being zero before using __atanl (y).
49494         * math/libm-test.inc (atan2_test): Add another test.
49496         * manual/install.texi (Configuring and compiling): Document
49497         general use of test-wrapper and test-wrapper-env.
49498         * INSTALL: Regenerated.
49500         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49501         (__fma): Do not extract and scale down low bits on after-rounding
49502         systems when result rounded to normal precision would have normal
49503         exponent.
49504         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49505         (__fmal): Do not extract and scale down low bits on after-rounding
49506         systems when result rounded to normal precision would have normal
49507         exponent.
49508         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49509         (__fmal): Do not extract and scale down low bits on after-rounding
49510         systems when result rounded to normal precision would have normal
49511         exponent.
49512         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49513         macro.
49514         (fma_test): Add more tests.
49515         (fma_test_towardzero): Likewise.
49516         (fma_test_downward): Likewise.
49517         (fma_test_upward): Likewise.
49519 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49521         * sysdeps/i386/tininess.h: Renamed to ...
49522         * sysdeps/x86/tininess.h: This.
49523         * sysdeps/x86_64/tininess.h: Removed.
49525 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49527         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49528         input.  Use $(build-program-cmd).
49529         ($(objpfx)tst-array1-static.out): Likewise.
49530         ($(objpfx)tst-array2.out): Likewise.
49531         ($(objpfx)tst-array3.out): Likewise.
49532         ($(objpfx)tst-array4.out): Likewise.
49533         ($(objpfx)tst-array5.out): Likewise.
49534         ($(objpfx)tst-array5-static.out): Likewise.
49536 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49538         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49539         if defined.
49541         * nss/nsswitch.h (nss_interface_function): Provide new
49542         macro for use with NSS functions.
49543         * grp/initgroups.c: Use new macro.
49544         * nss/getXXbyYY.c: Likewise.
49545         * nss/getXXbyYY_r.c: Likewise.
49546         * nss/getXXent.c: Likewise.
49547         * nss/getXXent_r.c: Likewise.
49548         * sysdeps/posix/getaddrinfo.c: Likewise.
49550 2012-10-30  Andreas Jaeger  <aj@suse.de>
49552         * po/ru.po: Update Russion translation from translation project.
49554 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49556         [BZ #14152]
49557         [BZ #14783]
49558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49559         result and shift together with sticky bit instead of replicating
49560         round-to-nearest rounding.
49561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49563         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49564         missing underflow exceptions.
49565         (fma_test_towardzero): Add more tests.
49566         (fma_test_downward): Likewise.
49567         (fma_test_upward): Likewise.
49569         [BZ #14047]
49570         * sysdeps/generic/tininess.h: New file.
49571         * sysdeps/i386/tininess.h: Likewise.
49572         * sysdeps/sh/tininess.h: Likewise.
49573         * sysdeps/x86_64/tininess.h: Likewise.
49574         * stdlib/tst-strtod-underflow.c: Likewise.
49575         * stdlib/tst-tininess.c: Likewise.
49576         * stdlib/strtod_l.c: Include <tininess.h>.
49577         (round_and_return): Do not set errno for exact underflow cases.
49578         Force an underflow exception when setting errno for underflow.
49579         Determine underflow based on rounding to normal precision if
49580         TININESS_AFTER_ROUNDING.
49581         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49582         ERANGE for exact underflow cases.
49583         * stdlib/Makefile (tests): Add tst-tininess and
49584         tst-strtod-underflow.
49585         ($(objpfx)tst-tininess): Use $(link-libm).
49586         ($(objpfx)tst-strtod-underflow): Likewise.
49588 2012-10-30  Andreas Jaeger  <aj@suse.de>
49590         [BZ#14767]
49591         * elf/Makefile (tests): Remove conditional for have-initfini-array
49592         since this is now always required and the variable does not exist
49593         anymore.
49594         (tests-static): Likewise.
49595         (modules-names): Likewise.
49597         * po/eo.po: Add Esperanto translation from translation project.
49599         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49600         merged with constructor/destructor.
49601         (init_array): Likewise.
49602         * elf/tst-array2dep.c (fini_array): Likewise.
49603         (init_array): Likewise.
49605 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49607         * manual/message.texi: Delete @cartouche tags.
49609 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49611         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49612         EOPNOTSUPP.
49613         * sysdeps/mach/hurd/fsync.c: Likewise.
49615         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49616         [_POSIX_REALTIME_SIGNALS]: Change condition to
49617         [_POSIX_REALTIME_SIGNALS > 0].
49619 2012-10-27  Andreas Jaeger  <aj@suse.de>
49621         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49622         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49623         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49624         [__WORDSIZE != 64]: Likewise.
49626 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49628         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49629         *  iconvdata/tst-tables.sh: Likewise.
49631 2012-10-25  David S. Miller  <davem@davemloft.net>
49633         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49634         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49635         of strtoull.
49637         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49638         ifunc-impl-list.c
49639         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49640         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49641         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49642         file.
49644 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49646         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49647         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49648         __getdirentries.
49650 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49651             Jim Blandy  <jimb@codesourcery.com>
49653         * scripts/cross-test-ssh.sh: New file.
49654         * manual/install.texi (Configuring and compiling): Document use of
49655         cross-test-ssh.sh.
49656         * INSTALL: Regenerated.
49658 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49660         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49661         EOPNOTSUPP.
49663 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49665         * Makeconfig (run-program-prefix): Fix comment.
49667 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49668             Jim Blandy  <jimb@codesourcery.com>
49670         * Makeconfig (test-wrapper): New variable,
49671         (test-wrapper-env): Likewise.
49672         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49673         (run-built-tests): Define to yes.
49674         (run-program-prefix): Use $(test-wrapper).
49675         (built-program-cmd): Likewise.
49676         * Rules (make-test-out): Use $(test-wrapper-env) and
49677         $(host-built-program-cmd).
49678         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49679         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49680         tst-pathopt.sh.
49681         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49682         $(test-wrapper-env) to tst-rtld-load-self.sh.
49683         ($(objpfx)order2.out): Use $(test-wrapper).
49684         ($(objpfx)tst-initorder.out): Likewise.
49685         ($(objpfx)tst-initorder2.out): Likewise.
49686         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49687         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49688         (test_wrapper_env): New variable.  Use it to run ld.so.
49689         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49690         Use it to run ld.so.
49691         (test_wrapper_env): Likewise.
49692         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49693         $(test-wrapper) to run-iconv-test.sh.
49694         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49695         (ICONV): Use $test_wrapper.
49696         * posix/Makefile ($(objpfx)globtest.out): Pass
49697         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49698         globtest.sh, not $(run-program-prefix).
49699         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49700         (test_wrapper): Likewise.
49701         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49702         set together with run_via_rtld_prefix.
49703         (run_program_prefix): Define in terms of test_wrapper and
49704         run_via_rtld_prefix.
49706 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49708         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49709         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49710         Targets removed.
49712         [BZ #14743]
49713         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49714         Declare __clock_getres, __clock_gettime, __clock_settime,
49715         __clock_nanosleep, and __clock_getcpuclockid.
49716         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49717         Remove librt_hidden_def (clock_gettime).
49718         * sysdeps/unix/clock_gettime.c: Likewise.
49719         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49720         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49721         * rt/clock_getres.c: Define __clock_getres as an alias.
49722         * sysdeps/posix/clock_getres.c: Likewise.
49723         * rt/clock_settime.c: Define __clock_settime as an alias.
49724         * sysdeps/unix/clock_settime.c: Likewise.
49725         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49726         * sysdeps/unix/clock_nanosleep.c: Likewise.
49727         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49728         * rt/clock-compat.c: New file.
49729         * rt/Makefile (librt-routines): Add clock-compat and move
49730         $(clock-routines) to ...
49731         (routines): ... here, new variable.
49732         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49733         Don't add get_clockfreq here.
49734         * rt/Versions (libc: GLIBC_2.17): New version set.
49735         Add clock_* symbols here.
49736         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49737         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49738         (GLIBC_2.17): Add clock_* symbols.
49739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49741         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49743         Likewise.
49744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49745         Likewise.
49746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49750         * NEWS: Mention the move.
49752         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49753         Use __open, __read, __close rather than their public counterparts.
49754         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49755         (__get_clockfreq_via_cpuinfo): Likewise.
49756         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49757         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49759         * config.h.in (HAVE_IFUNC): New #undef.
49760         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49761         was successful.
49762         * configure: Regenerated.
49764 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49766         * configure.in: Move READELF check to start of file.
49767         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49768         libc_cv_asm_gnu_indirect_function in the process.
49769         * configure: Regenerated.
49771 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49773         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49774         send the output to /dev/null.
49775         (libc_cv_cc_with_libunwind): Likewise.
49776         (libc_cv_as_noexecstack): Likewise.
49777         * configure: Regenerate.
49779 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49781         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49783         * posix/globtest.sh (TMPDIR): Do not set.
49784         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49785         (testout): Likewise.
49787 2012-10-24  Andreas Jaeger  <aj@suse.de>
49789         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49790         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49791         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49792         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49793         posix_fadvise64, posix_fallocate64.
49795         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49796         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49797         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49798         Likewise.
49799         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49800         Likewise.
49801         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49803         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49804         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49805         <bits/fcntl-linux.h>.
49806         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49809         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49810         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49811         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49812         [__WORDSIZE != 64]: Likewise.
49814 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49816         * Makeconfig (run-built-tests): New variable.
49817         * Rules [$(cross-compiling) = yes]: Change condition to
49818         [$(run-built-tests) = no].
49819         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49820         to [$(run-built-tests) = yes].
49821         * elf/Makefile [$(cross-compiling) = no]: Likewise
49822         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49823         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49824         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49825         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49826         * io/Makefile [$(cross-compiling) = no]: Likewise.
49827         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49828         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49829         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49830         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49831         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49832         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49833         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49834         * string/Makefile [$(cross-compiling) = no]: Likewise.
49836         * posix/Makefile ($(objpfx)globtest.out): Pass
49837         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49838         $(rtld-installed-name).
49839         * posix/globtest.sh (elf_objpfx): Remove variable.
49840         (rtld_installed_name): Likewise.
49841         (library_path): Likewise.
49842         (run_program_prefix): New variable.  Use for running globtest
49843         binary.
49845 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49846             Joseph Myers  <joseph@codesourcery.com>
49848         * Makeconfig (host-built-program-cmd): New variable.
49849         * elf/Makefile (tst-stackguard1-ARGS): Use
49850         $(host-built-program-cmd).
49851         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49852         (tst-spawn-ARGS): Likewise.
49853         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49855 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49856             Jim Blandy  <jimb@codesourcery.com>
49858         * Makeconfig (run-via-rtld-prefix): New variable.
49859         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49860         (built-program-cmd): Likewise.
49862 2012-10-22  Andreas Jaeger  <aj@suse.de>
49864         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49865         __O_RSYNC if it exists, otherwise to O_SYNC.
49867 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49868             Joseph Myers  <joseph@codesourcery.com>
49870         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49871         /dev/null.
49872         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49873         from /dev/null
49874         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49875         /dev/null.
49877 2012-10-22  Andreas Jaeger  <aj@suse.de>
49879         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
49880         Define always.
49881         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49884         bits/fcntl-linux.h.
49886         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
49887         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
49889         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
49890         to __O_LARGEFILE.
49891         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
49892         to __O_LARGEFILE.
49894 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
49895             Joseph Myers  <joseph@codesourcery.com>
49897         * config.make.in (NM): New variable.
49899 2012-10-21  Andreas Jaeger  <aj@suse.de>
49901         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
49902         definitions and declarations that are provided by
49903         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49905 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49907         [BZ #14683]
49908         * elf/Makefile (tests-static): Add tst-leaks1-static.
49909         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
49910         ($(objpfx)tst-leaks1-static): New rule.
49911         ($(objpfx)tst-leaks1-static-mem): Likewise.
49912         (tst-leaks1-static-ENV): New macro.
49913         * elf/dl-open.c (dl_open_worker): Check the main application
49914         only if SHARED is defined.
49915         * elf/tst-leaks1-static.c: New file.
49917 2012-10-20  Andreas Jaeger  <aj@suse.de>
49919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
49920         generic values for Linux.
49921         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
49922         and declarations that are provided by <bits/fcntl-linux.h> and
49923         include <bits/fcntl-linux.h>.
49924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49925         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49927 2012-10-20  Roland McGrath  <roland@hack.frob.com>
49929         * io/fcntl.h: Move include of <bits/types.h> to the top and
49930         include it unconditionally.
49932 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49934         * wcsmbs/Makefile (tests-ifunc): New variable.
49935         (tests): Add $(tests-ifunc).
49936         * wcsmbs/test-wcschr-ifunc.c: New file.
49937         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
49938         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
49939         * wcsmbs/test-wcslen-ifunc.c: Likewise.
49940         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
49941         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
49943         * string/Makefile (tests-ifunc): New variable.
49944         (tests): Add $(tests-ifunc).
49945         * string/test-memccpy.c (TEST_NAME): New macro.
49946         * string/test-memchr.c (TEST_NAME): Likewise.
49947         * string/test-memcmp.c (TEST_NAME): Likewise.
49948         * string/test-memcpy.c (TEST_NAME): Likewise.
49949         * string/test-memmem.c (TEST_NAME): Likewise.
49950         * string/test-memmove.c (TEST_NAME): Likewise.
49951         * string/test-memset.c (TEST_NAME): Likewise.
49952         * string/test-rawmemchr.c (TEST_NAME): Likewise.
49953         * string/test-stpcpy.c (TEST_NAME): Likewise.
49954         * string/test-stpncpy.c (TEST_NAME): Likewise.
49955         * string/test-strcasecmp.c (TEST_NAME): Likewise.
49956         * string/test-strcasestr.c (TEST_NAME): Likewise.
49957         * string/test-strcat.c (TEST_NAME): Likewise.
49958         * string/test-strchr.c (TEST_NAME): Likewise.
49959         * string/test-strcmp.c(TEST_NAME): Likewise.
49960         * string/test-strcpy.c (TEST_NAME): Likewise.
49961         * string/test-strcspn.c (TEST_NAME): Likewise.
49962         * string/test-strlen.c (TEST_NAME): Likewise.
49963         * string/test-strncasecmp.c (TEST_NAME): Likewise.
49964         * string/test-strncmp.c (TEST_NAME): Likewise.
49965         * string/test-strncpy.c (TEST_NAME): Likewise.
49966         * string/test-strnlen.c (TEST_NAME): Likewise.
49967         * string/test-strpbrk.c (TEST_NAME): Likewise.
49968         * string/test-strrchr.c (TEST_NAME): Likewise.
49969         * string/test-strspn.c (TEST_NAME): Likewise.
49970         * string/test-strstr.c (TEST_NAME): Likewise.
49971         * string/test-bcopy-ifunc.c: New file.
49972         * string/test-bzero-ifunc.c: Likewise.
49973         * string/test-memccpy-ifunc.c: Likewise.
49974         * string/test-memchr-ifunc.c: Likewise.
49975         * string/test-memcmp-ifunc.c: Likewise.
49976         * string/test-memcpy-ifunc.c: Likewise.
49977         * string/test-memmem-ifunc.c: Likewise.
49978         * string/test-memmove-ifunc.c: Likewise.
49979         * string/test-mempcpy-ifunc.c: Likewise.
49980         * string/test-memset-ifunc.c: Likewise.
49981         * string/test-rawmemchr-ifunc.c: Likewise.
49982         * string/test-stpcpy-ifunc.c: Likewise.
49983         * string/test-stpncpy-ifunc.c: Likewise.
49984         * string/test-strcasecmp-ifunc.c: Likewise.
49985         * string/test-strcasestr-ifunc.c: Likewise.
49986         * string/test-strcat-ifunc.c: Likewise.
49987         * string/test-strchr-ifunc.c: Likewise.
49988         * string/test-strchrnul-ifunc.c: Likewise.
49989         * string/test-strcmp-ifunc.c: Likewise.
49990         * string/test-strcpy-ifunc.c: Likewise.
49991         * string/test-strcspn-ifunc.c: Likewise.
49992         * string/test-strlen-ifunc.c: Likewise.
49993         * string/test-strncasecmp-ifunc.c: Likewise.
49994         * string/test-strncat-ifunc.c: Likewise.
49995         * string/test-strncmp-ifunc.c: Likewise.
49996         * string/test-strncpy-ifunc.c: Likewise.
49997         * string/test-strnlen-ifunc.c: Likewise.
49998         * string/test-strpbrk-ifunc.c: Likewise.
49999         * string/test-strrchr-ifunc.c: Likewise.
50000         * string/test-strspn-ifunc.c: Likewise.
50001         * string/test-strstr-ifunc.c: Likewise.
50003         * debug/Makefile (tests-ifunc): New variable.
50004         (tests): Add $(tests-ifunc).
50005         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50006         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50007         * debug/test-stpcpy_chk-ifunc.c: New file.
50008         * debug/test-strcpy_chk-ifunc.c: Likewise.
50010 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50012         [BZ #13601]
50013         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50014         header is not read in.
50016 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50018         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50019         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50020         directly.  Pass built executable to script as
50021         $(built-program-cmd).
50022         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50023         $testprogram without using LD_LIBRARY_PATH and $ldso.
50025         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50026         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50027         $(rtld-installed-name).
50028         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50029         (rtld_installed_name): Likewise.
50030         (library_path): Likewise.
50031         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50032         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50033         $(run-program-prefix) to tst-tables.sh.
50034         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50035         it to run tst-table-from and tst-table-to.
50036         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50037         Pass it to tst-table.sh.
50038         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50039         $(run-program-prefix) to tst-gettext.sh.
50040         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50041         tst-translit.sh.
50042         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50043         tst-gettext2.sh.
50044         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50045         to run tst-gettext.
50046         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50047         to run tst-gettext2.
50048         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50049         to run tst-translit.
50050         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50051         $(run-program-prefix) to tst-mtrace.sh.
50052         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50053         to run tst-mtrace.
50054         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50055         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50056         $(rtld-installed-name).
50057         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50058         (rtld_installed_name): Likewise.
50059         (run_program_prefix): New variable.  Use it to run wordexp-test.
50061         * Makeconfig (ARCH): Remove all definitions.
50062         (machine): Likewise.
50063         [ARCH]: Remove conditional code.
50064         [!objdir]: Give error.
50065         [!objdir] (objpfx): Remove.
50066         [!objdir] (common-objpfx): Likewise.
50067         [!objdir] (common-objdir): Likewise.
50068         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50069         AC_CONFIG_FILES call.
50070         * configure: Regenerated.
50072         [BZ #13888]
50073         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50074         or TMPDIR.
50075         (testout): Likewise.
50077         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50078         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50079         $(rtld-installed-name).
50080         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50081         (rtld_installed_name): Likwise.
50082         (runit): Remove function.
50083         (run_getconf): New variable,  Use it for running getconf binary.
50085 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50087         [BZ #14716]
50088         * string/test-memmem.c (check_result): New function.
50089         (do_one_test): Use it.
50090         (check1): New function.
50091         (test_main): Use it.
50093 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50095         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50097 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50099         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50100         (_G_LSEEK64): Likewise.
50101         (_G_MMAP64): Likewise.
50102         (_G_FSTAT64): Likewise.
50103         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50104         (_G_LSEEK64): Likewise.
50105         (_G_MMAP64): Likewise.
50106         (_G_FSTAT64): Likewise.
50107         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50108         unconditional.  Call __mmap64 directly.
50109         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50110         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50111         __lseek64 directly.
50112         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50113         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50114         __mmap64 directly.
50115         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50116         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50117         __lseek64 directly.
50118         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50119         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50120         __lseek64 directly.
50121         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50122         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50123         __lseek64 directly.
50124         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50125         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50126         __fxstat64 directly.
50127         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50128         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50129         unconditional.
50130         (freopen64) [!_G_OPEN64]: Remove conditional code.
50131         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50132         unconditional.
50133         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50134         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50135         unconditional.
50136         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50137         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50138         unconditional.
50139         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50140         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50141         unconditional.
50142         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50143         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50144         unconditional.
50145         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50146         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50147         unconditional.
50148         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50149         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50150         unconditional.
50151         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50153 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50155         [BZ #12140]
50156         * manual/memory.texi (Malloc Tunable Parameters): Add note
50157         about free list pointers overwriting some perturb bytes.
50158         Wording suggested by Roland McGrath.
50160 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50162         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50163         (lgamma_test): Likewise.
50164         (tgamma_test): Likewise.
50166 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50168         [BZ #14700]
50169         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50170         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50172 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50174         * NEWS: Mention BZ #14716.
50175         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50176         when removing AVAILABLE1_USES_J macro.
50178 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50180         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50181         (__bswap_64): __uint64_t for unsigned 64-bit int.
50183 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50185         * include/string.h (memmem): Declare libc hidden alias.
50186         * string/memmem.c (memmem): Define libc hidden alias.
50187         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50188         __read, __close instead of open, read, close.
50190 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50193         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50194         global and hidden.
50195         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50196         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50197         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50198         Likewise.
50199         (__rawmemchr_sse2): Likewise.
50200         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50201         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50202         (__strchr_sse2): Likewise.
50203         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50204         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50205         (__strcasecmp_sse2): Likewise.
50206         (__strncasecmp_sse2): Likewise.
50207         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50208         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50209         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50210         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50211         (__strrchr_sse2): Likewise.
50212         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50213         ifunc-impl-list.c.
50214         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50215         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50216         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50217         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50218         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50219         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50220         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50221         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50222         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50223         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50224         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50225         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50226         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50227         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50228         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50229         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50230         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50231         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50232         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50233         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50234         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50235         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50236         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50237         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50238         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50239         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50240         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50241         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50242         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50243         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50245         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50246         global and hidden.
50247         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50248         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50249         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50250         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50251         Likewise.
50252         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50253         Likewise.
50254         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50255         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50256         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50257         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50258         ifunc-impl-list.c.
50259         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50260         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50261         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50262         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50263         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50264         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50265         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50266         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50267         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50268         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50269         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50270         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50271         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50272         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50273         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50274         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50275         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50276         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50277         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50278         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50279         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50280         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50281         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50282         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50283         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50284         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50285         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50286         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50287         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50288         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50289         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50290         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50291         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50292         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50293         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50294         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50295         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50296         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50297         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50298         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50299         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50301         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50302         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50303         * include/ifunc-impl-list.h: New file.
50304         * misc/ifunc-impl-list.c: Likewise.
50305         * misc/Makefile (routines): Add ifunc-impl-list.
50306         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50307         * string/test-string.h: Include <ifunc-impl-list.h>.
50308         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50309         TEST_NAME]: New variables.
50310         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50311         are defined.
50312         (test_init): Call __libc_ifunc_impl_list to initialize
50313         func_list if TEST_IFUNC and TEST_NAME are defined.
50315         * string/Makefile (strop-tests): Add bcopy and bzero.
50316         * string/test-bcopy.c: New file.
50317         * string/test-bzero.c: Likewise.
50318         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50319         defined.
50320         * string/test-memset.c: Support bzero test if TEST_BZERO is
50321         defined.
50322         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50323         __libc_memmove.
50324         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50325         __libc_memset.
50326         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50327         of memset.
50329 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50331         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50332         * configure: Regenerated.
50334         * Makeconfig (+link-static-before-libc): Don't include
50335         $(link-static-libc).
50337         * libio/libio.h (_IO_pos_t): Remove.
50339 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50341         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50342         McGrath.
50344 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50346         * crypt/crypt-entry.c: Include fips-private.h.
50347         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50348         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50349         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50350         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50352 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50354         * crypt/crypt-private.h: Include stdbool.h.
50355         (_ufc_setup_salt_r): Return bool.
50356         * crypt/crypt-entry.c: Include errno.h.
50357         (__crypt_r): Return NULL with EINVAL for bad salt.
50358         * crypt/crypt_util.c (bad_for_salt): New.
50359         (_ufc_setup_salt_r): Check that salt is long enough and within
50360         the specified alphabet.
50361         * crypt/badsalttest.c: New file.
50362         * crypt/Makefile (tests): Add it.
50363         ($(objpfx)badsalttest): New.
50365 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50367         * NEWS: Add entry for BZ #14602.
50369 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50371         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50372         type-generic.
50373         * math/libm-test.inc: Update comment listing what functions and
50374         macros are tested.
50375         (isgreater_test): New function.
50376         (isgreaterequal_test): Likewise.
50377         (isless_test): Likewise.
50378         (islessequal_test): Likewise.
50379         (islessgreater_test): Likewise.
50380         (isunordered_test): Likewise.
50381         (main): Call the new functions.
50383 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50385         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50386         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50387         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50388         * sysdeps/i386/configure: Regenerated.
50389         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50390         * sysdeps/mach/configure: Regenerated.
50391         * sysdeps/mach/hurd/configure: Regenerated.
50392         * sysdeps/powerpc/configure: Regenerated.
50393         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50394         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50395         * sysdeps/s390/s390-32/configure: Regenerated.
50396         * sysdeps/s390/s390-64/configure: Regenerated.
50397         * sysdeps/sh/configure: Regenerated.
50398         * sysdeps/sparc/configure: Regenerated.
50399         * sysdeps/unix/sysv/linux/configure: Regenerated.
50400         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50401         * sysdeps/x86_64/configure: Regenerated.
50403         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50404         defined.  Don't check if MAP is NULL.
50406 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50408         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50409         (_G_stat64): Likewise.
50410         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50411         (_G_stat64): Likewise.
50412         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50413         instead of struct _G_stat64.
50414         * libio/fileops.c (mmap_remap_check): Likewise.
50415         (decide_maybe_mmap): Likewise.
50416         (_IO_new_file_seekoff): Likewise.
50417         (_IO_file_stat): Likewise.
50418         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50419         _G_off64_t.
50420         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50421         instead of struct _G_stat64.
50422         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50424 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50426         [BZ #14602]
50427         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50428         Replace with ...
50429         (CHECK_EOL): New macro.
50430         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50431         CHECK_EOL.
50432         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50433         Replace with CHECK_EOL.
50434         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50435         Replace with CHECK_EOL.
50437 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50439         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50440         type-generic.
50441         * math/libm-test.inc: Update comment listing what functions and
50442         macros are tested.
50443         (finite_test): New function.
50444         (isinf_test): Likewise.
50445         (isnan_test): Likewise.
50446         (fpclassify_test): Test subnormal input.
50447         (isfinite_test): Likewise.
50448         (isnormal_test): Likewise.
50449         (main): Call the new functions.
50451 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50453         [BZ #14660]
50454         * Makerules (%.dynsym): Force C locale when running
50455         $(OBJDUMP) --dynamic-syms.
50457 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50459         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50460         <stdint.h>.
50462 2012-10-06  David S. Miller  <davem@davemloft.net>
50464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50465         upper 32-bits of the length value in %o2 since we use branch-on-register
50466         tests which consider the entire 64-bit register.
50468 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50470         * string/test-strstr.c (check2): Add a test for page boundary.
50472 2012-10-05  David S. Miller  <davem@davemloft.net>
50474         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50475         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50476         file.
50477         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50478         sysdep_routines.
50479         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50480         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50481         and bzero when HWCAP_SPARC_CRYPTO is present.
50483 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50485         [BZ #14602]
50486         * string/test-strstr.c (check2): New function.
50487         (test_main): Call check2.
50489         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50490         and bug-strchr1.
50491         * string/bug-strcasestr1.c (do_test): Moved to ...
50492         * string/test-strcasestr.c (check1): Here.  New function.
50493         (do_one_test): Break out result checking code into ...
50494         (check_result): This.  New function.
50495         (do_one_test): Call check_result.
50496         (test_main): Call check1.
50497         * string/bug-strchr1.c (do_test): Moved to ...
50498         * string/test-strchr.c (check1): Here.  New function.
50499         (do_one_test): Break out result checking code into ...
50500         (check_result): This.  New function.
50501         (do_one_test): Call check_result.
50502         (test_main): Call check1.
50503         * string/bug-strstr1.c (main): Moved to ...
50504         * string/test-strstr.c (check1): Here.  New function.
50505         (do_one_test): Break out result checking code into ...
50506         (check_result): This.  New function.
50507         (do_one_test): Call check_result.
50508         (test_main): Call check1.
50509         * string/bug-strcasestr1.c: Removed.
50510         * string/bug-strchr1.c: Likewise.
50511         * string/bug-strstr1.c: Likewise.
50513         * elf/Makefile (dl-routines): Add hwcaps.
50514         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50515         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50516         (_dl_important_hwcaps): Moved to ...
50517         * elf/dl-hwcaps.c: Here.  New file.
50518         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50520         [BZ #14557]
50521         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50522         if IS_IN_rtld isn't defined.
50524         * elf/dl-support.c (_dl_sysinfo_map): New.
50525         Include "get-dynamic-info.h" and "setup-vdso.h".
50526         (_dl_non_dynamic_init): Call setup_vdso.
50527         * elf/dynamic-link.h: Don't include <assert.h>.
50528         (elf_get_dynamic_info): Moved to ...
50529         * elf/get-dynamic-info.h: Here.  New file.
50530         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50531         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50532         * elf/setup-vdso.h: Here.  New file.
50533         * elf/rtld.c: Include "setup-vdso.h".
50534         (dl_main): Call setup_vdso.
50536 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50538         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50539         creal in comment listing functions tested.  List finite, isinf,
50540         isnan, isless, islessequal, isgreater, isgreaterequal,
50541         islessgreater, isunordered, lgamma_r and pow10 as functions and
50542         macros not tested.  Mention which functions not tested are aliases
50543         for other functions.  Fix typo.  Note that signs of NaNs are not
50544         tested.
50546         * scripts/config.guess: Update from config.git.
50547         * scripts/config.sub: Likewise.
50549 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50551         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50552         * misc/madvise.c (madvise): Renamed to __madvise.
50553         Make madvise a weak alias.
50554         * include/sys/mman.h: Declare __madvise.
50555         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50556         * sysdeps/unix/syscalls.list
50557         (madvise): Make __madvise the strong name, and madvise a weak alias.
50558         * sysdeps/unix/sysv/linux/syscalls.list
50559         (madvise, mmap): Remove redundant entries.
50560         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50561         * malloc/malloc.c (mtrim): Likewise.
50562         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50564 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50566         * sysdeps/mach/hurd/dl-cache.c: File removed.
50567         * config.h.in (USE_LDCONFIG): New #undef.
50568         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50569         * configure: Regenerated.
50570         * elf/Makefile (dl-routines): Add dl-cache only under
50571         [$(use-ldconfig) = yes].
50572         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50573         cache on [USE_LDCONFIG].
50574         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50575         [USE_LDCONFIG].
50576         * elf/rtld.c (dl_main): Likewise.
50578 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50580         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50581         _SC_LEVEL4_CACHE_LINESIZE.
50583 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50585         * sysdeps/unix/bsd/confstr.h: File removed.
50587 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50589         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50590         sys/sdt-config.h.
50592 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50594         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50595         Make 'mapoff' field ElfW(Off) rather than off_t.
50597 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50599         * nscd/Makefile: Remove nscd-cflags and all its users.
50600         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50601         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50603         [BZ #10631]
50604         * malloc.c (malloc_printerr): Clarify error message.
50606 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50608         [BZ #14648]
50609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50610         Set bit_FMA_Usable if FMA is supported.
50611         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50612         macro.
50613         (bit_FMA4_Usable): Updated.
50614         (index_FMA_Usable): New macro.
50615         (CPUID_FMA): Likewise
50616         (HAS_FMA): Defined with bit_FMA_Usable.
50618 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50620         * bits/types.h (__swblk_t): Type removed.
50621         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50622         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50623         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50624         (__SWBLK_T_TYPE): Likewise.
50625         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50626         (__SWBLK_T_TYPE): Likewise.
50627         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50628         (__SWBLK_T_TYPE): Likewise.
50629         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50630         (__SWBLK_T_TYPE): Likewise.
50632 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50633             Honza Horak <hhorak@redhat.com>
50635         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50636         (xdr_mapname): Use YPMAXMAP as maxsize.
50637         (xdr_peername): Use YPMAXPEER as maxsize.
50638         (xdr_keydat): Use YPAXRECORD as maxsize.
50639         (xdr_valdat): Use YPMAXRECORD as maxsize.
50641 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50643         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50645         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50646         * csu/init-first.c: ... here.
50647         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50648         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50649         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50650         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50651         * sysdeps/i386/init-first.c: File removed.
50652         * sysdeps/sh/init-first.c: File removed.
50654 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50656         [BZ #14645]
50657         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50658         if x * y might underflow to zero and z is zero.
50659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50661         * math/libm-test.inc (min_subnorm_value): New variable.
50662         (fma_test): Add more tests.
50663         (fma_test_towardzero): Likewise.
50664         (fma_test_downward): Likewise
50665         (fma_test_upward): Likewise.
50666         (initialize): Set min_subnorm_value.
50668 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50670         [BZ #14638]
50671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50672         0 + 0.
50673         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50674         mode for addition resulting in exact zero.
50675         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50676         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50677         exact 0 + 0.
50678         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50679         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50680         * math/libm-test.inc (fma_test): Add more tests.
50681         (fma_test_towardzero): New function.
50682         (fma_test_downward): Likewise.
50683         (fma_test_upward): Likewise.
50684         (main): Call the new functions.
50686 2012-09-28  David S. Miller  <davem@davemloft.net>
50688         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50690 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50692         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50693         instead of SIGALRM.
50695         * sysdeps/gnu/_G_config.h: Moved to ...
50696         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50697         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50698         * sysdeps/generic/_G_config.h: ... here.
50700         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50702         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50704         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50705         Conditionalize target on [libnss_test1.so-version].
50707         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50709         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50710         (elfobjdir): Move out of conditionals.
50712         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50713         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50714         (__nss_lookup_function): Conditionalize label remove_from_tree on
50715         [!DO_STATIC_NSS || SHARED], matching its only use.
50717 2012-09-28  David S. Miller  <davem@davemloft.net>
50719         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50720         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50721         file.
50722         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50723         sysdep_routines.
50724         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50725         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50726         when HWCAP_SPARC_CRYPTO is present.
50728 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50730         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50732 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50734         [BZ #6530]
50735         * stdio-common/vfprintf.c (process_string_arg): Revert
50736         2000-07-22 change.
50738 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50740         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50741         for testcase.
50742         * stdio-common/tst-sprintf.c: Include <locale.h>
50743         (main): Test sprintf's handling of incomplete multibyte
50744         characters.
50746 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50748         * elf/dl-runtime.c (VERSYMIDX): Removed.
50749         * elf/dl-version.c (VERSYMIDX): Likewise.
50750         * elf/do-rel.h (VERSYMIDX): Likewise.
50751         (VALIDX): Likewise.
50752         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50753         * elf/rtld.c (VALIDX): Likewise.
50754         (ADDRIDX): Likewise.
50755         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50756         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50757         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50758         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50759         (VALIDX): Likewise.
50760         (ADDRIDX): Likewise.
50762 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50764         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50766 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50768         [BZ #11438]
50769         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50770         to global scope.
50771         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50772         addresses are in the same scope as 192.0.2/24.
50773         * posix/gai.conf: Document new scope table defaults.
50775 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50777         [BZ #5298]
50778         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50779         for ftell.  Compute offsets from write pointers instead.
50780         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50782 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50784         [BZ #14543]
50785         * libio/Makefile (tests): New test case tst-fseek.
50786         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50787         combination works in wide mode.
50788         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50789         state when the external buffer state changes.
50791 2012-09-27  David S. Miller  <davem@davemloft.net>
50793         [BZ #14376]
50794         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50795         pass reloc->r_addend in as the 'high' argument to
50796         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50800 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50802         * rt/tst-aio2.c: Include <pthread.h>.
50803         * rt/tst-aio3.c: Likewise.
50805 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50807         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50809 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50811         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50812         contents on [SHARED].
50814 2012-09-26  Marek Polacek  <polacek@redhat.com>
50816         [BZ #14530]
50817         [BZ #13741]
50818         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50819         for C++ and GCC <4.3 as well as for non GCC compilers.
50821 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50825 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50827         * Makefile.in (all, install): Declare with .PHONY.
50828         Reported by Michael Hope <michael.hope@linaro.org>.
50830 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50832         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50833         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50834         system header.
50835         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50836         Likewise.
50837         (sydep_routines): Add the new and the internal functions.
50838         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50839         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50841         (GLIBC_2.17): Add the new function.
50842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50843         (GLIBC_2.17): Likewise.
50844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50845         (GLIBC_2.17): Likewise.
50846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50847         (GLIBC_2.17): Likewise.
50848         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50850 2012-09-25  Alan Modra  <amodra@gmail.com>
50852         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50853         Add release barrier before setting once_control to say
50854         initialisation is done.  Add hints on lwarx.  Use macro in
50855         place of isync.
50856         (clear_once_control): Add release barrier.
50858 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50860         [BZ #13629]
50861         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50862         specially.
50863         * math/s_clog10.c (__clog10): Likewise.
50864         * math/s_clog10f.c (__clog10f): Likewise.
50865         * math/s_clog10l.c (__clog10l): Likewise.
50866         * math/s_clogf.c (__clogf): Likewise.
50867         * math/s_clogl.c (__clogl): Likewise.
50868         * math/Makefile (libm-calls): Add x2y2m1.
50869         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50870         (__x2y2m1): Likewise.
50871         (__x2y2m1l): Likewise.
50872         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50873         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50874         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50875         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50876         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50877         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50878         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50879         * sysdeps/i386/fpu/libm-test-ulps: Update.
50880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50882         [BZ #14621]
50883         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
50884         int as type of variable DEPTH.
50885         (glob): Use size_t instead of int as type of variables NEWCOUNT
50886         and OLD_PATHC.
50888 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50890         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50891         Add s_sincosf-sse2.
50892         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
50893         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
50894         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
50895         macros for using routine as __sincosf_ia32.
50896         Use macro for function declaration and weak_alias.
50897         * sysdeps/i386/fpu/libm-test-ulps: Update.
50899         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
50900         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50902         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
50903         subnormal argument.
50904         * math/s_cexpf.c (__cexpf): Likewise.
50905         * math/s_csinf.c (__csinf): Likewise.
50906         * math/s_csinhf.c (__csinhf): Likewise.
50907         * math/s_ctanf.c (__ctanf): Likewise.
50908         * math/s_ctanhf.c (__ctanhf): Likewise.
50909         * math/s_ccosh.c (__ccoshf): Likewise.
50910         * math/s_cexp.c (__cexpl): Likewise.
50911         * math/s_csin.c (__csin): Likewise.
50912         * math/s_csinh.c (__csinh): Likewise.
50913         * math/s_ctan.c (__ctan): Likewise.
50914         * math/s_ctanh.c (ctanh): Likewise.
50915         * math/s_ccoshl.c (__ccoshl): Likewise.
50916         * math/s_cexpl.c (__cexpl): Likewise.
50917         * math/s_csinl.c (__csinl): Likewise.
50918         * math/s_csinhl.c (__csinhl): Likewise.
50919         * math/s_ctanl.c (__ctanl): Likewise.
50920         * math/s_ctanhl.c (__ctanhl): Likewise.
50922 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50924         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
50925         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
50926         (_IO_off_t): Define to __off_t, not _G_off_t.
50927         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
50928         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
50929         (_IO_wint_t): Define to wint_t, not _G_wint_t.
50930         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
50931         type of __dummy and __dummy2 fields.
50932         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
50933         (_G_ssize_t): Likewise.
50934         (_G_off_t): Likewise.
50935         (_G_pid_t): Likewise.
50936         (_G_uid_t): Likewise.
50937         (_G_wchar_t): Likewise.
50938         (_G_wint_t): Likewise.
50939         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
50940         (_G_ssize_t): Likewise.
50941         (_G_off_t): Likewise.
50942         (_G_pid_t): Likewise.
50943         (_G_uid_t): Likewise.
50944         (_G_wchar_t): Likewise.
50945         (_G_wint_t): Likewise.
50946         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
50947         (_G_ssize_t): Likewise.
50948         (_G_off_t): Likewise.
50949         (_G_pid_t): Likewise.
50950         (_G_uid_t): Likewise.
50951         (_G_wchar_t): Likewise.
50952         (_G_wint_t): Likewise.
50954 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50956         * malloc/arena.c: Include malloc-sysdep.h.
50957         (shrink_heap): Use check_may_shrink_heap to decide if madvise
50958         is sufficient to shrink the heap or an unmap is needed.
50959         * sysdeps/generic/malloc-sysdep.h: New file.  Define
50960         new function check_may_shrink_heap.
50961         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
50962         new function check_may_shrink_heap.
50964 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50966         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
50967         comments.
50969 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
50971         * catgets/test-gencat.sh: Add "set -e".
50972         * elf/tst-pathopt.sh: Likewise.
50973         * grp/tst_fgetgrent.sh: Likewise.
50974         * iconvdata/run-iconv-test.sh: Likewise.
50975         * intl/tst-gettext.sh: Likewise.
50976         * intl/tst-gettext2.sh: Likewise.
50977         * intl/tst-gettext4.sh: Likewise.
50978         * intl/tst-gettext6.sh: Likewise.
50979         * intl/tst-translit.sh: Likewise.
50980         * io/ftwtest-sh: Likewise.
50981         * libio/test-freopen.sh: Likewise.
50982         * malloc/tst-mtrace.sh: Likewise.
50983         * posix/globtest.sh: Likewise.
50984         * posix/tst-getconf.sh: Likewise.
50985         * posix/wordexp-tst.sh: Likewise.
50986         * stdio-common/tst-printf.sh: Likewise.
50987         * stdio-common/tst-unbputc.sh: Likewise.
50988         * stdlib/tst-fmtmsg.sh: Likewise.
50989         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50990         * catgets/Makefile: Do not specify -e option when running
50991         testsuite shell scripts.
50992         * elf/Makefile: Likewise.
50993         * grp/Makefile: Likewise.
50994         * iconvdata/Makefile: Likewise.
50995         * intl/Makefile: Likewise.
50996         * io/Makefile: Likewise.
50997         * libio/Makefile: Likewise.
50998         * malloc/Makefile: Likewise.
50999         * posix/Makefile: Likewise.
51000         * stdio-common/Makefile: Likewise.
51001         * stdlib/Makefile: Likewise.
51002         * sysdeps/x86_64/Makefile: Likewise.
51004         * io/ftwtest-sh: Add copyright header.
51005         * posix/globtest.sh: Likewise.
51006         * posix/tst-getconf.sh: Likewise.
51007         * posix/wordexp-tst.sh: Likewise.
51008         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51010 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51012         [BZ #13679]
51013         * Makeconfig (+link): Defined as $(+link-static) if
51014         $(build-shared) isn't yes.
51015         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51016         isn't yes.
51017         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51019         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51021         [BZ #14562]
51022         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51023         new chunk size with MALLOC_ALIGN_MASK.
51025 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51027         [BZ #5044]
51028         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51029         <rounding-mode.h>.
51030         (__printf_fphex): Determine rounding using get_rounding_mode and
51031         round_away.
51032         * stdio-common/tst-printf-round.c (struct hex_test): New
51033         structure.
51034         (hex_tests): New variable.
51035         (test_hex_in_one_mode): New function.
51036         (do_test): Also run tests for hex float output.
51038 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51040         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51041         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51042         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51043         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51044         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51045         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51046         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51047         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51049 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51051         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51052         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51053         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51054         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51056 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51058         [BZ #14579]
51059         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51060         mode only.
51061         * elf/tst-rtld-load-self.sh: New test.
51062         * elf/Makefile: Run it.
51064 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51066         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51067         (tst-writev-ENV): Remove.
51068         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51070 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51072         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51074 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51076         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51077         unconditional.
51078         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51079         Likewise.
51080         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51081         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51082         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51083         Likewise.
51085 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51087         [BZ #14587]
51088         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51089         * config.make.in (have-cpp-asm-debuginfo): Removed.
51090         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51091         * configure: Regenerated.
51093 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51095         [BZ #5044]
51096         * stdio-common/printf_fp.c: Include <stdbool.h> and
51097         <rounding-mode.h>.
51098         (___printf_fp): Determine rounding using get_rounding_mode and
51099         round_away.
51100         * stdio-common/tst-printf-round.c: New file.
51101         * stdio-common/Makefile (tests): Add tst-printf-round.
51102         (link-libm): New variable.
51103         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51105 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51107         [BZ #14576]
51108         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51109         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51110         Likewise.
51111         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51112         Likewise.
51114 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51116         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51117         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51118         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51119         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51121 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51123         [BZ #14518]
51124         * include/rounding-mode.h: New file.
51125         * sysdeps/generic/get-rounding-mode.h: Likewise.
51126         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51127         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51128         (MAX_VALUE): New macro.
51129         (MIN_VALUE): Likewise.
51130         (overflow_value): New function.
51131         (underflow_value): Likewise.
51132         (round_and_return): Use overflow_value and underflow_value to
51133         determine return values in overflow and underflow cases.  Use
51134         round_away to determine rounding depending on rounding mode.
51135         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51136         determine return values in overflow and underflow cases.
51137         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51138         (struct test_results): New structure.
51139         (struct test): Use struct test_results to store expected results
51140         for all rounding modes.
51141         (TEST): Include expected results for all rounding modes.
51142         (test_in_one_mode): New function.
51143         (do_test): Use test_in_one_mode to compute and check results.
51144         Check results for all rounding modes.
51145         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51146         $(link-libm).
51148 2012-12-09  Allan McRae  <allan@archlinux.org>
51150         * sysdeps/i386/fpu/libm-test-ulps: Update
51152 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51154         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51155         (_G_int32_t): Likewise.
51156         (_G_uint16_t): Likewise.
51157         (_G_uint32_t): Likewise.
51158         (_G_HAVE_BOOL): Likewise.
51159         (_G_HAVE_ATEXIT): Likewise.
51160         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51161         (_G_HAVE_IO_FILE_OPEN): Likewise.
51162         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51163         (_G_int32_t): Likewise.
51164         (_G_uint16_t): Likewise.
51165         (_G_uint32_t): Likewise.
51166         (_G_HAVE_BOOL): Likewise.
51167         (_G_HAVE_ATEXIT): Likewise.
51168         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51169         (_G_HAVE_IO_FILE_OPEN): Likewise.
51170         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51171         (_G_int32_t): Likewise.
51172         (_G_uint16_t): Likewise.
51173         (_G_uint32_t): Likewise.
51174         (_G_HAVE_BOOL): Likewise.
51175         (_G_HAVE_ATEXIT): Likewise.
51176         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51177         (_G_HAVE_IO_FILE_OPEN): Likewise.
51179 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51181         * csu/libc-tls.c: Update copyright years.
51183 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51185         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51186         [!_G_USING_THUNKS]: Remove conditional code.
51187         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51188         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51190         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51191         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51192         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51193         (_G_VTABLE_LABEL_PREFIX): Likewise.
51194         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51195         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51196         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51197         (_G_VTABLE_LABEL_PREFIX): Likewise.
51198         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51199         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51200         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51201         (_G_VTABLE_LABEL_PREFIX): Likewise.
51202         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51204 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51206         * libio/Makefile: Include ../Makeconfig before tests.
51207         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51208         only if $(build-shared) is yes.
51210         * iconv/gconv_db.c: Update copyright years.
51212 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51214         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51215         unwind info if defined PIC. Fix special cases description.
51216         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51218         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51219         DP_HI_MASK entry.
51220         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51222 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51224         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51226         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51227         is NULL.
51229         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51230         (LDLIBS-tst-chk4): This.
51231         (LDFLAGS-tst-chk5): Renamed to ...
51232         (LDLIBS-tst-chk5): This.
51233         (LDFLAGS-tst-chk6): Renamed to ...
51234         (LDLIBS-tst-chk6): This.
51235         (LDFLAGS-tst-lfschk4): Renamed to ...
51236         (LDLIBS-tst-lfschk4): This.
51237         (LDFLAGS-tst-lfschk5): Renamed to ...
51238         (LDLIBS-tst-lfschk5): This.
51239         (LDFLAGS-tst-lfschk6): Renamed to ...
51240         (LDLIBS-tst-lfschk6): This.
51242         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51243         on $(common-objpfx)soversions.mk.
51245 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51247         [BZ #10014]
51248         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51249         example host name.
51251 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51253         * malloc/arena.c (arena_get_retry): New function that gets
51254         another arena for the caller to try its request on.
51255         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51256         current arena cannot fulfill the request.
51257         (__libc_memalign): Likewise.
51258         (__libc_memalign): Likewise.
51259         (__libc_pvalloc): Likewise.
51260         (__libc_calloc): Likewise.
51262 2012-09-05  John Tobey  <john.tobey@gmail.com>
51264         [BZ #13542]
51265         * manual/arith.texi (Operations on Complex): Fix description
51266         of carg branch cut.
51268 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51270         [BZ #10014]
51271         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51272         host name.
51274         [BZ #10038]
51275         * manual/memory.texi (Memory): Make order of menu items match
51276         order of sections.
51278 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51280         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51281         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51282         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51284 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51286         * csu/libc-tls.c (static_dtv): Renamed to ...
51287         (_dl_static_dtv): This.  Make it global.
51288         (_dl_initial_dtv): Removed.
51289         (__libc_setup_tls): Updated.
51290         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51291         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51292         DL_INITIAL_DTV.
51294 2012-09-06  Petr Machata  <pmachata@redhat.com>
51296         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51297         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51298         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51299         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51301 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51303         [BZ #14545]
51304         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51305         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51306         freeing dtv[-1].
51308 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51310         [BZ #14544]
51311         * Makeconfig (link-static-before-libc): Replace $(+prector)
51312         with $(+prectorT).
51313         (link-static-after-libc): Replace $(+postctor) with
51314         $(+postctorT).
51315         (link-bounded): Replace $(+prector)/$(+postctor) with
51316         $(+prectorT)/$(+postctorT).
51317         (+prectorT): New macro.
51318         (+postctorT): Likewise.
51320 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51322         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51323         (round_str): Handle values above the maximum for IBM long double
51324         as inexact.
51325         * stdlib/tst-strtod-round.c (tests): Regenerated.
51327 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51329         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51330         assembler flag.
51331         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51332         zarch_nohighgprs around the zarch optimized routines.
51333         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51334         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51335         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51336         for zarch.
51338 2012-09-05  David S. Miller  <davem@davemloft.net>
51340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51342         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51343         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51344         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51345         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51346         entries.
51348 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51350         * malloc/arena.c: Fold copyright years.
51351         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51353 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51355         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51357 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51359         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51361 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51363         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51364         change internal state upon failure.
51366 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51368         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51369         * malloc/memusage.c (mmap): Likewise.
51370         (mmap64, mremap): Likewise.  Adjust name in comment.
51372 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51374         * libio/fileops.c: Fix typos in comments.
51375         * libio/oldfileops.c: Likewise.
51376         * libio/wfileops.c: Likewise.
51378 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51380         [BZ #1349]
51381         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51382         (tst-malloc-usable-ENV): Set environment for test case.
51383         * malloc/hooks.c (malloc_check_get_size): New function to get
51384         requested size.
51385         * malloc/malloc.c (musable): Use malloc_check_get_size.
51386         * malloc/tst-malloc-usable.c: New test case.
51388 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51390         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51392 2012-09-05  Allan McRae  <allan@archlinux.org>
51394         [BZ #13966]
51395         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51396         determine header location.
51397         * configure: Regenerated.
51399 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51401         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51402         float format.
51403         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51404         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51405         format.
51406         (test): Regenerate.
51408 2012-09-04  David S. Miller  <davem@davemloft.net>
51410         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51411         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51412         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51414 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51416         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51417         failures.
51419         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51421 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51423         [BZ #9914]
51424         * libio/iogetdelim.c: Include <limits.h>.
51425         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51426         + len + 1 would overflow.
51428 2012-09-03  Andreas Jaeger  <aj@suse.de>
51430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51431         * sysdeps/i386/fpu/libm-test-ulps: Update.
51433 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51435         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51436         Add s_sinf-sse2, s_conf-sse2.
51438         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51439         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51440         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51441         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51443         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51444         for using routine as __sinf_ia32.
51445         Use macro for function declaration and weak_alias.
51446         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51447         for using routine as __cosf_ia32.
51448         Use macro for function declaration and weak_alias.
51450         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51451         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51453         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51454         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51457         * math/libm-test.inc (cos_test): Add more test cases.
51458         (sin_test): Likewise.
51459         (sincos_test): Likewise.
51461 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51463         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51464         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51465         hidden.
51466         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51468 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51470         [BZ #14538]
51471         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51472         first element of the GOT.
51473         (elf_machine_load_address): Return the difference between
51474         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51476 2012-09-01  Allan McRae  <allan@archlinux.org>
51478         [BZ #13412]
51479         * configure.in (AWK): Require gawk version 3.0 or later.
51480         * configure: Regenerated.
51482 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51484         * sysdeps/unix/sysv/linux/kernel-features.h
51485         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51486         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51487         [__NR_clock_getres]: Make code unconditional.
51488         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51489         (clock_getcpuclockid): Remove code left unreachable by removal of
51490         conditionals.
51491         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51492         code unconditional.
51493         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51494         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51495         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51496         Make code unconditional.
51497         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51498         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51499         * sysdeps/unix/sysv/linux/clock_settime.c
51500         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51501         conditional code.
51502         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51503         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51505 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51507         [BZ #14476]
51508         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51509         scripts/test-installation.pl.
51511         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51512         and $ld_so_version if it is set.
51514 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51516         [BZ #14516]
51517         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51518         failure if reading from procfs failed.
51519         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51521 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51523         * sysdeps/unix/sysv/linux/kernel-features.h
51524         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51525         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51526         Remove conditional code.
51527         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51528         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51529         Remove conditional code.
51530         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51531         * sysdeps/unix/sysv/linux/i386/fxstat.c
51532         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51533         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51534         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51535         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51536         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51537         * sysdeps/unix/sysv/linux/i386/lxstat.c
51538         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51539         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51540         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51541         Remove conditional code.
51542         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51543         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51544         Remove conditional code.
51545         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51546         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51547         <kernel-features.h>.
51548         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51549         Remove.
51550         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51551         Remove conditional code.
51552         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51553         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51554         Remove conditional.
51556 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51558         [BZ #5400]
51559         * NEWS: Add fixed bug number.
51561 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51563         [BZ #14519]
51564         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51565         underflowing exponent in case of negative sign.
51566         * stdlib/tst-strtod-round-data: Add more tests.
51567         * stdlib/tst-strtod-round.c (tests): Regenerated.
51569         [BZ #3479]
51570         * stdlib/strtod_l.c (NDIG): Remove.
51571         (HEXNDIG): Likewise.
51572         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51573         smallest representable value.
51574         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51575         lie within an exact representation of 1/2 ulp of the result.
51576         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51577         unconditionally.
51578         (TENS_P9_IDX): Define unconditionally.
51579         (TENS_P9_SIZE): Likewise.
51580         (TENS_P10_IDX): Likewise.
51581         (TENS_P10_SIZE): Likewise.
51582         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51583         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51584         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51585         entries for 10^2^13 and 10^2^14.
51586         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51587         (TENS_P13_IDX): Define.
51588         (TENS_P13_SIZE): Likewise.
51589         (TENS_P14_IDX): Likewise.
51590         (TENS_P14_SIZE): Likewise.
51591         (_fpioconst_pow10): Change array size to
51592         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51593         unconditional.
51594         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51595         1024]: Add entries for 10^2^13 and 10^2^14.
51596         [LAST_POW10 > _LAST_POW10]: Remove #error.
51597         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51598         (_fpioconst_pow10): Change array size to
51599         FPIOCONST_POW10_ARRAY_SIZE.
51600         * stdlib/gen-fpioconst.c: New file.
51601         * stdlib/gen-tst-strtod-round.c: Likewise.
51602         * stdlib/tst-strtod-round-data: Likewise.
51603         * stdlib/tst-strtod-round.c: Likewise.
51604         * stdlib/Makefile (tests): Add tst-strtod-round.
51606         [BZ #14459]
51607         * stdlib/strtod_l.c: Include <stdint.h>.
51608         (NDEBUG): Do not define.
51609         (round_and_return): Change EXPONENT parameter to type intmax_t.
51610         Rearrange calculations to avoid internal overflow possibilities.
51611         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51612         Rearrange calculations to avoid internal overflow possibilities.
51613         Assert that number fits inside MPNSIZE limbs.
51614         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51615         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51616         calculations and add assertions to avoid internal overflow
51617         possibilities.  Add casts to avoid signed/unsigned operations.
51618         * stdlib/tst-strtod-overflow.c: New file.
51619         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51621 2012-08-25  Marek Polacek  <polacek@redhat.com>
51623         * time/time.h: Fix some typos in comments.
51625 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51627         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51628         * posix/tst-rfc3484-2.c: Likewise.
51629         * posix/tst-rfc3484-3.c: Likewise.
51631 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51633         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51634         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51636 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51638         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51639         #include of fxstatat64.c.
51641 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51643         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51644         * shadow/getspent_r.c: Likewise.
51645         * shadow/getspnam.c: Likewise.
51646         * shadow/getspnam_r.c: Likewise.
51647         * gshadow/getsgent.c: Likewise.
51648         * gshadow/getsgent_r.c: Likewise.
51649         * gshadow/getsgnam.c: Likewise.
51650         * gshadow/getsgnam_r.c: Likewise.
51651         * inet/getnetbyad.c: Likewise.
51652         * inet/getnetbyad_r.c: Likewise.
51653         * inet/getnetbynm.c: Likewise.
51654         * inet/getnetbynm_r.c: Likewise.
51655         * inet/getnetent.c: Likewise.
51656         * inet/getnetent_r.c: Likewise.
51657         * inet/getproto.c: Likewise.
51658         * inet/getproto_r.c: Likewise.
51659         * inet/getprtent.c: Likewise.
51660         * inet/getprtent_r.c: Likewise.
51661         * inet/getprtname.c: Likewise.
51662         * inet/getprtname_r.c: Likewise.
51663         * inet/getrpcbyname.c: Likewise.
51664         * inet/getrpcbyname_r.c: Likewise.
51665         * inet/getrpcbynumber.c: Likewise.
51666         * inet/getrpcbynumber_r.c: Likewise.
51667         * inet/getrpcent.c: Likewise.
51668         * inet/getrpcent_r.c: Likewise.
51669         * inet/getaliasent.c: Likewise.
51670         * inet/getaliasent_r.c: Likewise.
51671         * inet/getaliasname.c: Likewise.
51672         * inet/getaliasname_r.c: Likewise.
51673         * nscd/getgrgid_r.c: Likewise.
51674         * nscd/getgrnam_r.c: Likewise.
51675         * nscd/gethstbyad_r.c: Likewise.
51676         * nscd/gethstbynm3_r.c: Likewise.
51677         * nscd/getpwnam_r.c: Likewise.
51678         * nscd/getpwuid_r.c: Likewise.
51679         * nscd/getsrvbynm_r.c: Likewise.
51680         * nscd/getsrvbypt_r.c: Likewise.
51681         * nscd/gai.c: Likewise.
51683         * configure.in (build_nscd): New substituted variable, set
51684         by --disable-build-nscd and defaults to $use_nscd.
51685         * configure: Regenerated.
51686         * config.make.in (build-nscd): New substituted variable.
51687         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51688         Change conditional to require [$(build-nscd) = yes] as well.
51689         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51691         [BZ# 13696]
51692         * configure.in (use_nscd): New substituted variable, set by
51693         --disable-nscd.  If enabled, define USE_NSCD.
51694         * configure: Regenerated.
51695         * config.h.in: Add USE_NSCD.
51696         * config.make.in (use-nscd): New substituted variable.
51697         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51698         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51699         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51700         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51701         (CFLAGS-getgrnam_r.c): Likewise.
51702         (CFLAGS-initgroups.c): Likewise.
51703         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51704         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51705         Variables removed.
51706         * inet/getnetgrent_r.c
51707         (nscd_setnetgrent): New function, broken out of ...
51708         (setnetgrent): ... here.  Call it.
51709         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51710         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51711         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51712         * nscd/Makefile (routines, aux): Move definitions after include of
51713         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51714         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51715         Conditionalize on [USE_NSCD].
51716         (is_nscd, nscd_init_cb): Likewise.
51717         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51718         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51719         * nss/nss_db/db-init.c: Likewise.
51720         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51721         [USE_NSCD].
51722         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51723         (make_request): Use it.
51724         (cache_valid_p): New function.
51725         (__check_pf): Use it.
51726         * NEWS: Add item for --disable-nscd.
51728 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51730         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51731         to support sed >= 4.2.1-20-ga9bf076.
51732         * configure: Regenerated.
51734 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51736         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51737         Conditionalize whole body on [IREL].
51739 2012-08-22  Jeff Law <law@redhat.com>
51741         [BZ #14505]
51742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51743         if the family is PF_UNSPEC.
51745 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51747         * Makerules (lib-version): Rename from V.
51748         (install-lib-nosubdir): Change V to lib-version.
51750 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51752         [BZ #14252]
51753         * powerpc32/power6/wcschr.c: New file.
51754         * powerpc32/power6/wcscpy.c: New file.
51755         * powerpc32/power6/wcsrchr.c: New file.
51756         * powerpc64/power6/wcschr.c: New file.
51757         * powerpc64/power6/wcscpy.c: New file.
51758         * powerpc64/power6/wcsrchr.c: New file.
51760 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51762         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51763         (two_way_short_needle): Use it.
51764         * string/strstr.c (AVAILABLE1_USES_J): Define.
51765         * string/strcasestr.c: Likewise.
51767         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51768         array references.
51769         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51771         [BZ #11607]
51772         * NEWS: Add an entry.
51773         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51774         define their defaults.
51775         (two_way_short_needle): Detect end-of-string on-the-fly.
51776         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51777         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51778         * string/bug-strcasestr1.c: New test.
51779         * string/Makefile: Run it.
51781 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51783         [BZ #11607]
51784         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51785         the first character.
51787 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51789         * csu/elf-init.c (__libc_csu_irel): Function removed.
51790         * csu/libc-start.c (apply_irel): New function.
51791         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51793 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51795         * sysdeps/unix/sysv/linux/kernel-features.h
51796         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51797         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51798         <kernel-features.h>.
51799         [__NR_fadvise64_64]: Make code unconditional.
51800         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51801         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51802         !__NR_fadvise64_64)]: Likewise.
51803         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51804         !__NR_fadvise64_64))]: Likewise.
51805         [__NR_fadvise64]: Make code unconditional.
51806         [!__NR_fadvise64]: Remove conditional code.
51807         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51808         <kernel-features.h>.
51809         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51810         unconditional.
51811         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51812         conditional code.
51813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51814         not include <kernel-features.h>.
51815         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51816         unconditional.
51817         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51818         conditional code.
51819         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51820         include <kernel-features.h>.
51821         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51822         unconditional.
51823         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51824         conditional code.
51826 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51828         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51829         slight instruction rearrangements per scrollpipe analysis.
51830         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51832 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51834         * manual/syslog.texi (syslog; vsyslog, closelog):
51835         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51836         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51838         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51839         DSOCAPS to match condition on defining it.
51841 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51843         * sysdeps/unix/sysv/linux/kernel-features.h
51844         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51846         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51847         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51849         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51850         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51852         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51853         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51855         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51856         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51858         * sysdeps/unix/sysv/linux/kernel-features.h
51859         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51860         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51861         unconditional.
51862         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51863         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51864         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51865         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51866         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51867         Make code unconditional.
51868         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51869         (__mmap64) [!__NR_mmap2]: Likewise.
51870         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51871         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51872         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51873         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51874         [__NR_mmap2]: Make code unconditional.
51875         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51876         (__mmap64) [!__NR_mmap2]: Likewise.
51878 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51880         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
51882 2012-08-18  Andreas Jaeger  <aj@suse.de>
51884         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
51886 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51888         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
51889         * include/unistd.h (__have_sock_cloexec): Likewise.
51890         (__have_pipe2): Likewise.
51891         (__have_dup3): Likewise.
51893 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51895         [BZ #9685]
51896         * include/unistd.h (__have_pipe2): Change define into an extern int.
51897         (__have_dup3): Likewise.
51898         * socket/have_sock_cloexec.c: Include fcntl.h.
51899         (__have_pipe2): New variable.
51900         (__have_dup3): Likewise.
51902 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
51904         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
51906 2012-08-17  Marek Polacek  <polacek@redhat.com>
51908         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
51909         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
51911 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51913         * configure.in: Add AC_SUBST for sysheaders.
51914         * configure: Regenerated.
51915         * config.make.in (sysheaders): New substituted variable.
51917         * sysdeps/unix/mkfifo.c: Moved ...
51918         * sysdeps/posix/mkfifo.c: ... here.
51919         * sysdeps/unix/mkfifoat.c: Moved ...
51920         * sysdeps/posix/mkfifoat.c: ... here.
51922         * sysdeps/unix/utime.c: Moved ...
51923         * sysdeps/posix/utime.c: ... here.
51925         * sysdeps/unix/time.c: Moved ...
51926         * sysdeps/posix/time.c: ... here.
51927         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
51928         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
51930         * sysdeps/unix/nice.c: Moved ...
51931         * sysdeps/posix/nice.c: ... here.
51933         * sysdeps/unix/alarm.c: Moved ...
51934         * sysdeps/posix/alarm.c: ... here.
51936         * intl/Makefile ($(codeset_mo)): Depend on the input file.
51938 2012-08-17  Jeff Law <law@redhat.com>
51940         * intl/Makefile (codeset_mo): New variable.
51941         ($(codeset_mo)): New target.
51942         (tst-codeset.out): Depend on that.  Remove explicit rule.
51943         (tst-gettext3.out, tst-gettext5.out): Likewise.
51944         (LOCPATH-ENV, tst-codeset-ENV): New variables.
51945         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
51946         * intl/tst-codeset.sh: Remove.
51947         * intl/tst-gettext3.sh: Likewise.
51948         * intl/tst-gettext5.sh: Likewise.
51950 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51952         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
51953         * sysdeps/unix/syscalls.list: ... here.
51955         * sysdeps/posix/getaddrinfo.c
51956         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
51957         (gaiconf_init, gaiconf_reload): Use them.
51958         [!_STATBUF_ST_NSEC]
51959         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
51960         Define using time_t rather than struct timespec.
51962         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
51963         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
51964         Macros removed.
51965         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
51966         [!NO_THREADS].
51967         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
51968         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
51969         Likewise.
51971         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
51972         __libc_cleanup_push argument.
51974         * bits/param.h: New file.
51975         * misc/sys/param.h: New file.
51976         * include/sys/param.h: New file.
51977         * misc/Makefile (headers): Add bits/param.h.
51978         * sysdeps/generic/sys/param.h: File removed.
51979         * sysdeps/unix/sysv/linux/bits/param.h: New file.
51980         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
51981         * sysdeps/mach/hurd/bits/param.h: New file.
51982         * sysdeps/mach/hurd/sys/param.h: File removed.
51984         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
51985         last change.
51987         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
51988         [_IO_MTSAFE_IO].
51989         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
51990         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
51991         New macros.
51993         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
51994         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
51995         rather than -D_IO_MTSAFE_IO conditionally.
51996         * stdio-common/Makefile (CPPFLAGS): Likewise.
51997         * wcsmbs/Makefile (CPPFLAGS): Likewise.
51998         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
51999         Use $(libio-mtsafe).
52000         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52001         of -D_IO_MTSAFE_IO.
52002         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52003         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52004         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52005         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52006         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52007         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52008         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52009         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52010         (CFLAGS-fread_u_chk.c): Likewise.
52011         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52012         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52013         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52014         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52015         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52016         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52017         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52018         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52019         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52021         * libio/Makefile: Test [$(libc-reentrant) = yes]
52022         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52024         * Makeconfig
52025         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52026         * sysdeps/pthread/configure: File removed.
52027         * sysdeps/pthread/Makeconfig: New file.
52028         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52029         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52031 2012-08-16  Gary Benson  <gbenson@redhat.com>
52033         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52034         unmapping the first object in a namespace.
52036 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52038         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52039         (__internal_setnetgrent): ... this.  Add internal_function to
52040         definition.  Add libc_hidden_def.
52041         (setnetgrent): Update caller.
52042         (internal_endnetgrent): Renamed to ...
52043         (__internal_endnetgrent): ... this.  Add internal_function to
52044         definition.  Add libc_hidden_def.
52045         (endnetgrent): Update caller.
52046         (internal_getnetgrent_r): Renamed to ...
52047         (__internal_getnetgrent_r): ... this.  Add internal_function to
52048         definition.  Add libc_hidden_def.
52049         (__getnetgrent_r): Update caller.
52050         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52052 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52054         * stdlib/longlong.h: Update from GCC.
52056 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52058         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52059         on _QL, which is set by umul_ppmm but never used.
52060         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52061         variables, which are set by GMP macros but never used.
52062         * stdio-common/_itowa.c (_itowa): Likewise.
52063         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52064         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52066 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52068         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52069         struct La_sh_regs is not constant.
52070         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52071         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52072         and struct La_sparc64_regs are not constant.
52074 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52076         * sysdeps/unix/sysv/linux/kernel-features.h
52077         (__ASSUME_POSIX_TIMERS): Remove.
52078         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52079         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52080         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52081         Make code unconditional.
52082         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52083         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52084         Make code unconditional.
52085         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52086         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52087         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52088         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52089         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52090         Make code unconditional.
52091         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52092         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52093         (__libc_missing_posix_timers): Remove.
52095 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52097         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52098         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52100         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52102         * elf/dl-sym.c: Include <stdlib.h>.
52104         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52105         constants, which avoids warnings in 32-bit builds.
52107         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52108         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52110         * misc/lseek.c: File moved to ...
52111         * io/lseek.c: ... here.
52113         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52115         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52116         shifting LEN more than 31 bits at once.
52118 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52120         [BZ #14195]
52121         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52122         segmentation fault for a case of two empty input strings.
52123         * string/test-strncasecmp.c (check1): Renamed to...
52124         (bz12205): ...this.
52125         (bz14195): Add new testcase for two empty input strings and N > 0.
52126         (test_main): Call new testcase, adapt for renamed function.
52128 2012-08-15  Andreas Jaeger  <aj@suse.de>
52130         [BZ #14090]
52131         * crypt/md5test2.c: New test, based on test supplied by Serge
52132         Belyshev <belyshev@depni.sinp.msu.ru>.
52133         * crypt/Makefile (xtests): Add md5test-giant..
52134         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52136 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52138         [BZ #14090]
52139         * crypt/md5.c (md5_process_block): Don't assume the buffer
52140         length is less than 2**32.
52141         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52142         length is less than 2**64.
52144 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52146         * string/str-two-way.h: Include <sys/param.h>.
52147         (MAX): Macro removed.
52149         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52150         Move #define and #undef of memmove to just before and after
52151         including <string.h>.
52153         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52154         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52155         and after including <string.h>.  Move declarations of
52156         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52157         to before #include "string/memmove.c".
52159         * include/dirent.h: Declare __getdirentries.
52161         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52162         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52164 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52166         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52167         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52168         * sysdeps/i386/configure: Regenerated.
52169         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52170         STABS_CURRENT_FILE, and STABS_FUN.
52171         (END): Remove call to STABS_FUN_END.
52172         (STABS_CURRENT_FILE1): Delete.
52173         (STABS_CURRENT_FILE): Likewise.
52174         (STABS_FUN): Likewise.
52175         (STABS_FUN_END): Likewise.
52176         (STABS_FUN2): Likewise.
52177         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52178         * sysdeps/x86_64/configure: Regenerated.
52180 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52182         * elf/dl-open.c: Include <atomic.h>.
52183         * elf/dl-lookup.c: Likewise.
52185 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52187         * sysdeps/unix/sysv/linux/kernel-features.h
52188         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52189         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52190         unconditionally.
52191         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52192         unconditionally.
52193         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52194         condition on __ASSUME_CLONE_THREAD_FLAGS.
52196 2012-08-14  Andreas Jaeger  <aj@suse.de>
52198         * sysdeps/i386/fpu/libm-test-ulps: Update.
52200 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52202         * include/atomic.h (atomic_exchange_and_add): Split into ...
52203         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52204         New atomic macros.
52206 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52210 2012-08-13  Jeff Law <law@redhat.com>
52212         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52213         null byte in the output string.
52215 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52217         * sysdeps/unix/sysv/linux/kernel-features.h
52218         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52219         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52220         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52221         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52222         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52223         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52224         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52226 2012-08-09  Jeff Law <law@redhat.com>
52228         [BZ #13939]
52229         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52230         When avoid_arena is set, don't retry in the that arena.  Pick the
52231         next one, whatever it might be.
52232         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52233         (arena_lock): Pass in new parameter to arena_get2.
52234         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52235         arena_get2.
52236         (__libc_malloc): Unify retrying after main arena failure with
52237         __libc_memalign version.
52238         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52240 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52242         [BZ #14166]
52243         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52244         to __redirect_strstr.
52245         (__strstr_sse42): Use typeof __redirect_strstr.
52246         (__strstr_ia32): Likewise.
52247         (__libc_strstr): New prototype.
52248         (strstr): Renamed to ...
52249         (__libc_strstr): This.
52250         (strstr): New strong alias of __libc_strstr.
52251         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52252         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52253         __redirect_time.
52254         Include <time.h>.
52255         (__libc_time): New prototype.
52256         (time_ifunc): Replace time with __libc_time.
52257         (time): New strong alias and hidden definition of __libc_time.
52258         (__GI_time): Remove strong alias.
52259         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52260         Include <stddef.h>.
52261         (memmove): Redefined to __redirect_memmove.
52262         (__memmove_sse2): Use typeof __redirect_memmove.
52263         (__memmove_ssse3): Likewise.
52264         (__memmove_ssse3_back): Likewise.
52265         (__libc_memmove): New prototype.
52266         (memmove): Renamed to ...
52267         (__libc_memmove): This.
52268         (memmove): New strong alias of __libc_memmove.
52270 2012-08-08  Mark Salter  <msalter@redhat.com>
52272         * elf/elf.h
52273         (R_MN10300_TLS_GD): Define.
52274         (R_MN10300_TLS_LD): Likewise.
52275         (R_MN10300_TLS_LDO): Likewise.
52276         (R_MN10300_TLS_GOTIE): Likewise.
52277         (R_MN10300_TLS_IE): Likewise.
52278         (R_MN10300_TLS_LE): Likewise.
52279         (R_MN10300_TLS_DTPMOD): Likewise.
52280         (R_MN10300_TLS_DTPOFF): Likewise.
52281         (R_MN10300_TLS_TPOFF): Likewise.
52282         (R_MN10300_SYM_DIFF): Likewise.
52283         (R_MN10300_ALIGN): Likewise.
52284         (R_MN10300_NUM): Update.
52286 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52288         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52289         Remove.
52291 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52293         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52295         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52296         sysdeps/unix -> sysdeps/posix move.
52297         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52299 2012-08-07      Allan McRae     <allan@archlinux.org>
52301         [BZ #14303]
52302         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52303         (SUNOS_CPP): Likewise.
52304         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52305         not found.
52306         (open_input): Call CPP using execvp.
52308 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52310         * sysdeps/unix/sysv/linux/kernel-features.h
52311         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52312         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52313         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52314         (__ASSUME_WAITID_SYSCALL): Likewise.
52315         * sysdeps/unix/sysv/linux/dl-execstack.c
52316         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52317         code unconditional.
52318         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52319         conditional code.
52320         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52321         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52322         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52323         code.
52324         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52325         unconditional.
52326         [__ASSUME_WAITID_SYSCALL]: Likewise.
52327         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52329 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52331         * sysdeps/unix/closedir.c: Renamed to ...
52332         * sysdeps/posix/closedir.c: ... here.
52333         * sysdeps/unix/dirfd.c: Renamed to ...
52334         * sysdeps/posix/dirfd.c: ... here.
52335         * sysdeps/unix/dirstream.h: Renamed to ...
52336         * sysdeps/posix/dirstream.h: ... here.
52337         * sysdeps/unix/fdopendir.c: Renamed to ...
52338         * sysdeps/posix/fdopendir.c: ... here.
52339         * sysdeps/unix/opendir.c: Renamed to ...
52340         * sysdeps/posix/opendir.c: ... here.
52341         * sysdeps/unix/readdir.c: Renamed to ...
52342         * sysdeps/posix/readdir.c: ... here.
52343         * sysdeps/unix/readdir_r.c: Renamed to ...
52344         * sysdeps/posix/readdir_r.c: ... here.
52345         * sysdeps/unix/rewinddir.c: Renamed to ...
52346         * sysdeps/posix/rewinddir.c: ... here.
52347         * sysdeps/unix/seekdir.c: Renamed to ...
52348         * sysdeps/posix/seekdir.c: ... here.
52349         * sysdeps/unix/telldir.c: Renamed to ...
52350         * sysdeps/posix/telldir.c: ... here.
52351         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52352         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52353         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52354         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52356         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52357         * bits/fcntl.h: ... here.
52359         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52360         not 0.
52361         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52362         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52363         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52364         (struct flock): Move l_start, l_len to the beginning.
52365         Use __pid_t for l_pid.
52366         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52367         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52368         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52369         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52370         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52371         [__USE_LARGEFILE64] (struct flock64): New type.
52372         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52374         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52375         * bits/dirent.h: ... here.
52377         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52378         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52380 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52382         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52383         Change from 2.6.0 to 2.6.16.
52384         * sysdeps/unix/sysv/linux/configure: Regenerated.
52385         * sysdeps/unix/sysv/linux/kernel-features.h
52386         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52387         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52388         version.
52389         (__ASSUME_UTIMES): Likewise.
52390         (__ASSUME_CLONE_STOPPED): Remove.
52391         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52392         architectures, not kernel version.
52393         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52394         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52395         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52396         (__ASSUME_WAITID_SYSCALL): Likewise.
52397         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52398         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52399         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52400         refer to older versions.
52402 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52404         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52405         Define alphasort64 as an alias.
52406         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52407         Define versionsort64 as an alias.
52408         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52409         Define scandir64 as an alias.
52410         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52411         Define scandirat64 as an alias.
52412         * dirent/alphasort64.c (alphasort64):
52413         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52414         * dirent/versionsort64.c: Likewise.
52415         * dirent/scandir64.c: Likewise.
52416         * dirent/scandirat64.c: Likewise.
52417         * sysdeps/wordsize-64/alphasort.c: File removed.
52418         * sysdeps/wordsize-64/alphasort64.c: File removed.
52419         * sysdeps/wordsize-64/scandir.c: File removed.
52420         * sysdeps/wordsize-64/scandir64.c: File removed.
52421         * sysdeps/wordsize-64/scandirat.c: File removed.
52422         * sysdeps/wordsize-64/scandirat64.c: File removed.
52423         * sysdeps/wordsize-64/versionsort.c: File removed.
52424         * sysdeps/wordsize-64/versionsort64.c: File removed.
52425         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52426         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52427         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52428         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52429         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52430         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52431         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52432         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52434         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52435         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52436         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52437         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52438         [defined __arch64__ || defined __sparcv9]
52439         (__INO_T_MATCHES_INO64_T): New macro.
52440         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52441         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52442         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52443         * sysdeps/unix/sysv/linux/bits/dirent.h
52444         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52445         (_DIRENT_MATCHES_DIRENT64): New macro.
52447         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52448         Define lockf64 as an alias.
52449         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52450         Define fseeko64 as an alias.
52451         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52452         Define ftello64 as an alias.
52453         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52454         Define _IO_fgetpos64 and fgetpos64 as aliases.
52455         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52456         Define _IO_fsetpos64 and fsetpos64 as aliases.
52457         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52458         Conditionalize body on this.
52459         * libio/fseeko64.c: Likewise.
52460         * libio/ftello64.c: Likewise.
52461         * libio/iofgetpos64.c: Likewise.
52462         * libio/iofsetpos64.c: Likewise.
52463         * sysdeps/wordsize-64/lockf.c: File removed.
52464         * sysdeps/wordsize-64/lockf64.c: File removed.
52465         * sysdeps/wordsize-64/fseeko.c: File removed.
52466         * sysdeps/wordsize-64/fseeko64.c: File removed.
52467         * sysdeps/wordsize-64/ftello.c: File removed.
52468         * sysdeps/wordsize-64/ftello64.c: File removed.
52469         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52470         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52471         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52472         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52473         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52474         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52475         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52476         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52477         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52478         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52479         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52480         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52481         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52482         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52484         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52485         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52486         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52487         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52488         [defined __arch64__ || defined __sparcv9]
52489         (__OFF_T_MATCHES_OFF64_T): New macro.
52490         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52491         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52492         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52493         (__OFF_T_MATCHES_OFF64_T): New macro.
52495 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52497         * stdlib/secure-getenv.c (__secure_getenv): Replace
52498         GLIBC_2_16 with GLIBC_2_17.
52500 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52502         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52503         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52505 2012-08-03  David S. Miller  <davem@davemloft.net>
52507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52509 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52511         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52512         Remove.
52513         (__ASSUME_CORRECT_SI_PID): Likewise.
52514         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52515         (__ASSUME_TMPFS_NAME): Likewise.
52516         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52517         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52518         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52519         (HAVE_AUX_SECURE): Make definition unconditional.
52520         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52521         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52523 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52525         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52526         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52527         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52528         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52529         __eloop_threshold instead of SYMLOOP_MAX.
52531         * sysdeps/generic/eloop-threshold.h: New file.
52532         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52533         of MAXSYMLINKS.
52534         * elf/chroot_canon.c (chroot_canon): Likewise.
52536 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52538         [BZ #13717]
52539         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52540         Change to 2.6.0 everywhere.
52541         * sysdeps/unix/sysv/linux/configure: Regenerated.
52542         * sysdeps/unix/sysv/linux/kernel-features.h
52543         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52544         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52545         kernel versions.
52546         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52547         (__ASSUME_FUTEX_REQUEUE): Remove.
52548         (__ASSUME_STATFS64): Define unconditionally.
52549         (__ASSUME_AT_SECURE): Likewise.
52550         (__ASSUME_CORRECT_SI_PID): Likewise.
52551         (__ASSUME_TGKILL): Define without depending on kernel version for
52552         i386.
52553         (__ASSUME_UTIMES): Likewise.
52554         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52555         kernel version.
52556         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52557         (__ASSUME_TMPFS_NAME): Likewise.
52558         * README: Update reference to Linux kernel versions.
52560 2012-08-02  Marek Polacek  <polacek@redhat.com>
52562         [BZ# 14150]
52563         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52564         libc_cv_asm_type_prefix with %.
52565         * configure: Regenerated.
52566         * include/libc-symbols.h: Remove comment about
52567         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52568         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52569         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52570         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52571         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52572         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52573         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52574         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52575         * elf/tst-unique2mod1.c: Likewise.
52576         * elf/tst-unique1mod2.c: Likewise.
52577         * elf/tst-unique1mod1.c: Likewise.
52578         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52579         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52580         Replace ASM_TYPE_DIRECTIVE with .type.
52581         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52582         * sysdeps/i386/sysdep.h: Likewise.
52583         * sysdeps/x86_64/sysdep.h: Likewise.
52584         * sysdeps/sh/sysdep.h: Likewise.
52585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52586         Do not define ASM_TYPE_DIRECTIVE.
52587         * sysdeps/powerpc/sysdep.h: Likewise.
52588         * sysdeps/powerpc/powerpc32/sysdep.h:
52589         Replace ASM_TYPE_DIRECTIVE with .type.
52590         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52591         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52592         * sysdeps/i386/fpu/e_powf.S: Likewise.
52593         * sysdeps/i386/fpu/e_expl.S: Likewise.
52594         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52595         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52596         * sysdeps/i386/fpu/e_pow.S: Likewise.
52597         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52598         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52599         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52600         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52601         * sysdeps/i386/fpu/e_log2.S: Likewise.
52602         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52603         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52604         * sysdeps/i386/fpu/e_powl.S: Likewise.
52605         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52606         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52607         * sysdeps/i386/fpu/e_logl.S: Likewise.
52608         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52609         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52610         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52611         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52612         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52613         * sysdeps/i386/fpu/e_log.S: Likewise.
52614         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52615         * sysdeps/i386/fpu/e_logf.S: Likewise.
52616         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52617         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52618         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52619         * sysdeps/i386/fpu/e_log10.S: Likewise.
52620         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52621         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52622         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52623         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52624         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52625         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52626         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52627         * sysdeps/i386/i686/strtok.S: Likewise.
52628         * sysdeps/i386/i386-mcount.S: Likewise.
52629         * sysdeps/i386/strtok.S: Likewise.
52630         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52631         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52632         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52633         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52634         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52635         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52636         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52637         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52638         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52639         * sysdeps/x86_64/_mcount.S: Likewise.
52640         * sysdeps/x86_64/strtok.S: Likewise.
52641         * sysdeps/sh/_mcount.S: Likewise.
52643 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52645         * libio/iofopen.c: Include <fcntl.h>.
52646         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52647         (_IO_fopen64, fopen64): Define as aliases.
52648         * libio/iofopen64.c: Include <fcntl.h>.
52649         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52650         Conditionalize body on this.
52651         * sysdeps/wordsize-64/iofopen.c: File removed.
52652         * sysdeps/wordsize-64/iofopen64.c: File removed.
52654 2012-08-01  Marek Polacek  <polacek@redhat.com>
52656         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52657         Use dlfcn directly instead of a variable.
52658         (binfmt-subdir): Do not define.
52659         (dlfcn): Likewise.
52661 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52663         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52664         Remove all definitions.
52665         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52666         <kernel-features.h>.
52667         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52668         (miss_F_GETOWN_EX): Remove all definitions.
52669         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52670         macro definition.
52671         [!__ASSUME_FCNTL64]: Remove conditional code.
52672         [__ASSUME_FCNTL64]: Make code unconditional.
52673         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52674         <kernel-features.h>.
52675         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52676         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52677         (lockf64) [__NR_fcntl64]: Make code unconditional.
52678         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52680         * sysdeps/unix/sysv/linux/kernel-features.h
52681         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52682         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52683         Make code unconditional.
52684         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52685         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52687         [__NR_vfork]: Make code unconditional.
52688         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52689         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52691         [__NR_vfork]: Make code unconditional.
52692         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52693         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52695 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52697         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52698         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52700         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52701         Define mkstemp64 as an alias.
52702         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52703         Define mkstemps64 as an alias.
52704         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52705         Define mkostemp64 as an alias.
52706         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52707         Define mkostemps64 as an alias.
52708         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52709         Conditionalize body on this.
52710         * misc/mkostemp64.c: Likewise.
52711         * misc/mkostemps64.c: Likewise.
52712         * misc/mkstemps64.c: Likewise.
52713         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52714         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52715         * sysdeps/wordsize-64/mkostemp.c: File removed.
52716         * sysdeps/wordsize-64/mkstemp.c: File removed.
52717         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52718         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52719         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52720         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52722         [BZ #14138]
52723         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52724         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52725         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52726         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52728         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52729         compat_symbol macros from <shlib-compat.h> rather than the underlying
52730         default_symbol_version and symbol_version macros, so that DEFAULT
52731         lines in shlib-versions are respected.
52732         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52734 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52736         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52737         Declare with warn_unused_result.
52738         (setgid, setregid, setegid, setresgid): Likewise.
52739         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52740         Likewise.
52741         * WUR-REPORT: Remove set*id functions.
52743 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52745         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52747 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52749         [BZ #10191]
52750         * include/sys/socket.h (__libc_accept, __libc_accept4):
52751         Add attribute_hidden.
52752         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52754         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52755         use of PTR_MANGLE.
52756         * inet/getnetgrent_r.c (setup): Likewise.
52758         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52760 2012-07-31  David S. Miller  <davem@davemloft.net>
52762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52764 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52766         [BZ #13629]
52767         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52768         value between 1.0 and 2.0 and smaller part has absolute value less
52769         than 1.0.
52770         * math/s_clog10.c (__clog10): Likewise.
52771         * math/s_clog10f.c (__clog10f): Likewise.
52772         * math/s_clog10l.c (__clog10l): Likewise.
52773         * math/s_clogf.c (__clogf): Likewise.
52774         * math/s_clogl.c (__clogl): Likewise.
52775         * math/libm-test.inc (clog_test): Add more tests.
52776         (clog10_test): Likewise.
52777         * sysdeps/i386/fpu/libm-test-ulps: Update.
52778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52780 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52782         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52783         Exit with zero in case no suitable GID is found, and write a
52784         message to standard error.
52786 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52788         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52789         rather than to 1.
52790         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52791         (MAXPATHLEN): Removed.
52792         (NOGROUP, NODEV): New macros.
52793         (setbit, clrbit, isset, isclr): New macros.
52794         (howmany, roundup, powerof2): New macros.
52795         (DEV_BSIZE): New macro.
52797         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52798         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52800         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52801         definition on [!__NO_LONG_DOUBLE_MATH].
52803         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52804         PTR_MANGLE and PTR_DEMANGLE.
52806         * socket/accept4.c (accept4): Rename to __libc_accept4.
52807         Define accept4 as a weak alias.
52809         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52810         on [_DIRENT_HAVE_D_TYPE].
52811         * io/ftw.c (ftw_dir): Likewise.
52813         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52815         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52817         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52818         Use the BSD numbers rather than the arbitrary ones we had.
52819         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52820         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52821         (SIGXCPU, SIGXFSZ): New macros.
52822         (_NSIG): Now 32.
52824         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52825         initializer on [_LIBC_REENTRANT].
52827         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52828         definitions inside [_POSIX_MAPPED_FILES].
52830         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52832         * dirent/opendir.c: Include <fcntl.h>.
52834         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52835         (__libc_getspecific): Likewise.
52836         (__libc_key_create): Likewise.
52838         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52839         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52840         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52841         (tmpfile64): Define as alias.
52842         * sysdeps/wordsize-64/tmpfile.c: File removed.
52843         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52844         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52845         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52847         * stdio-common/vfscanf.c: Include <stdbool.h>.
52848         * nss/makedb.c: Likewise.
52849         * stdio-common/_i18n_number.h: Likewise.
52850         * argp/argp-help.c: Likewise.
52851         * posix/wordexp.c: Likewise.
52852         * sysdeps/posix/spawni.c: Likewise.
52853         * nss/nss_files/files-initgroups.c: Likewise.
52854         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52855         * nss/nss_files/files-initgroups.c: Likewise.
52856         * nss/nss_db/db-netgrp.c: Likewise.
52857         * nss/nss_db/db-initgroups.c: Likewise.
52858         * io/fchmodat.c: Include <sys/stat.h>.
52860         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52861         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52863         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52864         [HAVE_MMAP].
52866         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52867         Add multiple inclusion protection.
52869 2012-07-27  David S. Miller  <davem@davemloft.net>
52871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52873 2012-07-27  Gary Benson  <gbenson@redhat.com>
52875         [BZ #14298]
52876         * elf/rtld.c: Include <stap-probe.h>.
52877         (dl_main): Added static probes "init_start" and "init_complete".
52878         * elf/dl-load.c: Include <stap-probe.h>.
52879         (lose): Take new parameter "nsid".
52880         Added static probe "map_failed".
52881         (_dl_map_object_from_fd): Pass namespace id to lose.
52882         Added static probe "map_start".
52883         (open_verify): Pass namespace id to lose.
52884         * elf/dl-open.c: Include <stap-probe.h>.
52885         (dl_open_worker) Added static probes "map_complete", "reloc_start"
52886         and "reloc_complete".
52887         * elf/dl-close.c: Include <stap-probe.h>.
52888         (_dl_close_worker): Added static probes "unmap_start" and
52889         "unmap_complete".
52890         * elf/rtld-debugger-interface.txt: New file documenting the above.
52892 2012-07-26  Roland McGrath  <roland@hack.frob.com>
52894         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
52895         rather than a string variable.
52896         * sunrpc/rpc_main.c (h_output): Likewise.
52897         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
52899 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
52901         * inet/check_native.c: New file.
52903 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
52905         [BZ #13629]
52906         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
52907         if larger part has absolute value 1.0.
52908         * math/s_clog10.c (__clog10): Likewise.
52909         * math/s_clog10f.c (__clog10f): Likewise.
52910         * math/s_clog10l.c (__clog10l): Likewise.
52911         * math/s_clogf.c (__clogf): Likewise.
52912         * math/s_clogl.c (__clogl): Likewise.
52913         * math/libm-test.inc (clog_test): Add more tests.
52914         (clog10_test): Likewise.
52915         * sysdeps/i386/fpu/libm-test-ulps: Update.
52916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52918         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
52919         (pltexit): Likewise.
52920         (La_regs): Likewise.
52921         (La_retval): Likewise.
52922         (int_retval): Likewise.
52923         Update #error for removed macros to refer only to definitions in
52924         tst-audit.h.
52925         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
52926         macro.
52927         (pltexit): Likewise.
52928         (La_regs): Likewise.
52929         (La_retval): Likewise.
52930         (int_retval): Likewise.
52931         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
52932         macro.
52933         (pltexit): Likewise.
52934         (La_regs): Likewise.
52935         (La_retval): Likewise.
52936         (int_retval): Likewise.
52937         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
52938         macro.
52939         (pltexit): Likewise.
52940         (La_regs): Likewise.
52941         (La_retval): Likewise.
52942         (int_retval): Likewise.
52943         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
52944         macro.
52945         (pltexit): Likewise.
52946         (La_regs): Likewise.
52947         (La_retval): Likewise.
52948         (int_retval): Likewise.
52949         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
52950         macro.
52951         (pltexit): Likewise.
52952         (La_regs): Likewise.
52953         (La_retval): Likewise.
52954         (int_retval): Likewise.
52955         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
52956         macro.
52957         (pltexit): Likewise.
52958         (La_regs): Likewise.
52959         (La_retval): Likewise.
52960         (int_retval): Likewise.
52961         * sysdeps/generic/tst-audit.h: Update comment to refer only to
52962         macro definitions in tst-audit.h.
52963         * sysdeps/i386/tst-audit.h: New file.
52964         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
52965         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
52966         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
52967         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
52968         * sysdeps/sh/tst-audit.h: Likewise.
52969         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
52970         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
52971         * sysdeps/x86_64/tst-audit.h: Likewise.
52973 2012-07-26  Andreas Jaeger  <aj@suse.de>
52975         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
52976         ptrace.
52978         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
52979         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
52980         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
52981         PTRACE_O_MASK.
52982         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
52983         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
52984         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
52986         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
52987         value.
52989         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
52990         _sigsys.
52991         (si_call_addr, si_syscall, si_arch): Define new macro.
52992         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
52993         _sigsys.
52994         (si_call_addr, si_syscall, si_arch): Define new marcro.
52995         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
52996         _sigsys.
52997         (si_call_addr, si_syscall, si_arch): Define new macro.
52998         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
52999         _sigsys.
53000         (si_call_addr, si_syscall, si_arch): Define new macro.
53002 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53004         [BZ #13717]
53005         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53006         Change to 2.4.21 where previously 2.4.1.
53007         * sysdeps/unix/sysv/linux/configure: Regenerated.
53008         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53009         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53010         Linux kernel version.
53011         (__ASSUME_STD_AUXV): Remove.
53012         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53013         kernel version.
53014         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53015         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53016         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53017         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53018         (__ASSUME_NETLINK_SUPPORT): Likewise.
53019         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53020         (__no_netlink_support): Remove conditional definition.
53021         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53022         Remove.
53023         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53024         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53025         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53026         (if_nameindex_ioctl): Remove.
53027         (if_nameindex_netlink): Do not handle __no_netlink_support.
53028         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53029         code.
53030         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53031         Remove conditional code.
53032         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53033         code.
53034         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53035         unconditional.
53036         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53037         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53038         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53039         Remove.
53040         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53041         [!__ASSUME_STD_AUXV]: Remove conditional code.
53042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53043         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53044         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53046         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53047         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53048         code.
53049         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53051         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53052         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53053         conditional code.
53054         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53056         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53057         code.
53058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53059         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53060         conditional code.
53061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53062         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53063         code unconditional.
53064         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53065         conditional code.
53066         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53067         unconditional.
53068         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53069         conditional code.
53070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53071         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53072         unconditional.
53073         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53074         conditional code.
53075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53076         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53077         code unconditional.
53078         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53079         conditional code.
53080         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53081         unconditional.
53082         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53083         conditional code.
53084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53085         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53086         code unconditional.
53087         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53088         conditional code.
53089         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53090         unconditional.
53091         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53092         conditional code.
53094 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53096         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53097         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53098         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53099         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53100         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53101         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53102         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53103         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53104         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53105         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53106         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53107         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53108         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53109         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53110         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53111         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53112         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53113         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53114         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53115         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53116         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53117         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53118         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53120 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53122         * Versions.def: Add GLIBC_2.17.
53123         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53124         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53125         Introduce __libc_secure_getenv.
53126         * stdlib/Versions (2.17): Add secure_getenv
53127         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53128         * stdlib/secure-getenv.c: Rename __secure_getenv to
53129         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53130         symbol __secure_getenv for GLIBC_2.0.
53131         * stdlib/tst-secure-getenv.c: New.
53132         * stdlib/Makefile (tests): Add testcase.
53133         * manual/startup.texi (Environment Access): Document
53134         secure_getenv.
53135         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53136         __libc_secure_getenv.
53137         * inet/ruserpass.c (ruserpass): Likewise.
53138         * malloc/mtrace.c (mtrace): Likewise.
53139         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53140         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53141         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53142         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53143         HAVE_SECURE_GETENV.
53144         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53145         __secure_getenv to __libc_secure_getenv.
53146         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53148         Likewise.
53149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53150         Likewise.
53151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53153         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53159 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53161         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53162         (struct La_i86_retval): Likewise.
53163         (struct La_x86_64_regs): Likewise.
53164         (struct La_x86_64_retval): Likewise.
53165         (struct La_x32_regs): Likewise.
53166         (struct La_x32_retval): Likewise.
53167         (struct La_ppc32_regs): Likewise.
53168         (struct La_ppc32_retval): Likewise.
53169         (struct La_ppc64_regs): Likewise.
53170         (struct La_ppc64_retval): Likewise.
53171         (struct La_sh_regs): Likewise.
53172         (struct La_sh_retval): Likewise.
53173         (struct La_s390_32_regs): Likewise.
53174         (struct La_s390_32_retval): Likewise.
53175         (struct La_s390_64_regs): Likewise.
53176         (struct La_s390_64_retval): Likewise.
53177         (struct La_sparc32_regs): Likewise.
53178         (struct La_sparc32_retval): Likewise.
53179         (struct La_sparc64_regs): Likewise.
53180         (struct La_sparc64_retval): Likewise.
53181         (struct audit_ifaces): Remove architecture-specific pltenter and
53182         pltexit members.
53183         * sysdeps/i386/ldsodefs.h: New file.
53184         * sysdeps/powerpc/ldsodefs.h: Likewise.
53185         * sysdeps/s390/ldsodefs.h: Likewise.
53186         * sysdeps/sh/ldsodefs.h: Likewise.
53187         * sysdeps/sparc/ldsodefs.h: Likewise.
53188         * sysdeps/x86_64/ldsodefs.h: Likewise.
53190 2012-07-25  Marek Polacek  <polacek@redhat.com>
53192         [BZ #6808]
53193         * math/libm-test.inc (yn_test): Add another test.
53194         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53195         to ERANGE when the result is +-Inf.
53196         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53197         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53198         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53199         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53201 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53203         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53204         equal to 0.
53205         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53206         clock_t.
53207         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53209 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53211         * configure.in <sysdeps resolving>: Correct printing
53212         Implies_before.
53213         * configure: Regenerate.
53215 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53217         * math/w_ilogb.c: Include <limits.h>.
53218         * math/w_ilogbl.c: Likewise.
53220 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53222         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53223         va_copy.  Document allowing for unavailable va_copy only as
53224         pre-C99 compatibility.
53225         * manual/string.texi (Copying and Concatenation): Use va_copy
53226         instead of __va_copy in concat example.
53228 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53230         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53231         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53232         it if not null.
53234         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53235         with O_NOLINK passed to __file_name_lookup.
53237         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53238         with O_NOLINK passed to __file_name_lookup.
53240         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53241         negative N or less than NGIDS.
53243         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53244         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53245         enough.  Use memcpy instead of strncpy.
53247 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53249         * elf/Makefile (check-data): Remove.
53250         (localplt.data): New vpath directive.
53251         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53252         instead of $(check-data).
53253         * scripts/data/localplt-generic.data: Move to ...
53254         * sysdeps/generic/localplt.data: ... here.
53255         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53256         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53257         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53259         ... here.
53260         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53262         ... here.
53263         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53265         ... here.
53266         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53268         ... here.
53269         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53271         ... here.
53272         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53274         ... here.
53276 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53278         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53279         PPC32 and PPC64 files.
53280         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53281         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53283 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53285         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53286         __makecontext_ret to ...
53287         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53288         ... here and call exit if uc_link is NULL.  New file.
53289         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53290         __makecontext_ret.S.
53291         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53292         __makecontext_ret to ...
53293         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53294         ... here and call exit if uc_link is NULL.  New file.
53295         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53296         __makecontext_ret.S.
53298 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53300         * elf/elf.h (R_390_IRELATIVE): New definition.
53301         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53302         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53303         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53304         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53305         (elf_machine_lazy_rel): Likewise.
53306         * sysdeps/s390/dl-irel.h: New file.
53307         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53308         * sysdeps/s390/s390-64/memset.S: New asm code.
53309         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53310         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53311         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53312         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53313         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53314         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53315         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53316         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53317         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53318         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53319         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53320         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53321         * sysdeps/s390/s390-32/memset.S: New asm code.
53322         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53324 2012-07-17  Marek Polacek  <polacek@redhat.com>
53326         [BZ #14349]
53327         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53328         * sysdeps/s390/s390-64/configure.in: Likewise.
53329         * sysdeps/sparc/configure.in: Likewise.
53330         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53331         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53332         * sysdeps/i386/configure.in: Likewise.
53333         * sysdeps/x86_64/configure.in: Likewise.
53334         * sysdeps/sh/configure.in: Likewise.
53335         * sysdeps/s390/s390-32/configure: Regenerated.
53336         * sysdeps/s390/s390-64/configure: Likewise.
53337         * sysdeps/x86_64/configure: Likewise.
53338         * sysdeps/sh/configure: Likewise.
53339         * sysdeps/powerpc/powerpc64/configure: Likewise.
53340         * sysdeps/powerpc/powerpc32/configure: Likewise.
53341         * sysdeps/sparc/configure: Likwise.
53342         * sysdeps/i386/configure: Likewise.
53344         * elf/dl-open.c: Comment fixes.
53346 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53348         * Makefile [CXX] (check-data): Remove.
53349         [CXX] (c++-types.data): New vpath directive.
53350         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53351         vpath.  Do not allow for C++ type data being missing.
53352         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53353         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53354         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53355         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53356         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53357         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53358         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53360         ... here.
53361         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53363         ... here.
53364         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53366         ... here.
53367         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53369         ... here.
53370         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53372         ... here.
53373         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53375         ... here.
53376         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53378         ... here.
53379         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53382         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53383         definitions to architecture-specific files.
53384         (TLS_IE): Likewise.
53385         (TLS_LD): Likewise.
53386         (TLS_GD): Likewise.
53387         * sysdeps/i386/tls-macros.h: New file.
53388         * sysdeps/powerpc/tls-macros.h: Likewise.
53389         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53390         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53391         * sysdeps/sh/tls-macros.h: Likewise.
53392         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53393         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53394         * sysdeps/x86_64/tls-macros.h: Likewise.
53396 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53398         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53399         zero value for regular exit case.
53401         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53402         (__start_context): Preserve zero value for regular exit case.
53404 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53405             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53407         * manual/setjmp.texi (setcontext): Clarify normal process
53408         termination when uc_link is the null pointer.
53409         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53410         exit call.
53412 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53414         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53415         preprocessor.  Test for each exception mask separately.
53417 2012-07-16  Andreas Jaeger  <aj@suse.de>
53419         * po/ru.po: Update from translation team.
53421 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53423         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53424         equal to 0.
53425         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53426         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53427         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53428         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53429         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53431 2012-07-13  Andreas Jaeger  <aj@suse.de>
53433         * po/fr.po: Update from translation team.
53435 2012-07-12  Marek Polacek  <polacek@redhat.com>
53437         [BZ #14173]
53438         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53439         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53440         loop condition.
53442 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53444         [BZ #13717]
53445         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53446         Change to 2.4.1 where previously 2.4.0.
53447         * sysdeps/unix/sysv/linux/configure: Regenerated.
53448         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53449         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53450         version.
53451         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53452         (__ASSUME_AT_CLKTCK): Remove.
53453         (__ASSUME_AT_PAGESIZE): Likewise.
53454         (__ASSUME_AT_XID): Likewise.
53455         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53456         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53457         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53458         unconditionally.
53459         (HAVE_AUX_PAGESIZE): Likewise.
53460         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53461         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53462         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53464 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53466         [BZ #14307]
53467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53468         the temporary buffer used to invoke __gethostbyname2_r,
53469         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53470         host_data / struct gaih_addrtuple.
53471         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53472         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53473         header file nss/nsswitch.h.
53474         * nss/nsswitch.h (global scope): Add definition of implementation
53475         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53476         resolv/nss_dns/dns-host.c).
53478 2012-07-11  Andreas Jaeger  <aj@suse.de>
53480         * po/fr.po: Update from translation team.
53482         * po/sv.po: Update from translation team
53483         * po/fr.po: Another update from translation team.
53485 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53487         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53488         for subnormals or multiply small sinh result by itself.
53489         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53492 2012-07-11  David S. Miller  <davem@davemloft.net>
53494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53496 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53498         [BZ #14347]
53499         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53500         (INTERNAL_MARK): Shift it here.
53502 2012-07-10  Marek Polacek  <polacek@redhat.com>
53504         [BZ #14151]
53505         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53506         libc_cv_asm_global_directive with .globl.
53507         * configure: Regenerated.
53508         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53509         with .globl.
53510         * sysdeps/i386/configure: Regenerated.
53511         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53512         with .globl.
53513         * sysdeps/x86_64/configure: Regenerated.
53514         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53515         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53516         * elf/tst-unique2mod2.c: Likewise.
53517         * elf/tst-unique2mod1.c: Likewise.
53518         * elf/tst-unique1mod2.c: Likewise.
53519         * elf/tst-unique1mod1.c: Likewise.
53520         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53521         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53522         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53523         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53524         * sysdeps/mach/sysdep.h: Likewise.
53525         * sysdeps/i386/sysdep.h: Likewise.
53526         * sysdeps/i386/i386-mcount.S: Likewise.
53527         * sysdeps/x86_64/_mcount.S: Likewise.
53528         * sysdeps/x86_64/sysdep.h: Likewise.
53529         * sysdeps/sh/_mcount.S: Likewise.
53530         * sysdeps/sh/sysdep.h: Likewise.
53531         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53532         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53533         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53534         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53535         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53536         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53537         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53538         * locale/localeinfo.h: Likewise.
53539         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53540         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53542 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53544         [BZ #14336]
53545         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53546         system".
53547         * manual/message.texi (The Uniforum approach): Likewise.
53548         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53549         (glibc iconv Implementation): Likewise.
53551 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53553         [BZ #14337]
53554         * math/s_clog.c (__clog): Avoid scaling a value down where that
53555         could result in underflow.
53556         * math/s_clog10.c (__clog10): Likewise.
53557         * math/s_clog10f.c (__clog10f): Likewise.
53558         * math/s_clog10l.c (__clog10l): Likewise.
53559         * math/s_clogf.c (__clogf): Likewise.
53560         * math/s_clogl.c (__clogl): Likewise.
53561         * math/libm-test.inc (clog_test): Add more tests.
53562         (clog10_test): Likewise.
53563         * sysdeps/i386/fpu/libm-test-ulps: Update.
53564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53566 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53568         [BZ #14283]
53569         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53570         by 7 not 8 to examine high bit of fractional part.
53572         [BZ #14042]
53573         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53574         for call to __mcount_internal.
53575         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53576         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53577         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53579 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53581         [BZ #14154]
53582         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53583         approximation for values within 0x1p-13f of an odd multiple of
53584         pi/4.
53585         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53586         exception.  Add more tests.
53587         * sysdeps/i386/fpu/libm-test-ulps: Update.
53589         [BZ #6778]
53590         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53591         inputs and return -1 for them.  Do not check for +Inf in case not
53592         reachable for +Inf.
53593         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53594         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53595         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53596         and return -1 for them.  Do not check for +Inf in case not
53597         reachable for +Inf.
53598         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53599         define.
53600         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53601         and return -1 for them.  Do not check for +Inf in case not
53602         reachable for +Inf.
53603         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53604         spurious underflow.
53605         * sysdeps/i386/fpu/libm-test-ulps: Update.
53606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53608 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53610         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53612 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53614         [BZ #14157]
53615         [BZ #14331]
53616         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53617         could result in spurious underflow.  Scale down values above
53618         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53619         * math/s_csqrtf.c (__csqrtf): Likewise.
53620         * math/s_csqrtl.c (__csqrtl): Likewise.
53621         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53622         spurious underflow.
53623         * sysdeps/i386/fpu/libm-test-ulps: Update.
53624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53626 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53628         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53629         xopen-msg.sed.
53630         * catgets/xopen-msg.awk: New file.
53631         * catgets/xopen-msg.sed: Removed.
53633         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53634         po2text.sed.
53635         * intl/po2test.awk: New file.
53636         * intl/po2test.sed: Removed.
53638 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53640         [BZ #14328]
53641         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53642         or multiply small sinh result by itself.
53643         * math/s_ctanf.c (__ctanf): Likewise.
53644         * math/s_ctanh.c (__ctanh): Likewise.
53645         * math/s_ctanhf.c (__ctanhf): Likewise.
53646         * math/s_ctanhl.c (__ctanhl): Likewise.
53647         * math/s_ctanl.c (__ctanl): Likewise.
53648         * math/libm-test.inc (ctan_test_tonearest): New function.
53649         (ctan_test_towardzero): Likewise.
53650         (ctan_test_downward): Likewise.
53651         (ctan_test_upward): Likewise.
53652         (ctanh_test_tonearest): Likewise.
53653         (ctanh_test_towardzero): Likewise.
53654         (ctanh_test_downward): Likewise.
53655         (ctanh_test_upward): Likewise.
53656         (main): Call these new functions.
53657         * sysdeps/i386/fpu/libm-test-ulps: Update.
53658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53660 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53662         * .gitignore: Delete /ports entry.
53664 2012-07-03  Andreas Jaeger  <aj@suse.de>
53666         * po/bg.po: Update from translation team.
53667         * po/cs.po: Likewise.
53668         * po/de.po: Likewise.
53669         * po/hr.po: Likewise.
53670         * po/nl.pl: Likewise.
53671         * po/pl.po: Likewise.
53672         * po/vi.po: Likewise.
53674 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53676         * Makeconfig [!+link] (+link-before-libc): New variable.
53677         [!+link] (+link-after-libc): Likewise.
53678         [!+link] (+link-tests): Likewise.
53679         [!+link] (+link): Define in terms of $(+link-before-libc) and
53680         $(+link-after-libc).
53681         [!+link-static] (+link-static-before-libc): New variable.
53682         [!+link-static] (+link-static-after-libc): Likewise.
53683         [!+link-static] (+link-static-tests): Likewise.
53684         [!+link-static] (+link-static): Define in terms of
53685         $(+link-static-before-libc) and $(+link-static-after-libc).
53686         [build-shared] (link-libc-before-gnulib): New variable.
53687         [build-shared] (link-libc-tests): Likewise.
53688         [build-shared] (link-libc): Define in terms of
53689         $(link-libc-before-gnulib).
53690         [!build-shared] (link-libc-tests): New variable.
53691         (link-libc-static-tests): New variable.
53692         [!gnulib] (gnulib-arch): New variable.
53693         [!gnulib] (gnulib-tests): Likewise.
53694         [!gnulib] (static-gnulib-arch): Likewise.
53695         [!gnulib] (static-gnulib-tests): Likewise.
53696         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53697         Define with "=" instead of ":=".
53698         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53699         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53700         * Rules (binaries-all-notests): New variable.
53701         (binaries-all-tests): Likewise.
53702         (binaries-static-notests): Likewise.
53703         (binaries-static-tests): Likewise.
53704         (binaries-all): Define using $(binaries-all-notests) and
53705         $(binaries-all-tests).
53706         (binaries-static): Define using $(binaries-static-notests) and
53707         $(binaries-static-tests).
53708         (binaries-shared-tests): New variable.
53709         (binaries-shared-notests): Likewise.
53710         (binaries-shared): Remove variable.
53711         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53712         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53713         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53714         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53715         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53716         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53717         * elf/Makefile (sln-modules): New variable.
53718         (extra-objs): Add $(sln-modules:=.o).
53719         (ldconfig-modules): Add static-stubs.
53720         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53721         * elf/static-stubs.c: New file.
53723         [BZ #14283]
53724         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53725         by 7 not 8 to examine high bit of fractional part.  Use volatile
53726         variables when splitting into final array of floats if
53727         __FLT_EVAL_METHOD__ != 0.
53728         * math/libm-test.inc (cos_test): Add another test.
53729         (sin_test): Likewise.
53730         * sysdeps/i386/fpu/libm-test-ulps: Update.
53732         [BZ #14273]
53733         * math/libm-test.inc (cosh_test): Add more tests.
53735         * version.h (RELEASE): Set to "development".
53736         (VERSION): Set to "2.16.90".
53738 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53740         * NEWS: Update copyright. Remove last-updated date.
53741         Mention math library bug fixes and timezone data changes.
53742         * README: Mention GNU/Hurd, x32, and HPPA support status.
53744 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53746         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53748 2012-06-27  Andreas Jaeger  <aj@suse.de>
53750         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53752 2012-06-25  Andreas Jaeger  <aj@suse.de>
53754         * sysdeps/s390/fpu/libm-test-ulps: Update.
53756 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53757             Thomas Schwinge  <thomas@codesourcery.com>
53759         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53760         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53762         fanotify_mark.
53764 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53766         * sysdeps/mach/start.c: Remove file.
53767         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53768         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53769         * sysdeps/sh/init-first.c: Likewise.
53771         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53772         registers for frame unwinding purposes, add CFI directives.
53773         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53774         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53775         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53776         Likewise.
53778         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53779         __fortify_fail returning.
53780         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53782         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53783         sysdeps/sh/____longjmp_chk.S.
53784         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53785         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53786         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53787         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53789         * sysdeps/sh/abort-instr.h: New file.
53790         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53791         process in case exit returns.
53793         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53794         initialize the GOT register before use.
53796         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53797         calculation of ARGC > 4.
53799         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53800         meaningful names to some local labels.
53802 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53803             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53805         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53806         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53807         (__arch_compare_and_exchange_val_16_acq): Likewise.
53808         (__arch_compare_and_exchange_val_32_acq): Likewise.
53809         (atomic_exchange_and_add): Fix gUSA sequence.
53810         (atomic_add): Likewise.
53811         (atomic_add_negative): Likewise.
53812         (atomic_add_zero): Likewise.
53813         (atomic_bit_test_set): Likewise.
53815 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53817         [BZ #13579]
53818         * include/link.h (struct link_map): Add l_free_initfini.
53819         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53820         l_initfini.
53821         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53822         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53823         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53824         set.
53826 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53828         * configure.in: Use AC_LANG_SOURCE.
53829         * configure: Regenerate.
53831 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53833         * configure.in (libc_cv_localstatedir): New substituted variable.
53834         * configure: Regenerated.
53835         * config.make.in (localstatedir): New variable, substituted from
53836         libc_cv_localstatedir.
53837         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53838         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53839         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53840         * sysdeps/gnu/configure: Regenerated.
53842 2012-06-21  Jeff Law  <law@redhat.com>
53844         [BZ #14277]
53845         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53846         free.  Simplify list management for _LIBC case.
53848 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53850         [BZ #14273]
53851         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53852         Clear sign bit of 64-bit integer value before comparing against
53853         overflow value.
53855         * sysdeps/mach/configure: Regenerated.
53857 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53859         [BZ #14278]
53860         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53862 2012-06-21  Jeff Law  <law@redhat.com>
53864         [BZ #13882]
53865         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53866         uint16_t for elements in the "seen" array to avoid char overflows.
53867         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53868         * elf/dl-open.c (dl_open_worker): Likewise.
53870 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53872         * scripts/list-sources.sh: Scan PORTS for translations.
53873         * po/libc.pot: Regenerated.
53875 2012-06-21  Andreas Jaeger  <aj@suse.de>
53877         [BZ #12194]
53878         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
53879         warning.
53880         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
53881         * bits/byteswap-16.h (__bswap_16): Likewise.
53882         * bits/byteswap.h (__bswap_constant_16): Likewise.
53884 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
53886         [BZ #14117]
53887         * sysdeps/i386/fpu_control.h: Removed.
53888         * sysdeps/x86_64/fpu_control.h: Moved to ...
53889         * sysdeps/x86/fpu_control.h: Here.
53891         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
53892         (_FPU_SETCW): Likewise.
53894 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
53896         [BZ #14117]
53897         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
53898         * sysdeps/x86/fpu/bits/mathinline.h: This.
53899         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
53901         [BZ #14050]
53902         [BZ #14117]
53903         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
53904         functions if __x86_64__ is defined.
53906 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
53908         * string/endian.h: Add !__ASSEMBLER__ condition for including
53909         conversion interfaces.
53911 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
53913         [BZ #14241]
53914         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
53915         of ABS(x) in calculating zero to negative powers other than odd
53916         integers.
53917         * math/libm-test.inc (pow_test): Add more tests.
53919 2012-06-15  Andreas Jaeger  <aj@suse.de>
53921         * manual/contrib.texi (Contributors): Update entry of Liubov
53922         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
53923         Machado Filho.
53925 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
53927         * string/string.h: Add __wur to GNU version of strerror_r.
53929 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
53931         [BZ #14229]
53932         * string/Makefile (tests): Add tst-strtok_r.
53933         * string/tst-strtok_r.c: New file.
53934         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
53935         RAX_LP/RDX_LP on SAVE_PTR.
53937 2012-06-14  Roland McGrath  <roland@hack.frob.com>
53939         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
53941 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
53943         * libm_test.inc (csqrt_test): Allow more spurious underflow
53944         exceptions.
53945         (j0_test): Likewise.
53946         (j1_test): Likewise.
53947         (y0_test): Likewise.
53948         (y1_test): Likewise.
53950 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
53952         * po/Makefile (libc.pot): Use UTF-8 charset.
53954 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
53956         [BZ #14210]
53957         Suppress sign-conversion warning from FD_SET.
53958         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
53959         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
53960         not unsigned long int.
53961         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
53963 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
53965         [BZ #14050]
53966         [BZ #14117]
53967         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
53968         __extern_always_inline instead of __extern_inline.
53969         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
53970         (__signbit): Likewise.
53971         (__signbitl): Support C++ namespace.
53972         (lrintf): New inline function.
53973         (lrint): Likewise.
53974         (llrintf): Likewise.
53975         (llrint): Likewise.
53976         (fmaxf): Likewise.
53977         (fmax): Likewise.
53978         (fminf): Likewise.
53979         (fmin): Likewise.
53980         (rint): Likewise.
53981         (rintf): Likewise.
53982         (ceil): Likewise.
53983         (ceilf): Likewise.
53984         (floor): Likewise.
53985         (floorf): Likewise.
53986         (nearbyint): Likewise.
53987         (nearbyintf): Likewise.
53989 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
53991         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
53992         non-default versions.
53994 2012-06-11  Roland McGrath  <roland@hack.frob.com>
53996         [BZ #14218]
53997         * manual/argp.texi (Argp): Reword argp_parse description slightly.
53999 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54001         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54002         (FE_UPWARD, FE_DOWNWARD): Don't define.
54003         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54004         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54006         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54007         reading it.
54008         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54009         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54011 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54013         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54014         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54015         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54016         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54018 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54020         [BZ #14117]
54021         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54022         * sysdeps/i386/fpu/Implies: New file.
54023         * sysdeps/x86_64/fpu/Implies: Likewise.
54024         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54025         * sysdeps/x86/fpu/bits/fenv.h: This.
54027         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54028         __SSE_MATH__.
54030 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54032         [BZ #14134]
54033         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54034         character 0xffff that matches the last element of the
54035         conversion table.
54037 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54039         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54040         fmodl commit.
54042 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54044         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54045         values higher than 25.6283.
54047 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54049         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54050         subnormal exponent extraction and add some __builtin_expect.
54051         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54052         Fix for subnormal mantissa calculation.
54054 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54056         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54057         cpu2 is -1 and errno is not ENOSYS.
54059 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54061         [BZ #14117]
54062         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54063         * sysdeps/x86/bits/string.h: This.
54064         * sysdeps/x86_64/bits/string.h: Removed.
54066         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54067         if not compiling for x86-64, but compiling for >= i486.
54069         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54070         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54072         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54073         New macro from Linux kernel 3.4.0.
54074         (FP_XSTATE_MAGIC2): Likewise.
54075         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54076         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54077         (struct _fpx_sw_bytes): New struct.
54078         (struct _xsave_hdr): Likewise.
54079         (struct _ymmh_state): Likewise.
54080         (struct _xstate): Likewise.
54082         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54083         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54084         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54085         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54086         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54087         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54089         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54090         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54091         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54092         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54093         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54094         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54096 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54098         [BZ #13743]
54099         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54100         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54101         (sysdep_headers): Include sys/platform/ppc.h.
54102         * sysdeps/powerpc/test-gettimebase.c: Test for
54103         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54104         * manual/Makefile (appendices): Include platform.texi.
54105         * manual/contrib.texi (Contributors): Update @node pointers.
54106         * manual/maint.texi (Maintenance): Likewise.
54107         (Platform): New node.
54108         * manual/platform.texi: New file.  Document the new features.
54110 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54111             Jakub Jelinek  <jakub@redhat.com>
54113         [BZ #14188]
54114         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54115         where __builtin_expect is unavailable.
54117 2012-06-03  David S. Miller  <davem@davemloft.net>
54119         * stdlib/longlong.h: Updated from GCC.
54121 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54123         [BZ #14042]
54124         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54125         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54126         __mcount_internal.
54127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54128         (GLIBC_2.16): Likewise.
54130 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54132         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54134 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54137         (default-abi): New variable.
54138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54139         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54140         variable.
54141         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54142         Likewise.
54143         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54144         Likewise.
54145         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54146         Likewise.
54148         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54149         definition.  Document in comment.
54151 2012-06-01  David S. Miller  <davem@davemloft.net>
54153         * stdlib/longlong.h: Updated from GCC.
54155 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54157         [BZ #14117]
54158         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54159         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54160         sys/debugreg.h sys/io.h here.
54161         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54162         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54163         sys/io.h.
54164         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54165         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54166         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54167         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54168         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54169         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54171         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54172         Define only if __x86_64__ is defined.
54174 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54176         [BZ #14048]
54177         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54178         Use int64_t for variable i.
54179         * math/libm-test.inc (fmod_test): Add more tests.
54181         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54182         z computation is not scheduled after fetestexcept.
54183         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54184         Use math_force_eval instead of asm to ensure calculation scheduled
54185         before exception test.
54186         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54187         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54189 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54191         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54192         computation is not scheduled after fetestexcept.
54194 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54196         [BZ #14117]
54197         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54198         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54200 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54202         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54203         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54205 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54207         [BZ #14117]
54208         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54209         <bits/wordsize.h>.
54210         (__WCHAR_MIN): Support __WORDSIZE == 64.
54211         (__WCHAR_MAX): Likewise.
54213         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54214         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54216         [BZ #14183]
54217         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54218         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54220         [BZ #14117]
54221         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54222         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54224         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54225         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54227         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54228         Defined to 1 if __x86_64__ isn't defined.
54229         (_STAT_VER_LINUX_OLD): New.
54230         (st_atime): Remove duplicate.
54231         (st_mtime): Likewise.
54232         (st_ctime): Likewise.
54234 2012-05-31  David S. Miller  <davem@davemloft.net>
54236         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54237         entries.
54239 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54241         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54242         gen-libm-test.pl.
54244         [BZ #14132]
54245         * elf/dl-reloc.c: Include <_itoa.h>.
54246         (_dl_reloc_bad_type): Remove use of INTUSE.
54247         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54248         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54249         * stdio-common/psiginfo.c (psiginfo): Likewise.
54250         * stdio-common/psignal.c (psignal): Likewise.
54251         * string/strsignal.c (strsignal): Likewise.
54252         * include/signal.h (_sys_siglist): Declare hidden proto.
54253         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54254         INTVARDEF with libc_hidden_data_def.
54255         * stdio-common/itoa-udigits.c: Likewise.
54256         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54257         (_itoa_lower_digits_internal): Remove declaration.
54258         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54259         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54260         (_sys_sigabbrev_internal): Remove aliases.
54261         (_sys_siglist): Define hidden alias.
54263 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54265         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54266         bits/sysctl.h.
54268 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54270         [BZ #14117]
54271         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54272         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54274         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54275         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54276         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54277         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54278         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54279         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54281         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54282         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54283         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54285         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54286         with __addr.
54287         (insw): Likewise.
54288         (insl): Likewise.
54289         (outsb): Likewise.
54290         (outsw): Likewise.
54291         (outsl): Likewise.
54293         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54294         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54295         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54297         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54298         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54299         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54300         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54301         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54302         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54304         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54305         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54307         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54308         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54310         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54311         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54312         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54314         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54315         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54316         to ...
54317         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54319         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54320         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54321         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54323         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54324         for x86-64.
54325         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54327 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54329         * math/math.h (M_El): Use two more decimal places.
54330         (M_LOG2El): Likewise.
54331         (M_LOG10El): Likewise.
54332         (M_LN2l): Likewise.
54333         (M_LN10l): Likewise.
54334         (M_PIl): Likewise.
54335         (M_PI_2l): Likewise.
54336         (M_PI_4l): Likewise.
54337         (M_1_PIl): Likewise.
54338         (M_2_PIl): Likewise.
54339         (M_2_SQRTPIl): Likewise.
54340         (M_SQRT2l): Likewise.
54341         (M_SQRT1_2l): Likewise.
54343 2012-05-31  David S. Miller  <davem@davemloft.net>
54345         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54346         values between float registers.
54347         * sysdeps/sparc/sparc64/memset.S: Likewise.
54348         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54350 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54352         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54353         -D_FORTIFY_SOURCE=1.
54354         (CPPFLAGS-tst-longjmp_chk.c): Define.
54355         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54356         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54357         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54358         CFLAGS-tst-wchar-h.c.
54360 2012-05-31  Marek Polacek  <polacek@redhat.com>
54362         [BZ #14132]
54363         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54364         __endmntent_internal): Remove declaration.
54365         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54366         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54367         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54369 2012-05-30  David S. Miller  <davem@davemloft.net>
54371         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54372         (___Q_simulate_exceptions): Use real FP ops rather than writing
54373         into the %fsr.
54374         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54375         Likewise.
54377 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54379         [BZ #14117]
54380         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54381         * sysdeps/x86/bits/xtitypes.h: This.
54383         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54384         * sysdeps/x86/bits/wordsize.h: This.
54386         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54387         * sysdeps/x86/bits/huge_vall.h: This.
54389         * sysdeps/i386/bits/select.h: Removed.
54390         * sysdeps/x86_64/bits/select.h: Renamed to ...
54391         * sysdeps/x86/bits/select.h: This.
54393         * sysdeps/i386/bits/setjmp.h: Removed.
54394         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54395         * sysdeps/x86/bits/setjmp.h: This.
54397         * sysdeps/i386/bits/mathdef.h: Removed.
54398         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54399         * sysdeps/x86/bits/mathdef.h: This.
54401 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54403         [BZ #14132]
54404         * include/sys/socket.h (__connect_internal)
54405         (__libc_sa_len_internal): Remove declaration.
54406         (__connect, __libc_sa_len): Declare hidden_proto.
54407         (SA_LEN): Remove use of INTUSE.
54408         * socket/connect.c: Add libc_hidden_def.
54409         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54410         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54411         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54412         alias.
54413         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54414         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54415         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54416         of adding _internal alias.
54418 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54420         [BZ #14117]
54421         * sysdeps/i386/bits/link.h: Removed.
54422         * sysdeps/i386/bits/linkmap.h: Likewise.
54423         * sysdeps/x86_64/bits/link.h: Renamed to ...
54424         * sysdeps/x86/bits/link.h: This.
54425         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54426         * sysdeps/x86/bits/linkmap.h: This.
54428         * sysdeps/i386/bits/endian.h: Removed.
54429         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54430         * sysdeps/x86/bits/endian.h: This.
54432         * sysdeps/i386/bits/byteswap.h: Removed.
54433         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54434         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54435         * sysdeps/x86/bits/byteswap.h: This.
54436         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54437         * sysdeps/x86/bits/byteswap-16.h: This.
54438         * sysdeps/i386/Implies: Add x86.
54439         * sysdeps/x86_64/Implies: Likewise.
54441 2012-05-30  David S. Miller  <davem@davemloft.net>
54443         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54444         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54445         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54446         (FP_TRAPPING_EXCEPTIONS): Define.
54447         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54448         (FP_TRAPPING_EXCEPTIONS): Define.
54449         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54450         subnormals only when inexact has been signalled or underflow
54451         exceptions are enabled.
54452         (_FP_PACK_CANONICAL): Likewise.
54454 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54456         [BZ #14183]
54457         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54458         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54460 2012-05-30  Richard Henderson  <rth@twiddle.net>
54462         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54463         with #ifndef NOT_IN_libc.
54465         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54466         marked to avoid plt entry.
54468 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54470         [BZ #14112]
54471         * Makeconfig (default-abi): New macro.
54472         (abi-includes): Likewise.
54473         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54474         $(abi-$(default-abi)-lib-soname) for soname if defined.
54475         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54476         abi-variants.
54477         * Makefile (installed-stubs): Likewise.
54478         * include/stubs-biarch.h: Removed.
54479         * scripts/lib-names.awk: Only handle one library at a time.
54480         * scripts/soversions.awk: Remove WORDSIZE support.
54481         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54482         entries.
54483         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54484         Removed.
54485         (syscall-list-default-condition): Likewise.
54486         (syscall-list-default-condition): Likewise.
54487         (syscall-list-includes): Likewise.
54488         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54489         syscall-list-* with abi-*.  Handle undefined abi-variants.
54490         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54491         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54492         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54493         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54494         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54495         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54496         Removed.
54497         (syscall-list-32-options): Likewise.
54498         (syscall-list-32-condition): Likewise.
54499         (syscall-list-64-options): Likewise.
54500         (syscall-list-64-condition): Likewise.
54501         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54502         macro.
54503         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54504         Renamed to ...
54505         (abi-*): This.
54506         (abi-64-ld-soname): New macro.
54507         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54508         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54509         Renamed to ...
54510         (abi-*): This.
54511         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54512         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54514 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54516         * sysdeps/unix/sysv/linux/kernel-features.h
54517         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54518         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54519         include <kernel-features.h>.
54520         [!__NR_ftruncate64]: Remove conditional code.
54521         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54522         [__NR_ftruncate64]: Make code unconditional.
54523         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54524         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54525         include <kernel-features.h>.
54526         [!__NR_ftruncate64]: Remove conditional code.
54527         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54528         [__NR_ftruncate64]: Make code unconditional.
54529         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54531         include <kernel-features.h>.
54532         [!__NR_ftruncate64]: Remove conditional code.
54533         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54534         [__NR_ftruncate64]: Make code unconditional.
54535         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54537         include <kernel-features.h>.
54538         [!__NR_ftruncate64]: Remove conditional code.
54539         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54540         [__NR_ftruncate64]: Make code unconditional.
54541         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54543         * configure.in (libc_cv_fpie): Weaken to a compile test using
54544         LIBC_TRY_CC_OPTION.
54545         * configure: Regenerated.
54547 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54553         Refreshed.
54554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54560         Refreshed.
54562 2012-05-27  David S. Miller  <davem@davemloft.net>
54564         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54565         (___Q_zero): New.
54566         (__Q_simulate_exceptions): Return void.  Change to simulate
54567         exceptions by writing into the %fsr.
54568         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54569         (__Qp_handle_exceptions): Likewise.
54570         (numbers): Delete.
54571         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54572         __Qp_handle_exceptions.
54573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54574         __Qp_handle_exceptions.
54575         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54576         as unused and give dummy FP_RND_NEAREST initializer.
54577         (FP_INHIBIT_RESULTS): Define.
54578         (___Q_simulate_exceptions): Update declaration.
54579         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54580         formatting.
54581         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54582         as unused and give dummy FP_RND_NEAREST initializer.
54583         (__Qp_handle_exceptions): Update declaration.
54584         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54585         formatting.
54587 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54589         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54590         the temporary FPU control word.
54591         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54592         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54593         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54594         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54595         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54596         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54597         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54598         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54599         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54600         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54601         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54603 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54605         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54606         fields.
54608 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54610         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54611         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54612         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54613         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54614         Likewise.
54615         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54616         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54617         Likewise.
54619 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54621         * po/h.po: Update from translation team.
54623 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54625         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54627         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54628         handling of denormals.
54629         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54630         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54631         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54632         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54633         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54634         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54635         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54636         Likewise.
54638 2012-05-26  Marek Polacek  <polacek@redhat.com>
54640         [BZ #14152]
54641         * math/libm-test.inc (fma_test): Don't always expect underflow
54642         exception.
54644 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54646         [BZ #12416]
54647         * elf/tst-execstack.c: Include stackinfo.h.
54648         (do_test): Adjust test case to ensure that pthread_getattr_np
54649         behaviour remains the same after marking stack executable.
54651 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54653         * sysdeps/unix/sysv/linux/kernel-features.h
54654         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54655         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54656         kernel-features.h.
54657         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54658         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54659         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54660         kernel-features.h.
54661         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54662         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54664 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54666         * configure.in: Define the default includes to being none.
54667         * configure: Regenerated.
54669 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54671         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54672         * sysdeps/x86_64/setjmp.S: Likewise.
54673         * sysdeps/i386/bsd-setjmp.S: Likewise.
54674         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54675         * sysdeps/i386/setjmp.S: Likewise.
54676         * sysdeps/i386/__longjmp.S: Likewise.
54677         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54678         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54680         * include/stap-probe.h: New file.
54681         * configure.in: Handle --enable-systemtap.
54682         * configure: Regenerated.
54683         * config.h.in (USE_STAP_PROBE): New #undef.
54684         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54685         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54686         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54688 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54690         [BZ #13717]
54691         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54692         to 2.4.0 where earlier.
54693         * sysdeps/unix/sysv/linux/configure: Regenerated.
54694         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54695         <kernel-features.h>.
54696         [__ASSUME_32BITUIDS]: Make code unconditional.
54697         [!__ASSUME_32BITUIDS]: Remove conditional code.
54698         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54699         <kernel-features.h>.
54700         [__ASSUME_32BITUIDS]: Make code unconditional.
54701         [!__ASSUME_32BITUIDS]: Remove conditional code.
54702         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54703         [__ASSUME_32BITUIDS]: Make code unconditional.
54704         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54705         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54706         <kernel-features.h>.
54707         [__ASSUME_32BITUIDS]: Make code unconditional.
54708         [!__ASSUME_32BITUIDS]: Remove conditional code.
54709         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54710         <kernel-features.h>.
54711         [__ASSUME_32BITUIDS]: Make code unconditional.
54712         [!__ASSUME_32BITUIDS]: Remove conditional code.
54713         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54714         <kernel-features.h>.
54715         [__ASSUME_32BITUIDS]: Make code unconditional.
54716         [!__ASSUME_32BITUIDS]: Remove conditional code.
54717         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54718         <kernel-features.h>.
54719         [__ASSUME_32BITUIDS]: Make code unconditional.
54720         [!__ASSUME_32BITUIDS]: Remove conditional code.
54721         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54722         <kernel-features.h>.
54723         [__ASSUME_32BITUIDS]: Make code unconditional.
54724         [!__ASSUME_32BITUIDS]: Remove conditional code.
54725         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54726         <kernel-features.h>.
54727         [__ASSUME_32BITUIDS]: Make code unconditional.
54728         [!__ASSUME_32BITUIDS]: Remove conditional code.
54729         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
54730         <kernel-features.h>.
54731         [__ASSUME_32BITUIDS]: Make code unconditional.
54732         [!__ASSUME_32BITUIDS]: Remove conditional code.
54733         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54734         <kernel-features.h>.
54735         [__ASSUME_32BITUIDS]: Make code unconditional.
54736         [!__ASSUME_32BITUIDS]: Remove conditional code.
54737         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54738         <kernel-features.h>.
54739         [__ASSUME_32BITUIDS]: Make code unconditional.
54740         [!__ASSUME_32BITUIDS]: Remove conditional code.
54741         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54742         <kernel-features.h>.
54743         [__ASSUME_32BITUIDS]: Make code unconditional.
54744         [!__ASSUME_32BITUIDS]: Remove conditional code.
54745         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54746         <kernel-features.h>.
54747         [__NR_setresgid] (__setresgid): Do not declare.
54748         [__ASSUME_32BITUIDS]: Make code unconditional.
54749         [!__ASSUME_32BITUIDS]: Remove conditional code.
54750         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54751         <kernel-features.h>.
54752         [__NR_setresuid] (__setresuid): Do not declare.
54753         [__ASSUME_32BITUIDS]: Make code unconditional.
54754         [!__ASSUME_32BITUIDS]: Remove conditional code.
54755         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54756         <kernel-features.h>.
54757         [__ASSUME_32BITUIDS]: Make code unconditional.
54758         [!__ASSUME_32BITUIDS]: Remove conditional code.
54759         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54760         <kernel-features.h>.
54761         [__ASSUME_32BITUIDS]: Make code unconditional.
54762         [!__ASSUME_32BITUIDS]: Remove conditional code.
54763         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
54764         <kernel-features.h>.
54765         [__ASSUME_32BITUIDS]: Make code unconditional.
54766         [!__ASSUME_32BITUIDS]: Remove conditional code.
54767         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
54768         <kernel-features.h>.
54769         [__ASSUME_32BITUIDS]: Make code unconditional.
54770         [!__ASSUME_32BITUIDS]: Remove conditional code.
54771         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
54772         <kernel-features.h>.
54773         [__ASSUME_32BITUIDS]: Make code unconditional.
54774         [!__ASSUME_32BITUIDS]: Remove conditional code.
54775         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54776         <kernel-features.h>.
54777         [__ASSUME_32BITUIDS]: Make code unconditional.
54778         [!__ASSUME_32BITUIDS]: Remove conditional code.
54779         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
54780         <kernel-features.h>.
54781         [__ASSUME_32BITUIDS]: Make code unconditional.
54782         [!__ASSUME_32BITUIDS]: Remove conditional code.
54783         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
54784         <kernel-features.h>.
54785         [__ASSUME_32BITUIDS]: Make code unconditional.
54786         [!__ASSUME_32BITUIDS]: Remove conditional code.
54787         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54788         <kernel-features.h>.
54789         [__ASSUME_32BITUIDS]: Make code unconditional.
54790         [!__ASSUME_32BITUIDS]: Remove conditional code.
54791         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54792         <kernel-features.h>.
54793         [__ASSUME_32BITUIDS]: Make code unconditional.
54794         [!__ASSUME_32BITUIDS]: Remove conditional code.
54795         * sysdeps/unix/sysv/linux/kernel-features.h
54796         (__ASSUME_SETRESUID_SYSCALL): Remove.
54797         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54798         (__ASSUME_32BITUIDS): Likewise.
54799         (__ASSUME_LDT_WORKS): Likewise.
54800         (__ASSUME_O_DIRECTORY): Likewise.
54801         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54802         architecture but not kernel version.
54803         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54804         (__ASSUME_MMAP2_SYSCALL): Likewise.
54805         (__ASSUME_STAT64_SYSCALL): Likewise.
54806         (__ASSUME_IPC64): Likewise.
54807         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54808         <kernel-features.h>.
54809         [__ASSUME_32BITUIDS]: Make code unconditional.
54810         [!__ASSUME_32BITUIDS]: Remove conditional code.
54811         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54812         <kernel-features.h>.
54813         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54814         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54815         132096]: Remove conditional code.
54816         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54817         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54818         <kernel-features.h>.
54819         [__ASSUME_32BITUIDS]: Make code unconditional.
54820         [!__ASSUME_32BITUIDS]: Remove conditional code.
54821         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54822         <kernel-features.h>.
54823         [__ASSUME_32BITUIDS]: Make code unconditional.
54824         [!__ASSUME_32BITUIDS]: Remove conditional code.
54825         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54826         <kernel-features.h>.
54827         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54828         unconditional.
54829         (__setresgid): Do not declare.
54830         [__ASSUME_32BITUIDS]: Make code unconditional.
54831         [!__ASSUME_32BITUIDS]: Remove conditional code.
54832         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54833         <kernel-features.h>.
54834         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54835         unconditional.
54836         (__setresuid): Do not declare.
54837         [__ASSUME_32BITUIDS]: Make code unconditional.
54838         [!__ASSUME_32BITUIDS]: Remove conditional code.
54839         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54840         <kernel-features.h>.
54841         [__ASSUME_32BITUIDS]: Make code unconditional.
54842         [!__ASSUME_32BITUIDS]: Remove conditional code.
54843         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54844         <kernel-features.h>.
54845         [__ASSUME_32BITUIDS]: Make code unconditional.
54846         [!__ASSUME_32BITUIDS]: Remove conditional code.
54848 2012-05-25  Richard Henderson  <rth@twiddle.net>
54850         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54851         dl_hwcap to ifunc resolver.
54852         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54853         elf_ifunc_invoke.
54854         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54855         dl_hwcap to ifunc resolver.
54856         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54858 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54860         [BZ #14153]
54861         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54862         for |x| <= 2**-26, not 2**-57.
54863         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54864         exception.
54866 2012-05-24  Jeff Law  <law@redhat.com>
54868         * stdio-common/Makefile (tests): Add bug25.
54869         * stdio-common/bug25.c: New test.
54871 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54873         [BZ #13576]
54874         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54875         multiple of MALLOC_ALIGNMENT in size.
54876         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54878 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54880         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
54881         Require >= 256.
54882         (FILENAME_MAX): Use macro-int-constant.
54883         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
54884         (_IOFBF): Use macro-int-constant.
54885         (_IOLBF): Likewise.
54886         (_IONBF): Likewise.
54887         (SEEK_CUR): Likewise.
54888         (SEEK_END): Likewise.
54889         (SEEK_SET): Likewise.
54890         (TMP_MAX): Likewise.
54891         (EOF): Use macro-int-constant.  Require < 0.
54892         (NULL): Use macro-constant.  Require == 0.
54893         (stdin): Require type to be FILE *.
54894         (stdout): Likewise.
54895         (stderr): Likewise.
54896         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
54897         macro-int-constant.
54898         (EXIT_SUCCESS): Likewise.
54899         (NULL): Use macro-constant.  Require == 0.
54900         (RAND_MAX): Use macro-int-constant.
54901         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
54902         [C99-based standards] (strtof): Require function.
54903         [C99-based standards] (strtold): Likewise.
54904         [C99-based standards] (strtoll): Likewise.
54905         [C99-based standards] (strtoull): Likewise.
54906         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54907         [ISO || ISO99 || ISO11] (limits.h): Likewise.
54908         [ISO || ISO99 || ISO11] (math.h): Likewise.
54909         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
54910         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54911         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54913 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
54915         [BZ #14132]
54916         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
54917         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
54918         * intl/dgettext.c (DCGETTEXT): Likewise.
54919         * intl/gettext.c (DCGETTEXT): Likewise.
54920         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
54921         * posix/regex_internal.h (gettext): Likewise.
54922         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
54923         Remove declaration.
54924         * include/argz.h (__argz_count_internal)
54925         (__argz_stringify_internal): Remove declaration.
54926         (__argz_count, __argz_stringify): Declare hidden proto.
54927         * intl/dcgettext.c: Remove use of INTDEF.
54928         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
54929         * string/argz-stringify.c: Likewise.
54930         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54931         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54932         Declare hidden proto.
54933         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54934         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54935         Declare hidden proto.
54936         * include/stdio.h (__asprintf_internal): Don't declare.
54937         (__asprintf): Don't define as macro.  Declare hidden proto.
54938         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
54939         (__fsetlocking): Declare hidden proto.
54940         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
54941         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
54942         hidden proto.
54943         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
54944         (_IO_setlinebuf): Remove use of INTUSE.
54945         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
54946         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
54947         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
54948         Remove declaration.
54949         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
54950         (_IO_do_flush): Remove use of INTUSE.
54951         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
54952         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
54953         (_IO_adjust_column, _IO_least_wmarker)
54954         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
54955         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
54956         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
54957         (_IO_default_doallocate, _IO_wdefault_doallocate)
54958         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
54959         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
54960         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
54961         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
54962         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
54963         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
54964         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
54965         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
54966         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
54967         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
54968         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
54969         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
54970         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
54971         proto.
54972         (_IO_flush_all_internal, _IO_adjust_column_internal)
54973         (_IO_default_uflow_internal, _IO_default_finish_internal)
54974         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
54975         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
54976         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
54977         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
54978         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
54979         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
54980         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
54981         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
54982         (_IO_file_close_internal, _IO_file_close_it_internal)
54983         (_IO_file_underflow_internal, _IO_file_overflow_internal)
54984         (_IO_file_init_internal, _IO_file_attach_internal)
54985         (_IO_file_fopen_internal, _IO_file_read_internal)
54986         (_IO_file_sync_internal, _IO_file_seek_internal)
54987         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
54988         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
54989         (_IO_str_underflow_internal, _IO_str_overflow_internal)
54990         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
54991         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
54992         (_IO_list_all_internal, _IO_link_in_internal)
54993         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
54994         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
54995         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
54996         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
54997         (_IO_do_write_internal, _IO_padn_internal)
54998         (_IO_getline_info_internal, _IO_getline_internal)
54999         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55000         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55001         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55002         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55003         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55004         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55005         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55006         with libc_hidden_ver, remove use of INTUSE.
55007         * libio/genops.c: Likewise.
55008         * libio/freopen.c: Likewise.
55009         * libio/freopen64.c: Likewise.
55010         * libio/iofclose.c: Likewise.
55011         * libio/iofdopen.c: Likewise.
55012         * libio/iofflush.c: Likewise.
55013         * libio/iofflush_u.c: Likewise.
55014         * libio/iofgets.c: Likewise.
55015         * libio/iofgets_u.c: Likewise.
55016         * libio/iofopen.c: Likewise.
55017         * libio/iofopncook.c: Likewise.
55018         * libio/iofread.c: Likewise.
55019         * libio/iofread_u.c: Likewise.
55020         * libio/ioftell.c: Likewise.
55021         * libio/iofwrite.c: Likewise.
55022         * libio/iogetline.c: Likewise.
55023         * libio/iogets.c: Likewise.
55024         * libio/iogetwline.c: Likewise.
55025         * libio/iopadn.c: Likewise.
55026         * libio/iopopen.c: Likewise.
55027         * libio/ioseekoff.c: Likewise.
55028         * libio/ioseekpos.c: Likewise.
55029         * libio/iosetbuffer.c: Likewise.
55030         * libio/iosetvbuf.c: Likewise.
55031         * libio/ioungetc.c: Likewise.
55032         * libio/ioungetwc.c: Likewise.
55033         * libio/iovdprintf.c: Likewise.
55034         * libio/iovsprintf.c: Likewise.
55035         * libio/iovsscanf.c: Likewise.
55036         * libio/memstream.c: Likewise.
55037         * libio/obprintf.c: Likewise.
55038         * libio/oldfileops.c: Likewise.
55039         * libio/oldiofclose.c: Likewise.
55040         * libio/oldiofdopen.c: Likewise.
55041         * libio/oldiofopen.c: Likewise.
55042         * libio/oldiopopen.c: Likewise.
55043         * libio/oldstdfiles.c: Likewise.
55044         * libio/putc.c: Likewise.
55045         * libio/setbuf.c: Likewise.
55046         * libio/setlinebuf.c: Likewise.
55047         * libio/stdfiles.c: Likewise.
55048         * libio/strops.c: Likewise.
55049         * libio/vasprintf.c: Likewise.
55050         * libio/vscanf.c: Likewise.
55051         * libio/vsnprintf.c: Likewise.
55052         * libio/vswprintf.c: Likewise.
55053         * libio/wfiledoalloc.c: Likewise.
55054         * libio/wfileops.c: Likewise.
55055         * libio/wgenops.c: Likewise.
55056         * libio/wmemstream.c: Likewise.
55057         * libio/wstrops.c: Likewise.
55058         * libio/__fpurge.c: Likewise.
55059         * libio/__fsetlocking.c: Likewise.
55060         * assert/assert.c: Likewise.
55061         * debug/fgets_chk.c: Likewise.
55062         * debug/fgets_u_chk.c: Likewise.
55063         * debug/fread_chk.c: Likewise.
55064         * debug/fread_u_chk.c: Likewise.
55065         * debug/gets_chk.c: Likewise.
55066         * debug/obprintf_chk.c: Likewise.
55067         * debug/vasprintf_chk.c: Likewise.
55068         * debug/vdprintf_chk.c: Likewise.
55069         * debug/vsnprintf_chk.c: Likewise.
55070         * debug/vsprintf_chk.c: Likewise.
55071         * malloc/mtrace.c: Likewise.
55072         * misc/error.c: Likewise.
55073         * misc/syslog.c: Likewise.
55074         * stdio-common/asprintf.c: Likewise.
55075         * stdio-common/fxprintf.c: Likewise.
55076         * stdio-common/getw.c: Likewise.
55077         * stdio-common/isoc99_fscanf.c: Likewise.
55078         * stdio-common/isoc99_scanf.c: Likewise.
55079         * stdio-common/isoc99_vfscanf.c: Likewise.
55080         * stdio-common/isoc99_vscanf.c: Likewise.
55081         * stdio-common/isoc99_vsscanf.c: Likewise.
55082         * stdio-common/printf-prs.c: Likewise.
55083         * stdio-common/printf_fp.c: Likewise.
55084         * stdio-common/printf_fphex.c: Likewise.
55085         * stdio-common/printf_size.c: Likewise.
55086         * stdio-common/putw.c: Likewise.
55087         * stdio-common/scanf.c: Likewise.
55088         * stdio-common/sprintf.c: Likewise.
55089         * stdio-common/tmpfile.c: Likewise.
55090         * stdio-common/vfprintf.c: Likewise.
55091         * stdio-common/vfscanf.c: Likewise.
55092         * stdlib/strfmon_l.c: Likewise.
55093         * sunrpc/openchild.c: Likewise.
55094         * sunrpc/xdr_stdio.c: Likewise.
55095         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55096         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55098 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55100         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55102         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55103         in the third column, to generate for the shared library an IFUNC
55104         that uses _dl_vdso_vsym.
55105         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55106         * Makeconfig (object-suffixes-noshared): New variable.
55108         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55109         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55110         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55111         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55113         [BZ #14132]
55114         * include/sys/time.h (__gettimeofday): Remove macro.
55115         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55116         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55117         Remove INTDEF.
55118         (__gettimeofday): Add libc_hidden_def.
55119         (gettimeofday): Add libc_hidden_weak.
55120         * sysdeps/mach/gettimeofday.c: Likewise.
55121         * sysdeps/posix/gettimeofday.c: Likewise.
55122         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55123         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55124         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55125         (__gettimeofday_internal): Remove strong_alias.
55126         (__gettimeofday): Add libc_hidden_def.
55127         (gettimeofday): Add libc_hidden_weak.
55128         * sysdeps/unix/syscalls.list (gettimeofday):
55129         Remove __gettimeofday_internal alias.
55131 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55132             H.J. Lu  <hongjiu.lu@intel.com>
55134         [BZ #12495]
55135         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55136         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55137         (largebin_index_32_big): New.
55138         (largebin_index): Use it for 16-byte alignment.
55139         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55140         correction with front_misalign.
55142 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55146         Likewise.
55147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55148         Likewise.
55149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55150         Likewise.
55151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55152         Likewise.
55153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55154         Likewise.
55155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55156         Likewise.
55157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55158         Likewise.
55159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55160         Likewise.
55161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55162         Likewise.
55163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55164         Likewise.
55165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55166         Likewise.
55167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55168         Likewise.
55170         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55171         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55173 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55175         [BZ #10846]
55176         [BZ #14036]
55177         * math/libm-test.inc (exp_test): Add test from bug 14036.
55178         (pow_test): Add test from bug 10846.
55180         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55181         and other flags.
55182         (special_function): Do not include flags in test name.
55183         (parse_args): Likewise.
55184         * sysdeps/i386/fpu/libm-test-ulps: Update.
55185         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55186         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55187         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55190         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55191         exceptions.
55192         * math/libm-test.inc ("Philosophy"): Update comment about
55193         exception testing.
55194         (UNDERFLOW_EXCEPTION): New macro.
55195         (UNDERFLOW_EXCEPTION_OK): Likewise.
55196         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55197         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55198         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55199         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55200         (INVALID_EXCEPTION_OK): Update value.
55201         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55202         (OVERFLOW_EXCEPTION_OK): Likewise.
55203         (IGNORE_ZERO_INF_SIGN): Likewise.
55204         (test_exceptions): Handle underflow exceptions.
55205         (acos_test): Update for underflow exception expectations.
55206         (cexp_test): Likewise.
55207         (clog_test): Likewise.
55208         (clog10_test): Likewise.
55209         (csqrt_test): Likewise.
55210         (ctan_test): Likewise.
55211         (ctanh_test): Likewise.
55212         (exp_test): Likewise.
55213         (exp10_test): Likewise.
55214         (exp2_test): Likewise.
55215         (expm1_test): Likewise.
55216         (fma_test): Likewise.
55217         (j0_test): Likewise.
55218         (jn_test): Likewise.
55219         (nexttoward_test): Likewise.
55220         (pow_test): Likewise.
55221         (scalbn_test): Likewise.
55222         (scalbln_test): Likewise.
55223         (tan_test): Likewise.
55224         (y1_test): Likewise.
55225         * sysdeps/i386/fpu/libm-test-ulps: Update.
55226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55228 2012-05-23  David S. Miller  <davem@davemloft.net>
55230         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55231         (__libc_sigaction): Remove unused local variables.
55233 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55235         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55237 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55239         mktime: avoid signed integer overflow
55240         * time/mktime.c (__mktime_internal): Do not mishandle the case
55241         where diff == INT_MIN.
55243         mktime: simplify computation of average
55244         * time/mktime.c (ranged_convert): Use new time_t_avg function
55245         instead of rolling our own (probably-slower) code.
55247         mktime: do not assume signed right shift propagates sign bit
55248         * time/mktime.c (isdst_differ): New static function.
55249         (__mktime_internal): No need to normalize tm_isdst now.
55250         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55251         tm_isdst values.
55253         mktime: merge another wrapv change from gnulib
55254         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55255         from some compilers.
55257         mktime: remove incorrect attempt at unusual arithmetics
55258         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55259         The code didn't really work on such machines anyway.
55260         (TYPE_MINIMUM): Assume two's complement.
55261         (twos_complement_arithmetic): Verify that long_int and time_t
55262         are two's complement (or unsigned, in the latter case).
55264         mktime: check signed shifts on long_int and time_t, too
55265         * time/mktime.c (SHR): Check that shifts work as desired
55266         on the types long_int and time_t too, as SHR is used on
55267         such types.
55269         mktime: do not assume 'long' is wide enough
55270         * time/mktime.c (verify): Move decl up.
55271         (long_int): New type.
55272         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55273         to remove assumption in the code that 'long' is wide enough to
55274         store year values.  This assumption is not true on x32 and on
55275         some non-glibc platforms.
55277         mktime: merge wrapv change from gnulib
55278         * time/mktime.c (WRAPV): New macro.
55279         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55280         (guess_time_tm, __mktime_internal): Do not assume that signed
55281         integer overflow wraps around; modern compilers generate code
55282         where this assumption is no longer valid.
55284 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55286         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55287         Replace "jmp L(pseudo_end)" with "ret".
55288         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55289         Likewise.
55291 2012-05-23  Andreas Jaeger  <aj@suse.de>
55293         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55294         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55296 2012-05-23  Andreas Jaeger  <aj@suse.de>
55297             Maximilian Attems  <max@stro.at>
55299         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55300         New macros.
55302 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55304         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55305         code so that pseudo_end is just ret and the stack pointer is
55306         correct also for static library in error case.
55308 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55310         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55311         move to syscalls.list.
55312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55317         * manual/install.texi (Running make install): Do not mention Linux
55318         kernel version for which pt_chown is not needed.
55319         (Linux): Do not mention problems with nscd with 2.0 kernels.
55320         * INSTALL: Regenerated.
55322 2012-05-23  Andreas Jaeger  <aj@suse.de>
55324         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55325         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55326         macro.
55327         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55328         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55329         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55330         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55331         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55332         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55333         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55334         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55335         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55336         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55337         * sysdeps/unix/sysv/linux/bits/in.h
55338         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55340 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55342         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55343         (PREPARE_VERSION): Just use assert instead, it will be elided
55344         under [NDEBUG] anyway.
55346 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55348         * sysdeps/unix/sysv/linux/Makefile: Include
55349         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55350         (sysdep_routines): Remove sysctl.
55351         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55352         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55353         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55354         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55355         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55357 2012-05-22  Andreas Jaeger  <aj@suse.de>
55359         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55360         that pseudo_end is just ret and the stack pointer is correct also
55361         for static library in error case.
55363 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55365         [BZ #14122]
55366         * nss/nsswitch.c (defconfig_entries): New variable.
55367         (__nss_database_lookup): Don't leak defconfig entries.
55368         (nss_parse_service_list): Don't leak on error paths.
55369         (free_database_entries): New function.
55370         (free_defconfig): New function.
55371         (free_mem): Move common code to free_database_entries.
55373 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55375         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55376         Add arch_prctl.
55377         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55379         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55380         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55382         New macro.
55383         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55384         (INTERNAL_SYSCALL_TYPES): Likewise.
55385         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55386         (LOAD_REGS_TYPES_[1-6]): Likewise.
55387         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55388         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55390 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55392         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55393         copysignl for GLIBC_2_0.
55394         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55395         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55396         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55397         logbl for GLIBC_2_0.
55398         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55399         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55401 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55403         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55404         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55406         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55407         Use "neg %eax".
55409         * time/mktime.c: Update copyright years.
55411 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55413         mktime: merge comment-quoting-style change from gnulib
55414         * time/mktime.c: Quote 'like this' in comments.
55415         The GNU coding standards suggest that we no longer quote `like this',
55416         as "`" and "'" are typically rendered asymmetrically nowadays.
55417         The typical gnulib style is to quote 'like this' when quoting
55418         code, and "like this" when quoting English.
55420         * time/mktime.c (compile-command): Add "-I.".
55422         mktime: merge mktime-internal.h change from gnulib
55423         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55425         mktime: merge time_r change from gnulib
55426         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55428         mktime: merge DEBUG change from gnulib
55429         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55430         case system <time.h> has a #define.
55432         mktime: merge <sys/types.h> change from gnulib
55433         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55434         since <time.t> is now guaranteed to define time_t.
55436         mktime: merge HAVE_CONFIG_H change from gnulib
55437         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55439 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55442         Use "neg %eax".
55444         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55445         __rlim_t cast.
55446         (struct rusage): Use anonymous union to pad each field to
55447         __syscall_slong_t.
55449 2012-05-21  David S. Miller  <davem@davemloft.net>
55451         * Makefules (o-iterator): Remove .s cases.
55452         (compile-command.s): Delete.
55453         (COMPILE.s): Delete.
55454         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55456 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55458         * configure.in (libc_cv_predef_stack_protector): Only consider
55459         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55460         * configure: Regenerated.
55462 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55465         New macro.  Use R*LP on int and pointer.
55466         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55467         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55468         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55469         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55471         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55472         [__WORDSIZE_TIME64_COMPAT32] instead of
55473         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55474         (struct utmp): Likewise.
55475         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55476         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55477         Renamed to ...
55478         (__WORDSIZE_TIME64_COMPAT32): This.
55479         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55480         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55481         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55482         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55483         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55484         (__WORDSIZE_TIME64_COMPAT32): New macro.
55486 2012-05-21  Andreas Jaeger  <aj@suse.de>
55488         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55489         only if [SHARED]. Add prototype for __wcschr_ia32.
55491 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55493         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55494         of %rbp unmolested in the jmp_buf while mangling the low bits.
55495         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55496         unmolested high bits of %rbp while demangling the low bits.
55497         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55499 2012-05-21  Andreas Jaeger  <aj@suse.de>
55501         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55502         * sunrpc/svc_simple.c: Use it for registerrpc.
55503         * sunrpc/xcrypt.c: Use it for passwd2des.
55505         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55507 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55509         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55510         Don't define if [__SYSCALL_WORDSIZE != 32].
55511         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55512         New macro.
55514 2012-05-21  Bruno Haible  <bruno@clisp.org>
55515             Andreas Jaeger  <aj@suse.de>
55517         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55518         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55519         inptr and inend for must_buffer_ch.
55520         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55521         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55522         * stdio-common/Makefile (tests): Remove bug15.
55523         (bug15-ENV): Remove macro.
55524         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55525         anymore.
55527 2012-05-19  Andreas Jaeger  <aj@suse.de>
55528             Roland McGrath  <roland@hack.frob.com>
55530         * manual/contrib.texi: Completely rewritten. It contains now an
55531         alphabetical list of contributors and their contributions.
55533 2012-05-21  Richard Henderson  <rth@twiddle.net>
55535         * misc/getauxval.c (__getauxval): Use unsigned long int.
55536         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55537         (getauxval): Use unsigned long int.
55539 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55541         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55543 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55545         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55546         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55547         __alignof__ (long double).
55549 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55553 2012-05-20  Richard Henderson  <rth@twiddle.net>
55555         * misc/getauxval.c: New file.
55556         * misc/sys/auxv.h: New file.
55557         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55558         (routines): Add getauxval.
55559         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55560         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55561         * elf/dl-sysdep.c (_dl_auxv): Remove.
55562         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55563         * elf/dl-support.c (_dl_auxv): New variable.
55564         (_dl_aux_init): Initialize it.
55565         * manual/startup.texi (Auxiliary Vector): New node.
55566         * sysdeps/generic/bits/hwcap.h: New file.
55567         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55568         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55569         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55570         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55571         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55572         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55574         Update.
55575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55578         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55584 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55588 2012-05-19  David S. Miller  <davem@davemloft.net>
55590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55592 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55594         [BZ #14123]
55595         * math/s_ccosh.c: Include <float.h>
55596         (__ccosh): Avoid internal overflow calculating sinh and cosh
55597         values before multiplying by sin and cos values.
55598         * math/s_ccoshf.c: Likewise.
55599         * math/s_ccoshl.c: Likewise.
55600         * math/s_csin.c: Likewise.
55601         * math/s_csinf.c: Likewise.
55602         * math/s_csinl.c: Likewise.
55603         * math/s_csinh.c: Likewise.
55604         * math/s_csinhf.c: Likewise.
55605         * math/s_csinhl.c: Likewise.
55606         * math/libm-test.inc (ccos_test): Add more tests.
55607         (ccosh_test): Likewise.
55608         (csin_test): Likewise.
55609         (csinh_test): Likewise.
55610         * sysdeps/i386/fpu/libm-test-ulps: Update.
55611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55613 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55615         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55616         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55618         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55620 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55622         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55623         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55624         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55625         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55626         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55627         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55628         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55629         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55630         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55631         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55632         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55633         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55634         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55635         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55636         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55637         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55638         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55639         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55640         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55641         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55642         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55643         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55644         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55645         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55646         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55647         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55648         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55649         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55650         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55651         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55652         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55654 2012-05-18  Andreas Jaeger  <aj@suse.de>
55656         * csu/.gitignore: Delete.
55658 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55660         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55661         (timex): Use __syscall_slong_t.
55663 2012-05-18  Andreas Jaeger  <aj@suse.de>
55664             Carlos O'Donell  <carlos_odonell@mentor.com>
55666         * manual/install.texi (Configuring and compiling): Update
55667         description about files modified in the source directory.
55668         * INSTALL: Regenerated.
55670 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55672         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55673         value.  Use "or" to set return value to -1.
55674         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55675         negate return value.
55677 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55679         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55680         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55681         failure if the compiler has Graphite support disabled.
55682         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55683         Likewise.
55684         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55685         (CFLAGS-memmove.c): Likewise.
55686         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55687         Likewise.
55689 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55691         * sysdeps/x86_64/x32/_itoa.h: New file.
55693         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55694         getdents system call only if kernel and user dirents have the
55695         same d_ino and d_off.
55697         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55698         LLONG_MAX != LONG_MAX.
55699         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55700         (_fitoa_word): Likewise.
55702         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55703         years.
55704         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55705         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55706         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55708         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55709         include <bits/wordsize.h>.  Check __x86_64__ instead of
55710         __WORDSIZE.
55711         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55712         if __x86_64__ is defined.  Use anonymous union on fpstate.
55714         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55715         anonymous union.
55717 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55719         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55720         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55721         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55722         Refer to _rtld_local_ro instead of _rtld_global_ro.
55723         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55724         Likewise.
55725         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55726         Likewise.
55727         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55728         Likewise.
55729         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55730         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55731         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55733         [BZ #10882]
55734         * sysdeps/powerpc/powerpc32/dl-machine.c
55735         (__elf_machine_runtime_setup) [PROF]: Don't reference
55736         _dl_prof_resolve.
55738 2012-05-18  Andreas Jaeger  <aj@suse.de>
55740         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55741         function only available for GCCs before 3.4 since GCC 3.4
55742         introduced a builtin.
55743         (lrint): Likewise.
55744         (llrintf): Likewise.
55745         (llrint): Likewise.
55746         (fmaxf): Likewise.
55747         (fmax): Likewise.
55748         (fminf): Likewise.
55749         (fmin): Likewise.
55750         (rint): Likewise.
55751         (rintf): Likewise.
55752         (nearbyint): Likewise.
55753         (nearbyintf): Likewise.
55754         (ceil): Likewise.
55755         (ceilf): Likewise.
55756         (floor): Likewise.
55757         (floorf): Likewise.
55759 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55761         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55762         on both fields and cast pointer to __syscall_ulong_t.
55764         * bits/types.h (__fsword_t): New type.
55765         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55766         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55767         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55768         (__FSWORD_T_TYPE): Likewise.
55769         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55770         (__FSWORD_T_TYPE): Likewise.
55771         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55772         (__FSWORD_T_TYPE): Likewise.
55773         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55774         (__FSWORD_T_TYPE): Likewise.
55775         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55776         __SWORD_TYPE with __fsword_t.
55777         (statfs64): Likewise.
55779 2012-05-17  David S. Miller  <davem@davemloft.net>
55781         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55783 2012-05-17  Andreas Jaeger  <aj@suse.de>
55785         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55786         warning.
55788 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55790         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55792 2012-05-17  Andreas Jaeger  <aj@suse.de>
55794         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55795         when it is used.
55797 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55799         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55801 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55803         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55804         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55806 2012-05-17  Andreas Jaeger  <aj@suse.de>
55807             Carlos O'Donell  <carlos_odonell@mentor.com>
55809         [BZ #14059]
55810         * sysdeps/x86_64/multiarch/init-arch.h
55811         (bit_YMM_Usable): Rename to...
55812         (bit_AVX_Usable): ... this.
55813         (bit_FMA4_Usable): New macro.
55814         (bit_XMM_state): New macro.
55815         (bit_YMM_state): New macro.
55816         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55817         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55818         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55819         (CPUID_OSXSAVE): New macro.
55820         (CPUID_AVX): New macro.
55821         (CPUID_FMA4): New macro.
55822         (index_YMM_Usable): Rename to...
55823         (index_AVX_Usable): ... this.
55824         (HAS_AVX): Use HAS_ARCH_FEATURE.
55825         (HAS_FMA4): Likewise.
55826         (HAS_YMM_USABLE): Remove.
55827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55828         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55829         are present.
55830         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55831         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55832         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55833         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55834         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55836 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55838         * math/libm-test.c: Support platforms without multiple rounding modes.
55839         * math/bug-nextafter.c: Support platforms without FP exceptions.
55840         * math/bug-nexttoward.c: Likewise.
55841         * math/test-fenv.c: Likewise.
55842         * math/test-misc.c: Likewise.
55843         * stdlib/bug-getcontext.c: Likewise.
55845 2012-05-17  Andreas Jaeger  <aj@suse.de>
55847         * manual/examples/search.c (critter_cmp): Change signature to
55848         avoid warnings.
55849         * manual/string.texi (Collation Functions): Likewise.
55851 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55853         * bits/types.h: Fold copyright years.
55854         * bits/typesizes.h: Likewise.
55855         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55856         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55858         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55859         * time/time.h: Likewise.
55861 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55863         [BZ #208]
55864         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55865         in instead of returning them.  Return void.
55866         (__libc_mallinfo): Accumulate over all arenas.
55867         (__malloc_stats): Adjust for change in int_mallinfo interface.
55869 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55871         [BZ #10375]
55872         * configure.in (NM): Add AC_CHECK_TOOL for it.
55873         (libc_extra_cflags): New substituted variable.
55874         Check for -fstack-protector being used implicitly.
55875         * configure: Regenerated.
55876         * config.make.in (config-extra-cflags): New variable,
55877         gets @libc_extra_cflags@.
55878         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
55880         [BZ #10375]
55881         * configure.in: Check for _FORTIFY_SOURCE being predefined.
55882         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
55883         * configure: Regenerated.
55884         * config.make.in (CPPUNDEFS): New substituted variable.
55885         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
55886         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
55887         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
55889 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55891         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
55892         (mq_attr): Use __syscall_slong_t.
55894 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55896         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
55897         Check __x86_64__ instead of __WORDSIZE.
55898         (_STAT_VER_LINUX): Likewise.
55899         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
55900         __syscall_ulong_t and __syscall_slong_t.
55901         (stat64): Likewise.
55903 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55905         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
55907 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55909         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
55911 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55913         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
55914         __syscall_ulong_t.
55916         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
55917         include <bits/wordsize.h>.  Check __x86_64__ instead of
55918         __WORDSIZE.
55919         (greg_t): Use "__extension__ long long int" if __x86_64__ is
55920         defined.
55921         (mcontext_t): Replace "unsigned long" with "unsigned long long".
55923         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
55924         include <bits/wordsize.h>.  Check __x86_64__ instead of
55925         __WORDSIZE.
55926         (user_regs_struct): Use "__extension__ unsigned long long"
55927         instead of "unsigned long" if __x86_64__ is defined.
55928         (user): Likewise.  Pad after pointer field if __ILP32__ is
55929         defined.
55931 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
55933         * configure.in (makeinfo): Require version 4.5 or later.  Allow
55934         versions 5 to 9.
55935         * configure: Regenerated.
55936         * manual/install.texi (texinfo): Increase version requirement to
55937         4.5 or later.
55938         * INSTALL: Regenerated.
55940         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
55942 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55944         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
55946         * sysdeps/x86_64/x32/ffs.c: New file.
55948         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
55949         __syscall_ulong_t.
55950         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
55951         defined.  Use __syscall_ulong_t.
55952         (shminfo): Use __syscall_ulong_t.
55953         (shm_info): Likewise.
55955         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
55956         __syscall_ulong_t.
55958         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
55959         <bits/wordsize.h>.
55960         (msgqnum_t): Use __syscall_ulong_t.
55961         (msglen_t): Likewise.
55962         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
55963         __syscall_ulong_t.
55965         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
55966         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55968         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
55970         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
55971         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
55973         * sysvipc/sys/msg.h (msgbuf): Replace long int with
55974         __syscall_slong_t.
55976         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
55977         include <bits/wordsize.h>.  Check __x86_64__ instead of
55978         __WORDSIZE.
55980         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
55981         "unsigned long long int" if __x86_64__ is defined.
55982         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
55984         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
55985         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55986         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
55988         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
55989         <stdint.h>.
55990         (GET_PC): Cast to uintptr_t first.
55991         (GET_FRAME): Likewise.
55992         (GET_STACK): Likewise.
55994         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
55995         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
55996         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
55997         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
55998         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
55999         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56000         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56001         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56002         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56003         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56004         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56005         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56006         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56007         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56008         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56009         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56010         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56011         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56012         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56013         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56014         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56015         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56016         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56017         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56018         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56019         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56020         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56021         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56022         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56024 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56026         * Makerules (+depfiles): Also collect depfiles from .oS in
56027         $(extra-objs).
56028         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56029         .oS, $(libnldbl-routines)).
56031         * Makerules (native-compile-mkdep-flags): Define.
56032         * sunrpc/Makefile (extra-objs): Add $(addprefix
56033         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56034         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56035         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56036         calling $(make-target-directory).
56038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56040         * bits/types.h (__snseconds_t): Removed.
56041         * time/time.h (struct timespec): Replace __snseconds_t with
56042         __syscall_slong_t.
56043         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56044         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56045         Likewise.
56046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56047         (__SNSECONDS_T_TYPE): Likewise.
56048         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56049         (__SNSECONDS_T_TYPE): Likewise.
56050         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56051         (__SNSECONDS_T_TYPE): Likewise.
56053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56055         * sysdeps/mach/hurd/bits/typesizes.h
56056         (__SYSCALL_SLONG_TYPE): New macro.
56057         (__SYSCALL_ULONG_TYPE): Likewise.
56059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56061         * bits/types.h (__syscall_slong_t): New type.
56062         (__syscall_ulong_t): Likewise.
56064         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56065         (__SYSCALL_ULONG_TYPE): Likewise.
56066         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56067         (__SYSCALL_SLONG_TYPE): Likewise.
56068         (__SYSCALL_ULONG_TYPE): Likewise.
56069         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56070         (__SYSCALL_SLONG_TYPE): Likewise.
56071         (__SYSCALL_ULONG_TYPE): Likewise.
56072         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56073         (__SYSCALL_SLONG_TYPE): Likewise.
56074         (__SYSCALL_ULONG_TYPE): Likewise.
56076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56078         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56079         Add sigaltstack-offsets.sym.
56080         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56081         <sigaltstack-offsets.h>.
56082         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56083         longjmp_msg pointer.
56084         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56085         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56086         signal stack.
56087         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56089 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56091         * elf/stackguard-macros.h: Remove file.
56092         * sysdeps/generic/stackguard-macros.h: New file.
56093         * sysdeps/i386/stackguard-macros.h: Likewise.
56094         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56095         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56096         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56097         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56098         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56099         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56100         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56101         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56102         <elf/stackguard-macros.h>.
56104         [BZ #14109]
56105         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56106         __aligned__ in attribute.
56107         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56108         (gregset_t): Likewise.
56110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56112         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56113         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56114         * sysdeps/x86_64/x32/Implies-after: New file.
56116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56118         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56119         and access return value for _dl_profile_fixup.  Use R10_LP to
56120         load frame size.
56122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56124         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56128         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56129         * sysdeps/x86_64/x32/sysdep.h: New file.
56131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56133         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56134         * sysdeps/x86_64/setjmp.S: Likewise.
56136 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56138         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56139         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56140         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56141         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56142         remove unused global constant.
56144 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56146         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56147         include of <not-cancel.h>.
56149 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56151         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56153 2012-05-15  Jeff Law  <law@redhat.com>
56154             Andreas Jaeger  <aj@suse.de>
56156         [BZ #13594]
56157         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56158         out from...
56159         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56160         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56161         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56162         code changing __hst_map_handle.map.
56164 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56166         * configure.in (sysnames): Look for Implies-before and Implies-after
56167         files.
56168         * configure: Regenerated.
56170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56172         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56173         8-byte data alignment with LP_SIZE alignment.
56175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56177         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56178         into R10_LP.
56180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56182         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56186         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56187         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56188         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56189         Likewise.
56190         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56194         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56195         (stackinfo_sub_sp): Likewise.
56197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56199         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56200         RAX_LP.
56202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56204         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56205         into R*_LP.
56207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56209         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56210         sizes into R*_LP.
56212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56214         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56218         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56219         into R11_LP and load __x86_64_shared_cache_size_half into
56220         R8_LP.
56222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56224         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56225         R8_LP.
56227 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56229         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56230         logb for POWER7.
56231         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56232         logbf for POWER7.
56233         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56234         logbl for POWER7.
56235         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56236         powerpc32/power7/fpu/s_logb.c via #include.
56237         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56238         powerpc32/power7/fpu/s_logbf.c via #include.
56239         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56240         powerpc32/power7/fpu/s_logbl.c via #include.
56242 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56244         * README.libm: Remove file.
56246 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56248         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56249         count for x32.  Use R*_LP and omit operand-size suffix.
56251 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56253         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56254         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56255         * sysdeps/x86_64/x32/shlib-versions: New file.
56257 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56259         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56260         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56261         Use _dl_fatal_printf instead.
56263 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56265         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56266         set if not set by the user.  Do not allow for being unset.
56267         * sysdeps/unix/sysv/linux/configure: Regenerated.
56269 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56271         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56272         the `q' suffix from lea and replace .quad with ASM_ADDR.
56274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56277         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56278         instead of $17.
56279         (PTR_DEMANGLE): Likewise.
56281 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56283         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56284         (LP_OP): Likewise.
56285         (ASM_ADDR): Likewise.
56286         (RAX_LP): Likewise.
56287         (RBP_LP): Likewise.
56288         (RBX_LP): Likewise.
56289         (RCX_LP): Likewise.
56290         (RDI_LP): Likewise.
56291         (RSI_LP): Likewise.
56292         (RSP_LP): Likewise.
56293         (R8_LP): Likewise.
56294         (R9_LP): Likewise.
56295         (R10_LP): Likewise.
56296         (R10_LP): Likewise.
56297         (R11_LP): Likewise.
56298         (R12_LP): Likewise.
56299         (R13_LP): Likewise.
56300         (R14_LP): Likewise.
56301         (R15_LP): Likewise.
56303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56305         * sysdeps/x86_64/x32/dl-machine.h: New file.
56307 2012-05-14  Andreas Jaeger  <aj@suse.de>
56309         * manual/Makefile (subdir): Remove export of subdir.
56310         (all): Remove target.
56311         (.PHONY): Remove all from list.
56312         (mkinstalldirs): Remove.
56313         (.PHONY): Remove installdirs from list.
56314         ($(inst_infodir)/libc.info): Use make-target-directory.
56315         (installdirs): Remove.
56316         (subdir_%): Remove.
56317         (glibc-targets): Remove.
56318         (lib): Remove.
56319         (stubs): Remove.
56320         ($(objpfx)stubs ../po/manual.pot): Remove.
56321         ($(objpfx)stamp%): Remove.
56322         (make-target-directory): Remove.
56323         (subdir_install): Remove.
56324         (routines): Remove.
56325         (aux): Remove.
56326         (sources): Remove.
56327         (objects): Remove.
56328         (headers): Remove.
56330         [BZ #13750]
56331         * manual/.gitignore: Remove, it's not needed anymore.
56332         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56333         all files in it.
56334         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56335         directory.
56336         (texis): Renamed to $(objpfx)texis.
56337         (texis-path): New, contains path to generated files.
56338         (chapters.%): Use texis-path for complete path, add extra argument
56339         libc-texinfo.sh.
56340         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56341         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56342         (summary,texi, stamp-summary): Use complete path of
56343         files. Generate files in build dir.
56344         (dir-add.texi): Build in build dir.
56345         (libm-err.texi,stamp-libm-err): Likewise.
56346         (version.texi, stamp-version): Likewise.
56347         (.%c.texi): Likewise.
56348         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56349         (mostlyclean): Remove target.
56350         (realclean): Remove target.
56351         (generated): Add new variable with contents from mostlyclean and
56352         realclean, remove entries duplicated in common-mostlyclean, add
56353         stamp-libm-err and stamp-version.
56354         (generated-dirs): Add libc directory.
56355         ($(inst_infodir)/libc.info): Install files from build dir.
56357         * manual/install.texi (Configuring and compiling): Adjust since
56358         the info files are not part of the tar ball anymore.
56360 2012-05-14  Andreas Jaeger  <aj@suse.de>
56362         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56363         variable.
56365 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56367         [BZ #13717]
56368         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56369         to 2.2.0 where earlier.
56370         * sysdeps/unix/sysv/linux/configure: Regenerated.
56371         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56372         Remove conditional code.
56373         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56374         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56375         Remove conditional code.
56376         [!__NR_lchown]: Likewise.
56377         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56378         [__NR_lchown]: Likewise.
56379         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56380         comment referencing __ASSUME_LCHOWN_SYSCALL.
56381         * sysdeps/unix/sysv/linux/i386/sigaction.c
56382         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56383         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56384         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56385         Remove conditional code.
56386         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56387         (__protocol_available): Remove #if 0 code.
56388         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56389         conditional code.
56390         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56391         * sysdeps/unix/sysv/linux/kernel-features.h
56392         (__ASSUME_GETCWD_SYSCALL): Don't define.
56393         (__ASSUME_REALTIME_SIGNALS): Likewise.
56394         (__ASSUME_PREAD_SYSCALL): Likewise.
56395         (__ASSUME_PWRITE_SYSCALL): Likewise.
56396         (__ASSUME_POLL_SYSCALL): Likewise.
56397         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56398         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56399         non-SPARC.
56400         (__ASSUME_SIOCGIFNAME): Don't define.
56401         (__ASSUME_MSG_NOSIGNAL): Likewise.
56402         (__ASSUME_SENDFILE): Define unconditionally.
56403         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56404         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56405         conditional code.
56406         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56407         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56408         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56409         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56410         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56411         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56412         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56414         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56415         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56417         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56418         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56420         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56421         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56423         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56426         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56427         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56429         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56430         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56432         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56433         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56435         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56437         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56438         Remove conditional code.
56439         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56440         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56441         Remove conditional code.
56442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56443         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56444         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56445         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56446         Remove conditional code.
56447         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56448         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56449         Remove conditional code.
56450         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56451         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56452         Remove conditional code.
56453         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56454         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56455         Remove conditional code.
56456         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56457         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56458         Remove conditional code.
56459         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56460         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56461         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56462         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56463         * sysdeps/unix/sysv/linux/sigaction.c
56464         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56465         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56466         * sysdeps/unix/sysv/linux/sigpending.c
56467         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56468         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56469         * sysdeps/unix/sysv/linux/sigprocmask.c
56470         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56471         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56472         * sysdeps/unix/sysv/linux/sigsuspend.c
56473         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56474         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56475         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56476         (__libc_missing_rt_sigs): Remove.
56477         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56478         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56479         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56480         Remove conditional code.
56481         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56482         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56483         return 1.
56484         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56485         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56486         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56487         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56489 2012-05-14  Andreas Jaeger  <aj@suse.de>
56491         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56492         it's not used in glibc.
56493         (__coshm1): Likewise.
56494         (__acosh1p): Likewise.
56495         (__sgn): Likewise.
56497         * manual/string.texi (Copying and Concatenation): Add missing
56498         variable in concat example.
56499         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56503         [BZ #14103]
56504         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56505         __builtin_clzl with __builtin_clzll.
56507 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56509         [BZ #14104]
56510         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56511         libc_freeres_ptr.
56513 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56515         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56516         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56517         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56518         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56520 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56522         * NEWS: Update ia64 info.
56524 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56526         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56527         used as bcopy.
56529 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56531         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56532         * sysdeps/unix/syscalls.list (dup3): Likewise.
56533         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56534         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56536 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56538         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56539         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56541 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56543         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56544         thread pointer.
56545         (TLS_IE): Use mov/add instead of movq/addq to load thread
56546         pointer.
56547         (TLS_GD_PREFIX): New.
56548         (TLS_GD): Use it.
56550 2012-05-11  David S. Miller  <davem@davemloft.net>
56552         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56553         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56554         (_FPU_SETCW): Likewise.
56556 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56558         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56559         is 32-byte aligned.
56561 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56563         [BZ #11837]
56564         * iconvdata/gb18030.c: Update tables.
56565         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56566         characters specially.
56567         (BODY for TO_LOOP): Add encoding of missing ranges.
56569 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56571         [BZ #13673]
56572         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56573         * sysdeps/mach/hurd/dup3.c: Likewise.
56574         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56575         * sysdeps/powerpc/memmove.c:: Likewise.
56577 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56579         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56580         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56582 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56584         * elf/elf.h (R_X86_64_RELATIVE64): New.
56585         (R_X86_64_NUM): Updated.
56586         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56587         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56588         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56589         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56590         tst-quad1pie tst-quad2pie
56591         (modules-names): Add tst-quadmod1 tst-quadmod2.
56592         ($(objpfx)tst-quad1): New dependency.
56593         ($(objpfx)tst-quad2): Likewise.
56594         ($(objpfx)tst-quad1pie): Likewise.
56595         ($(objpfx)tst-quad2pie): Likewise.
56596         * sysdeps/x86_64/tst-quad1.c: New file.
56597         * sysdeps/x86_64/tst-quad1pie.c: New file.
56598         * sysdeps/x86_64/tst-quad2.c: Likewise.
56599         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56600         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56601         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56602         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56603         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56607         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56608         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56609         * streams/stropts.h (t_scalar_t): Define type.
56611         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56612         (_PATH_PRESERVE): Set to "/var/lib".
56613         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56615         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56616         instead of int.
56618         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56619         if __dir_mkfile succeeded.
56621         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56622         checking for _hurd_dtablesize.  Unlock it right after having
56623         finished _hurd_dtable allocation.
56625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56627         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56628         * sysdeps/mach/hurd/configure: Regenerated.
56629         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56630         special-casing to...
56631         * sysdeps/gnu/configure.in: ... this new file.
56632         * sysdeps/unix/sysv/linux/configure: Regenerated.
56633         * sysdeps/gnu/configure: New generated file.
56635         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56636         for Linux: use nsec instead of usec, as well as:
56637         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56638         members of type struct timespec.
56639         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56640         New macros.
56641         (struct stat64): Likewise.
56642         (_STATBUF_ST_NSEC): New macro.
56643         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56645         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56646         __strtoul_internal rather than strtoul.
56648 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56650         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56651         and reject them.
56653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56655         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56656         which preserves existing values.
56657         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56659 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56661         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56662         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56663         greater than FD_SETSIZE.
56665 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56667         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56668         allocated, call __vm_protect to finish enabling the existing space, and
56669         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56670         allocate the remainder.
56672 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56674         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56675         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56677 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56679         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56680         sysdeps/mach/hurd/readlink.c.
56682         * posix/tst-sysconf.c (posix_options): Only use
56683         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56684         _POSIX_SYNCHRONIZED_IO when they are defined
56685         * sysdeps/mach/hurd/bits/posix_opt.h:
56686         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56687         (_XOPEN_REALTIME): Undefine macro.
56688         (_XOPEN_REALTIME_THREADS): Undefine macro.
56689         (_XOPEN_SHM): Undefine macro.
56690         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56691         macro to -1.
56692         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56693         macro to -1.
56694         (_POSIX_ASYNC_IO): Undefine macro.
56695         (_POSIX_PRIORITIZED_IO): Undefine macro.
56696         (_POSIX_SPIN_LOCKS): Define macro to -1.
56698         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56699         SA_NODEFER, SA_RESETHAND.
56700         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56701         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56702         F_DUPFD_CLOEXEC.
56704 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56706         * elf/Makefile (pldd-modules): Define unconditionally.
56708 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56710         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56714         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56715         Return ENOENT when name is empty.
56716         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56718 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56720         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56722         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56726         Fix mlock in all cases except non-readable pages.
56727         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56728         instead of VM_PROT_ALL as parameter to __vm_wire function.
56730         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56731         (__mkdir): When path is `/', just fail with EEXIST.
56732         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56736         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56737         <sys/uio.h> (for writev).
56738         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56739         and <sys/param.h> (for MIN).
56741 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56743         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56744         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56745         if interrupted.
56747 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56749         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56750         Depend on against $(link-rpcuserlibs).
56752 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56754         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56755         (__libc_stack_end): Do not use attribute_relro.
56756         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56757         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56758         to libthread-provided value.
56759         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56760         attribute_relro.
56762 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56764         [BZ #3748]
56765         * bits/libc-lock.h (__libc_once_get): New macro.
56766         * sysdeps/mach/bits/libc-lock.h: Likewise.
56767         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56768         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56769         instead of using implementation details.
56771         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56772         * libio/freopen.c: Likewise.
56773         * libio/freopen64.c: Likewise.
56774         * misc/syslog.c: Likewise.
56775         * nscd/connections.c: Likewise.
56776         * nscd/netgroupcache.c: Likewise.
56777         * sysdeps/posix/getcwd.c: Likewise.
56779 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56781         * math/w_ilogbf.c: Add #include <limits.h>.
56783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56785         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56786         path instead of returning without unlocking.
56788         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56789         immediate-write ioctls.
56790         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56794         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56795         __builtin_frame_address instead of making assumptions about the
56796         location of the return address relative to DATA.  Force early load of
56797         the return address.
56798         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56799         __builtin_frame_address.
56801         dup3 for GNU Hurd.
56802         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56803         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56804         implement dup3 and do some further code clean-ups.
56805         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56806         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56808 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56810         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56812         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56813         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56814         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56815         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56816         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56817         d->port.lock.
56819         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56820         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56821         when handler == SIG_ERR, not when handler != SIG_ERR.
56823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56825         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56826         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56827         definitions.
56829         accept4 for GNU Hurd.
56830         * include/sys/socket.h (__libc_accept4): New prototype.
56831         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56832         to implement __libc_accept4.
56833         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56834         __libc_accept4.
56835         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56837         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56838         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56839         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56840         signal-defines.sym.
56842 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56844         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56848         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56849         assertion on O_CLOEXEC flag.
56850         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56851         * hurd/intern-fd.c: Likewise.
56852         * hurd/port2fd.c: Likewise.
56854 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56856         [BZ #3906]
56857         * bits/in.h (IPV6_PKTINFO): Define new macro.
56858         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56860 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56862         [BZ #13954]
56863         [BZ #13955]
56864         [BZ #13956]
56865         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56866         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56867         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56868         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56869         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56870         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56871         * math/libm-test.inc (logb_test) : Additional logb tests.
56873 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56874             Andreas Jaeger  <aj@suse.de>
56876         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56877         * configure: Regenerated.
56878         * config.h.in (LINK_OBSOLETE_RPC): New macro.
56879         * config.make.in (link-obsolete-rpc): New substituted variable.
56880         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
56881         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56882         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56883         (shared-only-routines): Don't set it under [link-obsolete-rpc],
56884         so that libc.a contains the symbols.
56885         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56886         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
56887         * sunrpc/auth_none.c: Likewise.
56888         * sunrpc/auth_unix.c: Likewise.
56889         * sunrpc/authdes_prot.c: Likewise.
56890         * sunrpc/authuxprot.c: Likewise.
56891         * sunrpc/clnt_gen.c: Likewise.
56892         * sunrpc/clnt_perr.c: Likewise.
56893         * sunrpc/clnt_raw.c: Likewise.
56894         * sunrpc/clnt_simp.c: Likewise.
56895         * sunrpc/clnt_tcp.c: Likewise.
56896         * sunrpc/clnt_udp.c: Likewise.
56897         * sunrpc/clnt_unix.c: Likewise.
56898         * sunrpc/des_crypt.c: Likewise.
56899         * sunrpc/des_soft.c: Likewise.
56900         * sunrpc/get_myaddr.c: Likewise.
56901         * sunrpc/key_call.c: Likewise.
56902         * sunrpc/key_prot.c: Likewise.
56903         * sunrpc/netname.c: Likewise.
56904         * sunrpc/pm_getmaps.c: Likewise.
56905         * sunrpc/pm_getport.c: Likewise.
56906         * sunrpc/pmap_clnt.c: Likewise.
56907         * sunrpc/pmap_prot.c: Likewise.
56908         * sunrpc/pmap_prot2.c: Likewise.
56909         * sunrpc/pmap_rmt.c: Likewise.
56910         * sunrpc/publickey.c: Likewise.
56911         * sunrpc/rpc_cmsg.c: Likewise.
56912         * sunrpc/rpc_common.c: Likewise.
56913         * sunrpc/rpc_dtable.c: Likewise.
56914         * sunrpc/rpc_prot.c: Likewise.
56915         * sunrpc/rpc_thread.c: Likewise.
56916         * sunrpc/rtime.c: Likewise.
56917         * sunrpc/svc.c: Likewise.
56918         * sunrpc/svc_auth.c: Likewise.
56919         * sunrpc/svc_raw.c: Likewise.
56920         * sunrpc/svc_run.c: Likewise.
56921         * sunrpc/svc_tcp.c: Likewise.
56922         * sunrpc/svc_udp.c: Likewise.
56923         * sunrpc/svc_unix.c: Likewise.
56924         * sunrpc/svcauth_des.c: Likewise.
56925         * sunrpc/xcrypt.c: Likewise.
56926         * sunrpc/xdr.c: Likewise.
56927         * sunrpc/xdr_array.c: Likewise.
56928         * sunrpc/xdr_float.c: Likewise.
56929         * sunrpc/xdr_intXX_t.c: Likewise.
56930         * sunrpc/xdr_mem.c: Likewise.
56931         * sunrpc/xdr_rec.c: Likewise.
56932         * sunrpc/xdr_ref.c: Likewise.
56933         * sunrpc/xdr_sizeof.c: Likewise.
56934         * sunrpc/xdr_stdio.c: Likewise.
56936 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56938         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
56939         change.  Update copyright years.
56941 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56943         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
56945 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
56946             Joseph Myers  <joseph@codesourcery.com>
56947             Paul Pluzhnikov  <ppluzhnikov@google.com>
56949         [BZ #14012]
56950         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
56951         requiring rpcgen.
56952         [cross-compiling] (extra-libs): Likewise.
56953         [cross-compiling] (extra-libs-others): Likewise.
56954         [cross-compiling] (librpcsvc-routines): Likewise.
56955         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
56956         [cross-compiling] (omit-deps): Likewise.
56957         (sunrpc-CPPFLAGS): New variable.
56958         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
56959         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
56960         (cross-rpcgen-objs): New variable.
56961         (extra-objs): Append $(cross-rpcgen-objs).
56962         ($(cross-rpcgen-objs)): New rule.
56963         ($(objpfx)cross-rpcgen): Likewise.
56964         (rpcgen-cmd): Define to use $(built-program-file).  Expand
56965         comment.
56966         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
56967         ($(objpfx)x%.stmp): Likewise.
56968         * sunrpc/proto.h [IS_IN_build] (_): Define.
56969         [IS_IN_build] (_libc_intl_domainname): Likewise.
56971 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56973         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
56974         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
56975         and R_X86_64_TPOFF64.
56977 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56979         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
56980         sysdeps/unix/sysv/syscalls.list.
56981         (stime): Likewise.
56982         (utime): Likewise.
56983         * sysdeps/unix/sysv/syscalls.list: Remove file.
56985 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
56987         [BZ #3440]
56988         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
56989         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
56990         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
56991         (__LC_IDENTIFICATION): Make these macros useful in #if
56992         expressions, as required by C99.
56994 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
56996         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
56997         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
56998         after this.
57000 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57002         * stdlib/longlong.h: Updated from GCC.
57004 2012-05-09  Andreas Jaeger  <aj@suse.de>
57006         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57007         default is first entry.
57008         (run_mode): Set type.
57009         (main): Remove informal message about syslog.
57010         (options): Fix typo.
57012         [BZ #14053]
57013         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57014         to asm.
57015         (lrint): Likewise.
57016         (llrintf): Likewise.
57017         (llrint): Likewise.
57018         (rint): Likewise.
57019         (rintf): Likewise.
57020         (nearbyint): Likewise.
57021         (nearbyintf): Likewise.
57023 2012-05-09  Andreas Jaeger  <aj@suse.de>
57024             Pedro Alves  <palves@redhat.com>
57026         * nscd/nscd.c (run_mode): Use enum.
57027         (main): Cleanup coding style issue.
57029 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57030             Andreas Jaeger  <aj@suse.de>
57032         * nscd/nscd.c (go_background): Replaced with...
57033         (run_mode): ... this.
57034         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57035         (options): Add -F --foreground.
57036         (main): Implement it.
57037         (parse_opt): Parse it.
57039 2012-05-09  Andreas Jaeger  <aj@suse.de>
57041         [BZ #14083]
57042         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57043         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57044         -Wconversion warning.
57045         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57046         Likewise.
57048 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57050         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57051         == 0.
57052         (LC_ALL): Use macro-int-constant.
57053         (LC_COLLATE): Likewise.
57054         (LC_CTYPE): Likewise.
57055         (LC_MESSAGES): Likewise.
57056         (LC_MONETARY): Likewise.
57057         (LC_NUMERIC): Likewise.
57058         (LC_TIME): Likewise.
57059         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57060         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57061         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57062         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57063         Specify type.
57064         [C99-based standards] (float_t): Expect type.
57065         [C99-based standards] (double_t): Expect type.
57066         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57067         type.
57068         [C99-based standards] (HUGE_VALL): Likewise.
57069         [C99-based standards] (INFINITY): Likewise.
57070         [C99-based standards] (NAN): Likewise.
57071         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57072         [C99-based standards] (FP_NAN): Likewise.
57073         [C99-based standards] (FP_NORMAL): Likewise.
57074         [C99-based standards] (FP_SUBNORMAL): Likewise.
57075         [C99-based standards] (FP_ZERO): Likewise.
57076         [C99-based standards] (FP_FAST_FMA): Use
57077         optional-macro-int-constant.  Specify type.  Require == 1.
57078         [C99-based standards] (FP_FAST_FMAF): Likewise.
57079         [C99-based standards] (FP_FAST_FMAL): Likewise.
57080         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57081         [C99-based standards] (FP_ILOGBNAN): Likewise.
57082         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57083         Specify type.
57084         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57085         [C99-based standards] (math_errhandling): Specify type.
57086         [ISO99 || ISO11] (signgam): Do not allow.
57087         [non-C99-based standards] (copysignf): Do not allow.
57088         [non-C99-based standards] (exp2f): Likewise.
57089         [non-C99-based standards] (log2f): Likewise.
57090         [non-C99-based standards] (modff): Allow.
57091         [non-C99-based standards] (erff): Do not allow.
57092         [non-C99-based standards] (erfcf): Likewise.
57093         [non-C99-based standards] (gammaf): Likewise.
57094         [non-C99-based standards] (hypotf): Likewise.
57095         [non-C99-based standards] (j0f): Likewise.
57096         [non-C99-based standards] (j1f): Likewise.
57097         [non-C99-based standards] (jnf): Likewise.
57098         [non-C99-based standards] (lgammaf): Likewise.
57099         [non-C99-based standards] (tgammaf): Likewise.
57100         [non-C99-based standards] (y0f): Likewise.
57101         [non-C99-based standards] (y1f): Likewise.
57102         [non-C99-based standards] (ynf): Likewise.
57103         [non-C99-based standards] (isnanf): Likewise.
57104         [non-C99-based standards] (acoshf): Likewise.
57105         [non-C99-based standards] (asinhf): Likewise.
57106         [non-C99-based standards] (atanhf): Likewise.
57107         [non-C99-based standards] (cbrtf): Likewise.
57108         [non-C99-based standards] (expm1f): Likewise.
57109         [non-C99-based standards] (ilogbf): Likewise.
57110         [non-C99-based standards] (log1pf): Likewise.
57111         [non-C99-based standards] (logbf): Likewise.
57112         [non-C99-based standards] (nextafterf): Likewise.
57113         [non-C99-based standards] (remainderf): Likewise.
57114         [non-C99-based standards] (rintf): Likewise.
57115         [non-C99-based standards] (scalbf): Likewise.
57116         [non-C99-based standards] (copysignl): Likewise.
57117         [non-C99-based standards] (exp2l): Likewise.
57118         [non-C99-based standards] (log2l): Likewise.
57119         [non-C99-based standards] (modfl): Allow.
57120         [non-C99-based standards] (erfl): Do not allow.
57121         [non-C99-based standards] (erfcl): Likewise.
57122         [non-C99-based standards] (gammal): Likewise.
57123         [non-C99-based standards] (hypotl): Likewise.
57124         [non-C99-based standards] (j0l): Likewise.
57125         [non-C99-based standards] (j1l): Likewise.
57126         [non-C99-based standards] (jnl): Likewise.
57127         [non-C99-based standards] (lgammal): Likewise.
57128         [non-C99-based standards] (tgammal): Likewise.
57129         [non-C99-based standards] (y0l): Likewise.
57130         [non-C99-based standards] (y1l): Likewise.
57131         [non-C99-based standards] (ynl): Likewise.
57132         [non-C99-based standards] (isnanl): Likewise.
57133         [non-C99-based standards] (acoshl): Likewise.
57134         [non-C99-based standards] (asinhl): Likewise.
57135         [non-C99-based standards] (atanhl): Likewise.
57136         [non-C99-based standards] (cbrtl): Likewise.
57137         [non-C99-based standards] (expm1l): Likewise.
57138         [non-C99-based standards] (ilogbl): Likewise.
57139         [non-C99-based standards] (log1pl): Likewise.
57140         [non-C99-based standards] (logbl): Likewise.
57141         [non-C99-based standards] (nextafterl): Likewise.
57142         [non-C99-based standards] (remainderl): Likewise.
57143         [non-C99-based standards] (rintl): Likewise.
57144         [non-C99-based standards] (scalbl): Likewise.
57145         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57146         [non-C99-based standards] (FP_*): Do not allow.
57147         [C99-based standards] (FP_*): Change to
57148         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57149         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57150         allow.
57151         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57152         (SIG_ERR): Likewise.
57153         [X/Open-based standards] (SIG_HOLD): Likewise.
57154         (SIG_IGN): Likewise.
57155         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57156         positive value.
57157         (SIGFPE): Likewise.
57158         (SIGILL): Likewise.
57159         (SIGINT): Likewise.
57160         (SIGSEGV): Likewise.
57161         (SIGTER): Likewise.
57162         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57163         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57164         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57165         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57166         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57167         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57168         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57169         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57170         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57171         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57172         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57173         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57174         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57175         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57176         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57177         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57178         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57179         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57180         [X/Open-based standards] (SIGTRAP): Likewise.
57181         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57182         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57183         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57184         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57185         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57186         allow.
57188 2012-05-08  Ian Wienand  <ianw@vmware.com>
57190         [BZ #14080]
57191         * time/tzset.c (__tzset_parse_tz): Update default rules for
57192         daylight time changes in the Energy Policy Act of 2005.
57194 2012-05-09  Andreas Jaeger  <aj@suse.de>
57196         [BZ #13983]
57197         * elf/ldconfig.c (parse_conf): Change string to make clear that
57198         ldconfig only issued a warning if ld.so.conf does not exist.
57200 2012-05-08  David S. Miller  <davem@davemloft.net>
57202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57203         movxtod instead of popping the value on the stack.
57205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57207 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57209         * config.h.in: Add HAVE_ARM_PCS_VFP.
57211 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57213         [BZ #13979]
57214         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57215         checking but the checks are disabled for any reason.
57217 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57219         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57220         and ELF64_R_TYPE with ELFW(R_TYPE).
57222 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57224         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57225         (ulimit): Likewise.
57227         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57228         (settimeofday): Likewise.
57230 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57232         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57233         a struct th_u2 inside the union, and move tu_block/tu_code into
57234         a new th_u3 union of tu_block/tu_code inside of that.  Move
57235         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57236         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57237         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57238         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57239         (th_stuff): Change to th_u1.tu_stuff.
57240         (th_data): Define.
57241         (th_msg): Change to th_u1.th_u2.tu_data.
57243 2012-05-07  David S. Miller  <davem@davemloft.net>
57245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57247         [BZ #14074]
57248         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57249         (SETUP_PIC_REG): Use it.
57250         (SETUP_PIC_REG_LEAF): Use it.
57252 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57254         [BZ #13885]
57255         [BZ #13923]
57256         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57257         USE_AS_EXPM1L.
57258         (EXPL_FINITE): Likewise.
57259         (FLDLOG): Likewise.
57260         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57261         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57262         e_expl.S.
57263         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57264         USE_AS_EXPM1L.
57265         (EXPL_FINITE): Likewise.
57266         (FLDLOG): Likewise.
57267         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57268         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57269         e_expl.S.
57270         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57271         test of -max_value argument for long double.
57272         * sysdeps/i386/fpu/libm-test-ulps: Update.
57273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57275 2012-05-06  David S. Miller  <davem@davemloft.net>
57277         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57278         quad soft-float symbols whose references which are compiler
57279         generated.
57280         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57282 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57284         [BZ #13884]
57285         [BZ #13914]
57286         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57287         USE_AS_EXP10L.
57288         (EXPL_FINITE): Likewise.
57289         (FLDLOG): Likewise.
57290         (c0): Likewise.
57291         (c1): Likewise.
57292         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57293         Adjust comments for base varying.
57294         (__expl_finite): Change alias to EXPL_FINITE.
57295         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57296         e_expl.S.
57297         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57298         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57299         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57300         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57301         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57302         USE_AS_EXP10L.
57303         (EXPL_FINITE): Likewise.
57304         (FLDLOG): Likewise.
57305         (c0): Likewise.
57306         (c1): Likewise.
57307         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57308         Adjust comments for base varying.
57309         (__expl_finite): Change alias to EXPL_FINITE.
57310         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57311         tests for bugs.
57312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57314         [BZ #14064]
57315         * math/libm-test.inc (check_float_internal): Correct ulp
57316         calculation for subnormal expected results.
57318 2012-05-06  Andreas Jaeger  <aj@suse.de>
57320         * Makeconfig (+math-flags): New, set to -frounding-math.
57321         (+cflags): Add +math-flags so that all of glibc gets compiled with
57322         it.
57324         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57326 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57328         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57329         Disable one test.
57331         [BZ #13787]
57332         [BZ #13922]
57333         [BZ #14036]
57334         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57335         (__ieee754_expl): Allow for and saturate large arguments.
57336         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57337         (u_threshold): Likewise.
57338         (__exp): Call __ieee754_exp before checking for overflow and
57339         underflow.
57340         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57341         (u_threshold): Likewise.
57342         (__expf): Call __ieee754_expf before checking for overflow and
57343         underflow.
57344         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57345         (u_threshold): Likewise.
57346         (__expl): Call __ieee754_expl before checking for overflow and
57347         underflow.
57348         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57349         (__ieee754_expl): Allow for and saturate large arguments.
57350         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57351         missing overflow exception on overflow.
57352         (expm1_test): Do not allow missing overflow exception on overflow.
57354         * sysdeps/i386/fpu/e_expl.c: Move to ...
57355         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57356         rather than using inline asm.
57357         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57358         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57359         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57361         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57362         (nice): Likewise.
57363         (poll): Likewise.
57364         (signal): Likewise.
57365         (time): Likewise.
57366         (times): Likewise.
57368 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57370         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57371         sysdeps/unix/common/syscalls.list.
57372         (fchmod): Likewise.
57373         (fchown): Likewise.
57374         (ftruncate): Likewise.
57375         (getrusage): Likewise.
57376         (gettimeofday): Likewise.
57377         (setpgid): Likewise.
57378         (setregid): Likewise.
57379         (setreuid): Likewise.
57380         (sigaction): Likewise.
57381         (truncate): Likewise.
57382         (vhangup): Likewise.
57383         * sysdeps/unix/common/syscalls.list: Remove file.
57384         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57385         * sysdeps/unix/sysv/linux/Implies: Likewise.
57387 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57389         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57391         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57392         Moved to ...
57393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57394         Here.
57395         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57396         to ...
57397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57398         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57399         to ...
57400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57401         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57402         to ...
57403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57404         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57405         to ...
57406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57407         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57408         to ...
57409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57410         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57411         to ...
57412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57413         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57414         to ...
57415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57416         Here.
57417         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57418         to ...
57419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57420         Here.
57421         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57422         to ...
57423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57424         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57425         Moved to ...
57426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57427         Here.
57428         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57429         to ...
57430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57432 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57434         * sysdeps/unix/common/bits/dirent.h: Remove file.
57435         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57437         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57438         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57439         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57440         * sysdeps/unix/bsd/isatty.c: Likewise.
57441         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57442         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57443         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57445 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57447         [BZ #13563]
57448         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57449         long double comparison inaccuracies.
57450         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57453 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57455         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57456         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57458 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57460         [BZ #14049]
57461         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57462         nonzero digits before rounding a hex value.
57463         * stdlib/tst-strtod.c (tests): Add another test.
57465 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57467         * sysdeps/s390/fpu/libm-test-ulps: Update.
57469 2012-05-03  Andreas Jaeger  <aj@suse.de>
57471         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57472         does not get optimized out.
57473         (malloc_opt_barrier): New.
57475 2012-05-03  Andreas Jaeger  <aj@suse.de>
57476             Roland McGrath  <roland@hack.frob.com>
57478         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57479         intermediate file deletion.
57480         (generated): Add .symlist files.
57482 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57484         [BZ #13775]
57485         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57486         Redirect under this condition.
57487         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57488         [__USE_GNU] (__dprintf_chk): Not under this condition.
57489         [__USE_GNU] (__vdprintf_chk): Likewise.
57490         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57491         under this condition.
57492         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57493         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57494         [__USE_XOPEN2K8] (vdprintf): Likewise.
57495         [__USE_GNU] (__dprintf_chk): Not under this condition.
57496         [__USE_GNU] (__vdprintf_chk): Likewise.
57497         [__USE_GNU] (dprintf): Likewise.
57498         [__USE_GNU] (vdprintf): Likewise.
57500 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57502         * elf/Makefile (common-generated): Set this instead of generated for
57503         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57504         $(all-built-dso)-derived lists.
57506 2012-05-03  Andreas Jaeger  <aj@suse.de>
57508         * sysdeps/i386/fpu/libm-test-ulps: Update.
57510         * FAQ: Removed.
57511         * FAQ.in: Likewise.
57512         * scripts/gen-FAQ.pl: Likewise.
57513         * manual/install.texi (Installation): Point to online location of
57514         FAQ.
57515         * Makefile (files-for-dist): Remove FAQ.
57516         (FAQ): Remove.
57518 2012-05-02  Allan McRae  <allan@archlinux.org>
57520         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57521         (LDFLAGS-reldepmod5.so): Likewise.
57522         (LDFLAGS-reldep6mod1.so): Likewise.
57523         (LDFLAGS-reldep6mod4.so): Likewise.
57524         (LDFLAGS-reldep8mod3.so): Likewise.
57525         (LDFLAGS-unload4mod1.so): Likewise.
57526         (LDFLAGS-unload4mod2.so): Likewise.
57527         (LDFLAGS-tst-initorder): Likewise.
57528         (LDFLAGS-tst-initordera2.so): Likewise.
57529         (LDFLAGS-tst-initordera3.so): Likewise.
57530         (LDFLAGS-tst-initordera4.so): Likewise.
57531         (LDFLAGS-tst-initorderb2.so): Likewise.
57532         (LDFLAGS-noload): Likewise.
57533         (LDFLAGS-next): Likewise.
57534         (LDFLAGS-order2mod1.so): Likewise.
57535         (LDFLAGS-order2mod2.so): Likewise.
57536         (LDFLAGS-tst-initorder2): Likewise.
57537         (LDFLAGS-tst-initorder2a.so): Likewise.
57538         (LDFLAGS-tst-initorder2b.so): Likewise.
57539         (LDFLAGS-tst-initorder2c.so): Likewise.
57540         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57542 2012-05-02  David S. Miller  <davem@davemloft.net>
57544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57546 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57548         [BZ #14055]
57549         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57551 2012-05-02  Andreas Jaeger  <aj@suse.de>
57553         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57554         since we manipulate rounding mode.
57555         (CPPFLAGS-test-idouble.c): Likewise.
57556         (CPPFLAGS-test-ifloat.c): Likewise.
57557         (CFLAGS-test-ldouble.c): Likewise.
57558         (CFLAGS-test-double.c): Likewise.
57559         (CFLAGS-test-float.c): Likewise.
57560         (CFLAGS-test-misc.c): Likewise.
57561         (CFLAGS-test-test-fenv.c): Likewise.
57563 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57565         [BZ #2550]
57566         [BZ #2570]
57567         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57568         comparisons to determine direction to adjust input.
57570 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57572         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57573         output to the target.
57575         * scripts/localplt.awk: New file.
57576         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57577         (check-localplt-CFLAGS): Variable removed.
57578         ($(all-built-dso:=.jmprel)): New static pattern rule.
57579         (generated): Add those targets.
57580         (localplt-built-dso): New variable.
57581         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57583         * elf/check-localplt.c: File removed.
57585         * scripts/check-execstack.awk: New file.
57586         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57587         (check-execstack-CFLAGS): Variable removed.
57588         ($(objpfx)check-execstack.h): Target removed.
57589         ($(objpfx)execstack-default): New target.
57590         (generated): Add that instead of check-execstack.h.
57591         ($(all-built-dso:=.phdr)): New static pattern rule.
57592         (generated): Add those targets.
57593         * elf/check-execstack.c: File removed.
57595         * scripts/check-textrel.awk: New file.
57596         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57597         (check-textrel-CFLAGS): Variable removed.
57598         (all-built-dso): Use := to define.o
57599         ($(all-built-dso:=.dyn)): New static pattern rule.
57600         (generated): Add those targets.
57601         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57602         * config.make.in (READELF): New substituted variable.
57603         * elf/check-textrel.c: File removed.
57605 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57607         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57608         allow.
57609         * conform/data/ctype.h-data [C99-based standards] (isblank):
57610         Expect function.
57611         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57612         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57613         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57614         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57615         Specify type.  Require positive value.
57616         (EILSEQ): Likewise.
57617         (ERANGE): Likewise.
57618         [ISO || POSIX] (EILSEQ): Do not expect.
57619         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57620         Specify type.  Require positive value.
57621         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57622         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57623         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57624         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57625         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57626         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57627         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57628         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57629         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57630         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57631         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57632         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57633         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57634         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57635         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57636         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57637         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57638         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57639         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57640         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57641         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57642         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57643         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57644         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57645         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57646         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57647         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57648         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57649         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57650         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57651         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57652         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57653         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57654         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57655         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57656         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57657         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57658         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57659         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57660         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57661         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57662         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57663         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57664         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57665         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57666         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57667         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57668         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57669         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57670         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57671         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57672         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57673         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57674         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57675         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57676         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57677         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57678         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57679         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57680         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57681         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57682         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57683         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57684         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57685         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57686         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57687         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57688         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57689         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57690         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57691         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57692         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57693         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57694         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57695         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57696         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57697         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57698         Require >= 2.
57699         (FLT_ROUNDS): Expect as macro, not constant.
57700         (FLT_MANT_DIG): Use macro-int-constant.
57701         (DBL_MANT_DIG): Likewise.
57702         (LDBL_MANT_DIG): Likewise.
57703         (FLT_DIG): Likewise.
57704         (DBL_DIG): Likewise.
57705         (LDBL_DIG): Likewise.
57706         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57707         (DBL_MIN_EXP): Likewise.
57708         (LDBL_MIN_EXP): Likewise.
57709         (FLT_MAX_EXP): Use macro-int-constant.
57710         (DBL_MAX_EXP): Likewise.
57711         (LDBL_MAX_EXP): Likewise.
57712         (FLT_MAX_10_EXP): Likewise.
57713         (DBL_MAX_10_EXP): Likewise.
57714         (LDBL_MAX_10_EXP): Likewise.
57715         (FLT_MAX): Use macro-constant.
57716         (DBL_MAX): Likewise.
57717         (LDBL_MAX): Likewise.
57718         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57719         (DBL_EPSILON): Likewise.
57720         (LDBL_EPSILON): Likewise.
57721         (FLT_MIN): Likewise.
57722         (DBL_MIN): Likewise.
57723         (LDBL_MIN): Likewise.
57724         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57725         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57726         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57727         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57728         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57729         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57730         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57731         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57732         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57733         [ISO11] (FLT_TRUE_MIN): Likewise.
57734         [ISO11] (LDBL_TRUE_MIN): Likewise.
57735         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57736         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57737         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57738         (SCHAR_MAX): Likewise.
57739         (UCHAR_MAX): Likewise.
57740         (CHAR_MIN): Likewise.
57741         (CHAR_MAX): Likewise.
57742         (MB_LEN_MAX): Use macro-int-constant.
57743         (SHRT_MIN): Use macro-int-constant.  Specify type.
57744         (SHRT_MAX): Likewise.
57745         (USHRT_MAX): Likewise.
57746         (INT_MAX): Likewise.
57747         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57748         bound negative.
57749         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57750         bound with "U".
57751         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57752         bound with "L".
57753         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57754         bound negative.  Suffix upper bound with "L".
57755         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57756         bound with "UL".
57757         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57758         Specify type.
57759         [C99-based standards] (LLONG_MAX): Likewise.
57760         [C99-based standards] (ULLONG_MAX): Likewise.
57761         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57762         == 0.
57763         [ISO11] (max_align_t): Require type.
57764         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57766         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57767         from $CFLAGS, without defining away __attribute__ calls.
57768         (checknamespace): Use $CFLAGS_namespace.
57770         * conform/conformtest.pl (@keywords): Only include C99 keywords
57771         for standards based on C99 or C11.
57773         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57774         Disable tests.
57775         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57776         UNIX98]: Likewise.
57778         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57779         usability of symbols in #if.
57781         * conform/conformtest.pl: If macro or constant types start
57782         "promoted:", expect the symbol to be of the following type
57783         promoted by the integer promotions.
57785         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57786         in one place.  Also handle "macro-constant".
57788         * conform/conformtest.pl: Only accept expected macro values with
57789         "==".  Parse all "macro" lines in one place.
57790         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57792         * conform/conformtest.pl: Handle braced types on "constant" lines
57793         instead of handling "typed-constant".
57794         * conform/data/signal.h-data: Use "constant" instead of
57795         "typed-constant".
57797         * conform/conformtest.pl: Handle "optional-" at start of lines in
57798         one place rather than duplicating several cases.  Handle each
57799         format of "macro" line with initial "optional-".
57801         * conform/conformtest.pl: Only accept expected constant or
57802         optional-constant values with "==".  Parse all "constant" lines in
57803         one place.  Parse all "optional-constant" lines in one place.
57804         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57805         * conform/data/fmtmsg.h-data: Likewise.
57806         * conform/data/netinet/in.h-data: Likewise.
57807         * conform/data/tar.h-data: Likewise.
57808         * conform/data/limits.h-data: Use "==" form on "constant" and
57809         "optional-constant" lines.
57811         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57812         Use -std=c99 for XOPEN2K.
57813         (@knownproblems): Remove.
57814         (newtoken): Don't check %isknown.
57816         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57817         Do not expect macro.
57818         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57819         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57820         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57821         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57822         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57823         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57824         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57825         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57826         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57827         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57828         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57829         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57830         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57831         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57832         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57833         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57834         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57835         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57836         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57837         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57838         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57839         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57840         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57841         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57842         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57843         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57844         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57845         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57846         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57847         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57848         [XPG3] (acosh): Likewise.
57849         [XPG3] (asinh): Likewise.
57850         [XPG3] (atanh): Likewise.
57851         [XPG3] (cbrt): Likewise.
57852         [XPG3] (expm1): Likewise.
57853         [XPG3] (ilogb): Likewise.
57854         [XPG3] (log1p): Likewise.
57855         [XPG3] (logb): Likewise.
57856         [XPG3] (nextafter): Likewise.
57857         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57858         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57859         [XPG3] (remainder): Likewise.
57860         [XPG3] (rint): Likewise.
57861         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57862         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57863         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57864         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57865         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57866         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57867         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57868         [UNIX98 || XOPEN2K] (scalb): Expect.
57869         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57870         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57871         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57872         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57873         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57874         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57875         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57876         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57877         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57878         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
57879         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
57880         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
57881         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
57882         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
57883         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
57884         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
57885         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
57886         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
57887         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
57888         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
57889         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
57890         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
57891         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
57892         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
57893         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
57894         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
57895         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
57896         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
57897         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
57898         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
57899         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
57900         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
57901         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
57902         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
57903         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
57904         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
57905         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
57906         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
57907         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
57908         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
57909         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
57910         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
57911         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
57912         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
57913         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
57914         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
57915         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
57916         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
57917         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
57918         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
57919         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
57920         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
57921         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
57922         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
57923         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
57924         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
57925         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
57926         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
57927         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
57928         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
57929         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
57930         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
57931         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
57932         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
57933         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
57934         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
57935         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
57936         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
57937         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
57938         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
57939         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
57940         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
57941         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
57942         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
57943         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
57944         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
57945         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
57946         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
57947         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
57948         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
57949         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
57950         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
57951         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
57952         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
57953         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
57954         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
57955         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
57956         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
57957         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
57958         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
57959         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
57960         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
57961         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
57962         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
57963         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
57964         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
57965         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
57966         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
57967         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
57968         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
57969         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
57970         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
57971         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
57972         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
57973         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
57974         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
57975         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
57976         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
57977         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
57978         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
57979         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
57980         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
57981         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
57982         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
57983         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
57984         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
57985         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
57986         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
57987         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
57988         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
57989         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
57990         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
57991         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
57992         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
57993         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
57994         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
57995         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
57996         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
57997         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
57998         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
57999         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58000         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58001         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58002         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58003         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58004         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58005         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58007         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58008         _XOPEN_SOURCE_EXTENDED for XPG4.
58010         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58012         * Makeconfig (localtime): Remove variable.
58013         (inst_localtime-file): Likewise.
58015 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58018         Update.
58019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58020         Update.
58021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58022         Update.
58023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58024         Update.
58025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58026         Update.
58027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58028         Update.
58029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58030         Update.
58031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58032         Update.
58033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58034         Update.
58036 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58038         [BZ #2550]
58039         [BZ #2570]
58040         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58041         comparisons to determine direction to adjust input.
58042         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58043         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58044         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58045         Likewise.
58046         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58047         Likewise.
58048         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58049         Likewise.
58050         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58051         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58052         Likewise.
58053         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58054         Likewise.
58055         * math/libm-test.inc (nexttoward_test): Add more tests.
58057 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58059         [BZ #14040]
58060         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58061         in version GLIBC_2.1, not GLIBC_2.0.
58062         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58063         Likewise.
58065 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58067         [BZ #13942]
58068         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58069         (1 - x) * (1 + x).
58070         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58071         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58072         * math/libm-test.inc (acos_test): Add more tests.
58073         (asin_test): Likewise.
58074         * sysdeps/i386/fpu/libm-test-ulps: Update.
58075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58077         [BZ #14034]
58078         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58079         of square root.
58080         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58081         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58082         * math/libm-test.inc (acos_test_tonearest): New function.
58083         (acos_test_towardzero): Likewise.
58084         (acos_test_downward): Likewise.
58085         (acos_test_upward): Likewise.
58086         (asin_test_tonearest): Likewise.
58087         (asin_test_towardzero): Likewise.
58088         (asin_test_downward): Likewise.
58089         (asin_test_upward): Likewise.
58090         (main): Call the new functions.
58091         * sysdeps/i386/fpu/libm-test-ulps: Update.
58092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58094         [BZ #13884]
58095         [BZ #13924]
58096         * math/e_exp10.c: Include <float.h>.
58097         (__ieee754_exp10): Handle underflow here rather than multiplying
58098         large negative argument by M_LN10.
58099         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58100         of __ieee754_expf.
58101         * math/e_exp10l.c: Include <float.h>.
58102         (__ieee754_exp10l): Handle underflow here rather than multiplying
58103         large negative argument by M_LN10l.
58104         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58105         spurious overflow exception on underflow.
58107 2012-04-29  Marek Polacek  <polacek@redhat.com>
58109         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58110         (__fortify_function): New macro.
58111         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58112         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58113         __extern_always_inline.
58114         * libio/bits/stdio2.h: Likewise.
58115         * libio/bits/stdio.h: Likewise.
58116         * string/string.h: Likewise.
58117         * string/bits/string3.h: Likewise.
58118         * include/stdio.h: Likewise.
58119         * stdlib/bits/stdlib.h: Likewise.
58120         * stdlib/stdlib.h: Likewise.
58121         * rt/bits/mqueue2.h: Likewise.
58122         * rt/mqueue.h: Likewise.
58123         * posix/bits/unistd.h: Likewise.
58124         * posix/unistd.h: Likewise.
58125         * io/bits/poll2.h: Likewise.
58126         * io/bits/fcntl2.h: Likewise.
58127         * io/fcntl.h: Likewise.
58128         * io/sys/poll.h: Likewise.
58129         * misc/bits/syslog.h: Likewise.
58130         * misc/bits/syslog-ldbl.h: Likewise.
58131         * misc/sys/syslog.h: Likewise.
58132         * socket/bits/socket2.h: Likewise.
58133         * socket/sys/socket.h: Likewise.
58134         * debug/tst-chk1.c: Likewise.
58135         * wcsmbs/bits/wchar2.h: Likewise.
58136         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58137         * wcsmbs/wchar.h: Likewise.
58139 2012-04-29  Andreas Jaeger  <aj@suse.de>
58141         * Makerules (tests): Remove enable-check-abi protection.
58142         (check-abi-warn): Remove.
58143         (check-abi-%): Remove check-abi-warn usage.
58145         * configure.in: Remove check-abi configure option.
58146         * configure: Regenerated.
58147         * config.make.in (enable-check-abi): Remove.
58149 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58151         [BZ #14033]
58152         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58153         double functions to double *_finite functions.
58155         [BZ #13941]
58156         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58157         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58158         LDBL_MIN_EXP.
58159         * stdio-common/Makefile (tests): Add tst-sprintf3.
58160         * stdio-common/tst-sprintf3.c: New file.
58162         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58163         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58165 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58167         * conform/conformtest.pl: Remove duplicate typed-constant
58168         handling.
58170 2012-04-28  David S. Miller  <davem@davemloft.net>
58172         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58173         (check-abi-%): Remove AWK script prerequisite and explicit
58174         abilist directory.
58175         (check-abi): Rewrite to just diff the symlist with the abilist.
58176         (config-tls, config-abi-config): Delete, no longer used.
58177         (update-abi-%): Remove AWK script and explicit abilist directory.
58178         (update-abi): Rewrite to simply compare and conditionally copy the
58179         symlist and the sysdep abilist file.  Remove update-abi-config
58180         checks.
58181         * abilist/ld.abilist: Remove.
58182         * abilist/libBrokenLocale.abilist: Remove.
58183         * abilist/libanl.abilist: Remove.
58184         * abilist/libcrypt.abilist: Remove.
58185         * abilist/libdl.abilist: Remove.
58186         * abilist/librt.abilist: Remove.
58187         * abilist/libthread_db.abilist: Remove.
58188         * abilist/libutil.abilist: Remove.
58189         * scripts/extract-abilist.awk: Remove.
58190         * scripts/merge-abilist.awk: Remove.
58191         * sysdeps/generic/libcidn.abilist: New file.
58192         * sysdeps/generic/libnss_compat.abilist: New file.
58193         * sysdeps/generic/libnss_db.abilist: New file.
58194         * sysdeps/generic/libnss_dns.abilist: New file.
58195         * sysdeps/generic/libnss_files.abilist: New file.
58196         * sysdeps/generic/libnss_hesiod.abilist: New file.
58197         * sysdeps/generic/libnss_nis.abilist: New file.
58198         * sysdeps/generic/libnss_nisplus.abilist: New file.
58199         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58200         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58201         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58202         file.
58203         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58204         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58205         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58206         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58207         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58208         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58209         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58210         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58211         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58212         file.
58213         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58214         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58215         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58216         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58217         file.
58218         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58219         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58220         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58221         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58222         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58223         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58224         file.
58225         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58226         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58227         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58228         file.
58229         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58231         New file.
58232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58233         New file.
58234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58235         New file.
58236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58237         New file.
58238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58239         New file.
58240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58241         New file.
58242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58243         New file.
58244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58245         New file.
58246         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58247         New file.
58248         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58249         New file.
58250         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58251         New file.
58252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58253         New file.
58254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58255         New file.
58256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58257         file.
58258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58259         New file.
58260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58261         New file.
58262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58263         file.
58264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58265         New file.
58266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58267         New file.
58268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58269         file.
58270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58271         New file.
58272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58273         New file.
58274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58275         New file.
58276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58277         New file.
58278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58279         New file.
58280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58281         New file.
58282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58284         file.
58285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58286         New file.
58287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58288         file.
58289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58290         file.
58291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58292         file.
58293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58294         file.
58295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58296         file.
58297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58298         New file.
58299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58300         file.
58301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58302         file.
58303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58304         New file.
58305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58306         file.
58307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58309         file.
58310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58311         New file.
58312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58313         file.
58314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58315         file.
58316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58317         file.
58318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58319         file.
58320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58321         file.
58322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58323         New file.
58324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58325         file.
58326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58327         file.
58328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58329         New file.
58330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58331         file.
58332         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58333         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58334         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58335         file.
58336         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58337         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58338         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58339         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58340         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58341         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58342         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58343         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58344         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58345         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58348         file.
58349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58350         New file.
58351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58352         file.
58353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58354         file.
58355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58356         file.
58357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58358         file.
58359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58360         file.
58361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58362         New file.
58363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58364         New file.
58365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58366         file.
58367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58368         New file.
58369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58370         file.
58371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58373         file.
58374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58375         New file.
58376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58377         file.
58378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58379         file.
58380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58381         file.
58382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58383         file.
58384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58385         file.
58386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58387         New file.
58388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58389         New file.
58390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58391         file.
58392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58393         New file.
58394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58395         file.
58397 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58399         * conform/conformtest.pl: Fix typo in handling typed-constant from
58400         allow-header.
58402 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58404         * README: Cut down references to pre-2.6 Linux kernels and
58405         Linuxthreads.  Update lists of configurations in libc and ports
58406         and sort alphabetically.  Say "or newer" with Linux kernel version
58407         requirements.
58409         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58411 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58413         [BZ #887]
58414         * math/libm-test.inc (logb_test_downward): New test to expose
58415         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58416         rounding mode.
58418 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58420         [BZ #14027]
58421         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58422         to be done.
58423         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58424         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58426 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58428         * sysdeps/unix/i386/brk.S: Remove file.
58429         * sysdeps/unix/i386/dl-brk.S: Likewise.
58430         * sysdeps/unix/i386/pipe.S: Likewise.
58431         * sysdeps/unix/i386/sigreturn.S: Likewise.
58432         * sysdeps/unix/i386/syscall.S: Likewise.
58433         * sysdeps/unix/i386/vfork.S: Likewise.
58434         * sysdeps/unix/i386/wait.S: Likewise.
58436         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58437         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58439         * configure.in (arm*-none*): Do not allow without
58440         --enable-hacker-mode.
58441         (netbsd*): Remove case setting base_os.
58442         (386bsd*): Likewise.
58443         (freebsd*): Likewise.
58444         (bsdi*): Likewise.
58445         (osf*): Likewise.
58446         (sunos*): Likewise.
58447         (ultrix*): Likewise.
58448         (newsos*): Likewise.
58449         (dynix*): Likewise.
58450         (*bsd*): Likewise.
58451         (sysv*): Likewise.
58452         (isc*): Likewise.
58453         (esix*): Likewise.
58454         (sco*): Likewise.
58455         (minix*): Likewise.
58456         (irix4*): Likewise.
58457         (irix6*): Likewise.
58458         (solaris[2-9]*): Likewise.
58459         (none): Likewise.
58460         * configure: Regenerated.
58462 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58464         [BZ #11521]
58465         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58466         overflow or cancellation in calculating denominator.
58467         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58468         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58469         down expression to avoid unexpected rounding in newer GCCs.
58470         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58472 2012-04-26  David S. Miller  <davem@davemloft.net>
58474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58475         long-double compat symbols.
58476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58490 2012-04-25  David S. Miller  <davem@davemloft.net>
58492         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58493         HWCAP_* values only after the memory barriers have been defined.
58494         (atomic_full_barrier): Define.
58495         (atomic_read_barrier): Define.
58496         (atomic_write_barrier): Define.
58498 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58500         * shlib-versions: Add libgcc_s version information.
58501         * sysdeps/generic/libgcc_s.h: Remove.
58502         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58503         libgcc_s.h.
58504         * sysdeps/gnu/unwind-resume.c: Likewise.
58505         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58507 2012-04-25  David S. Miller  <davem@davemloft.net>
58509         * sysdeps/unix/sparc/brk.S: Delete.
58510         * sysdeps/unix/sparc/dl-brk.S: Delete.
58511         * sysdeps/unix/sparc/pipe.S: Delete.
58512         * sysdeps/unix/sparc/sysdep.S: Delete.
58513         * sysdeps/unix/sparc/sysdep.h: Delete.
58514         * sysdeps/unix/sparc/vfork.S: Delete.
58515         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58516         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58517         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58518         (ret_ERRVAL, r0, r1, MOVE): Define.
58519         (JUMPTARGET): Remove.
58520         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58521         sysdeps/unix/sparc/sysdep.h
58522         (ENTRY, END): Remove.
58523         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58525 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58527         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58528         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58529         -DIS_IN_build.
58531         * timezone/README: Update upstream location and email address for
58532         tzcode and tzdata.
58533         * timezone/zdump.c: Update from tzcode 2012b.
58534         * timezone/zic.c: Likewise.
58536         * configure.in (libc_cv_as_needed): Remove test.
58537         * configure: Regenerated.
58538         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58539         conditional definition.
58540         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58541         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58542         * config.make.in (have-as-needed): Remove variable.
58544 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58545             Paul Pluzhnikov  <ppluzhnikov@google.com>
58547         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58548         strings correctly.
58550 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58552         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58553         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58554         * sysdeps/sh/strlen.S: Likewise.
58556 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58558         * sysdeps/unix/fork.S: Remove file.
58559         * sysdeps/unix/i386/fork.S: Likewise.
58560         * sysdeps/unix/sparc/fork.S: Likewise.
58562         * sysdeps/unix/system.c: Remove file.
58563         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58565         * sysdeps/unix/getegid.S: Remove file.
58566         * sysdeps/unix/geteuid.S: Likewise.
58568 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58570         * scripts/check-localplt.awk: New file.
58571         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58572         of diff.
58573         * scripts/data/localplt-generic.data: Add a comment.
58575         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58576         NODE when __dir_mkfile failed.
58577         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58578         Reported by Ludovic Courtès <ludo@gnu.org>.
58580 2012-04-24  Andreas Jaeger  <aj@suse.de>
58582         * Makerules (common-clean): Also remove gen-as-const-headers
58583         files.
58585 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58587         * Makerules (native-compile): Do not change working directory for
58588         build.  Use $(OUTPUT_OPTION) in command.
58589         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58591 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58593         [BZ #13886]
58594         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58595         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58596         * math/libm-test.inc (floor_test): Add more tests.
58597         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58599 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58601         * sysdeps/unix/getdents.c: Remove file.
58602         * sysdeps/unix/sysv/getdents.c: Likewise.
58603         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58605         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58606         sysdeps/unix/mman/syscalls.list.
58607         (mmap): Likewise.
58608         (mprotect): Likewise.
58609         (msync): Likewise.
58610         (munmap): Likewise.
58611         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58612         * sysdeps/unix/mman/syscalls.list: Remove.
58613         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58615         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58616         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58617         * configure: Regenerated.
58618         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58619         $(libgcc_s_suffix).
58620         * config.make.in (libgcc_s_suffix): Remove variable.
58622 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58624         * sysdeps/unix/sysv/gethostname.c: Move to ...
58625         * sysdeps/posix/gethostname.c: ... here.
58627         * sysdeps/unix/execve.S: Remove file.
58629         * sysdeps/unix/_exit.S: Remove file.
58631 2012-04-23  Andreas Jaeger  <aj@suse.de>
58633         [BZ #13739]
58634         * manual/Makefile: Remove make dist support, there's no
58635         need for a stand-alone documentation tar ball.
58636         (TEXI2DVI): Define always, it's not in Makeconfig.
58637         (dist): Removed.
58638         (tar-it): Removed.
58639         (edition): Removed.
58640         (glibc-doc-$(edition).tar): Removed
58641         (%.Z): Removed.
58642         (%.gz): Removed.
58643         (%.uu): Removed.
58644         (ETAGS): Remove, it's in Makeconfig.
58645         (move-if-change): Remove, it's in Makeconfig.
58647 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58649         [BZ #13970]
58650         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58651         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58652         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58653         (strtod_l, strtof_l, strtold_l): Remove __wur.
58654         It is not necessarily an error to ignore strtol's return value.
58655         One can reliably look at the stored endptr to decide whether
58656         the number had valid syntax.
58658 2012-04-21  Andreas Jaeger  <aj@suse.de>
58660         [BZ #13739]
58661         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58663 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58665         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58666         * sysdeps/unix/sysv/Versions: Remove file.
58668 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58670         [BZ #13927]
58671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58673 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58675         [BZ #7064]
58676         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58677         version from __vm86.
58679 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58681         * sysdeps/unix/common/lxstat.c: Remove file.
58682         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58684         * sysdeps/unix/sysv/Makefile: Remove file.
58686         * sysdeps/unix/sysv/direct.h: Remove file.
58688         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58689         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58690         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58691         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58692         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58693         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58694         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58696         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58698         * sysdeps/unix/xmknod.c: Remove file.
58699         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58701         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58703         * sysdeps/unix/sysv/i386/time.S: Remove file.
58705         * sysdeps/unix/fxstat.c: Remove file.
58706         * sysdeps/unix/xstat.c: Likewise.
58707         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58709         * sysdeps/unix/sysv/sigaction.c: Remove file.
58711         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58712         (sysdep_headers): Remove variable.
58713         [termio.h not in sysdep_headers] (generated): Likewise.
58714         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58715         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58716         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58717         * sysdeps/unix/sysv/tcflow.c: Likewise.
58718         * sysdeps/unix/sysv/tcflush.c: Likewise.
58719         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58720         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58721         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58722         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58723         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58725         * sysdeps/unix/siglist.c: Remove file.
58727         * sysdeps/unix/getppid.S: Remove file.
58729         * sysdeps/unix/mkdir.c: Remove file.
58730         * sysdeps/unix/rmdir.c: Likewise.
58732 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58734         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58735         ERR_MAX value.
58736         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58737         errlist-compat value.
58739 2012-04-18  David S. Miller  <davem@davemloft.net>
58741         * sysdeps/generic/memcopy.h (reg_char): Delete.
58742         * debug/strcat_chk.c: Use char, not reg_char.
58743         * debug/strcpy_chk.c: Likewise.
58744         * debug/strncat_chk.c: Likewise.
58745         * debug/strncpy_chk.c: Likewise.
58746         * string/memchr.c: Likewise.
58747         * string/memrchr.c: Likewise.
58748         * string/rawmemchr.c: Likewise.
58749         * string/strcat.c: Likewise.
58750         * string/strchr.c: Likewise.
58751         * string/strchrnul.c: Likewise.
58752         * string/strcmp.c: Likewise.
58753         * string/strcpy.c: Likewise.
58754         * string/strncat.c: Likewise.
58755         * string/strncmp.c: Likewise.
58756         * string/strncpy.c: Likewise.
58758 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58760         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58761         __builtin_memcopy is called when src and dest ranges are known to not
58762         overlap.
58764 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58766         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58767         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58768         fwd_align_merge macro call.
58769         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58770         bwd_align_merge macro call.
58771         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58773 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58775         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58776         bwd_align_merge macros.
58777         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58778         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58779         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58781 2012-04-18  David S. Miller  <davem@davemloft.net>
58783         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58785 2012-04-18  Andreas Jaeger  <aj@suse.de>
58787         [BZ# 6794]
58788         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58789         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58790         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58792         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58793         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58794         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58796         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58797         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58798         Adjust for changed ldbl-128 files.
58800         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58801         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58802         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58804 2012-04-17  David S. Miller  <davem@davemloft.net>
58806         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58808 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58810         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58811         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58812         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58813         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58814         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58815         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58817 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58819         [BZ #6794]
58820         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58821         * math/libm-test.inc: Add ilogb errno and exception tests.
58822         * math/w_ilogb.c: New file: ilogb wrapper.
58823         * math/w_ilogbf.c: New file: ilogbf wrapper.
58824         * math/w_ilogbl.c: New file: ilogbl wrapper.
58825         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58826         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58827         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58828         exception being thrown with 0.0 as argument.
58829         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58830         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58831         exception being thrown with 0.0 as argument.
58832         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58833         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58834         exception being thrown with 0.0 as argument.
58835         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58836         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58837         exception being thrown with 0.0 as argument.
58838         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58839         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58840         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58841         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58842         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58843         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58844         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58845         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58846         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58848 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58850         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58851         with altivec.
58853 2012-04-16  Marek Polacek  <polacek@redhat.com>
58855         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58857 2012-04-16  Marek Polacek  <polacek@redhat.com>
58859         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58860         operands of fdivp instruction.
58862 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58864         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58865         * elf/tst-auditmod3b.c: Likewise.
58866         * elf/tst-auditmod4b.c: Likewise.
58867         * elf/tst-auditmod5b.c: Likewise.
58868         * elf/tst-auditmod6b.c: Likewise.
58869         * elf/tst-auditmod6c.c: Likewise.
58870         * elf/tst-auditmod7b.c: Likewise.
58871         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58872         * sysdeps/x86_64/preconfigure.in: Likewise.
58873         * sysdeps/x86_64/preconfigure: Regenerated.
58875 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58877         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58878         __ILP32__.
58880 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
58882         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58883         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
58885 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
58887         [BZ #13973]
58888         * locale/iso-639.def: Fix gl language name. Spotted by
58889         Yaron Shahrabani.
58891 2012-04-12  Roland McGrath  <roland@hack.frob.com>
58893         [BZ #2074]
58894         * libio/libio.h (__io_write_fn): Update comment.
58896 2012-04-12  Petr Baudis  <pasky@ucw.cz>
58898         [BZ #2074]
58899         * stdio.texi (Hook Functions): The user provided writer function
58900         is not allowed to return -1.
58902 2012-04-11  David S. Miller  <davem@davemloft.net>
58904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58906 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
58908         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
58909         Add a leading slash to rtkaio.
58911 2012-04-11  Jim Meyering  <meyering@redhat.com>
58913         [BZ #11959]
58914         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
58915         It is not necessarily an error to ignore fwrite's return
58916         value.  One can reliably use ferror to test for errors after
58917         the fact.
58919 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58921         * bits/types.h (__snseconds_t): New type.
58922         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
58924         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
58925         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58926         (__SNSECONDS_T_TYPE): Likewise.
58927         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58928         (__SNSECONDS_T_TYPE): Likewise.
58929         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58930         (__SNSECONDS_T_TYPE): Likewise.
58932 2012-04-10  Andreas Jaeger  <aj@suse.de>
58934         [BZ #2636]
58935         * manual/time.texi (Processor Time): Return type of times is
58936         elapsed real time since an arbitrary point in the past.
58937         (CPU Time): Move CLK_TCK from here...
58938         (Processor Time): ...to here.  Correct description.
58939         * manual/conf.texi (Constants for Sysconf): Correct description of
58940         _SC_CLK_TCK.
58942 2012-04-10  David S. Miller  <davem@davemloft.net>
58944         [BZ #13967]
58945         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
58946         where the is a gap between DT_REL(A) and DT_JMPREL.
58948 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58950         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
58951         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58952         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58954 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58956         * elf/dl-support.c (_dl_inhibit_cache): New variable.
58957         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
58958         (dl_main): Handle --inhibit-cache.
58959         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
58960         _dl_inhibit_cache.
58961         * elf/dl-load.c (_dl_map_object): Use it.
58962         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
58964 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58966         [BZ #13872]
58967         * sysdeps/i386/fpu/e_powl.S (p78): New object.
58968         (__ieee754_powl): Saturate large exponents rather than testing for
58969         overflow of y*log2(x).
58970         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58971         * math/libm-test.inc (pow_test): Do not permit spurious overflow
58972         exceptions.
58974         [BZ #11521]
58975         * math/s_ctan.c: Include <float.h>.
58976         (__ctan): Avoid internal overflow or cancellation in calculating
58977         denominator.
58978         * math/s_ctanf.c: Likewise.
58979         * math/s_ctanl.c: Likewise.
58980         * math/s_ctanh.c: Likewise.
58981         * math/s_ctanhf.c: Likewise.
58982         * math/s_ctanhl.c: Likewise.
58983         * math/libm-test.inc (ctan_test): Add more tests.
58984         (ctanh_test): Likewise.
58985         * sysdeps/i386/fpu/libm-test-ulps: Update.
58986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58988 2012-04-09  Andreas Jaeger  <aj@suse.de>
58990         [BZ #6894]
58991         * manual/filesys.texi (Directory Entries): Mention that d_namlen
58992         is an optional BSD extension.
58994         [BZ #10254]
58995         * manual/stdio.texi (Opening Streams): Document additional fopen
58996         parameters.
58998 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59000         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59001         %eax without telling the compiler.
59003 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59005         [BZ # 13963]
59006         * manual/install.texi: Use sourceware.org.
59008 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59010         [BZ #13873]
59011         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59012         (__ieee754_pow): Generate overflow and underflow using huge*huge
59013         and tiny*tiny rather than just returning constant infinity or zero
59014         for large exponents.
59015         * math/libm-test.inc (pow_test): Require overflow exceptions for
59016         applicable cases of large exponents.
59018         [BZ #706]
59019         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59020         (__ieee754_pow): Use iterative multiplication algorithm only for
59021         integer exponents with absolute value below 1024.  Check for odd
59022         integer exponents when using algorithm for real exponents.
59023         * math/libm-test.inc (pow_test): Add more tests.
59024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59026 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59028         [BZ #13705]
59029         * math/libm-test.inc (exp_test): Do not allow overflow exception
59030         on underflow test.
59032 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59034         [BZ #13705]
59035         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59036         instead of __kernel_standard_f.
59038 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59040         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59041         * sysdeps/x86_64/memset_chk.S: Likewise.
59043 2012-04-08  Andreas Jaeger  <aj@suse.de>
59045         [BZ #10153]
59046         * manual/startup.texi (Environment Access): Describe return value
59047         for putenv and setenv.
59049         [BZ #6895]
59050         * manual/filesys.texi (Directory Entries): Add description for
59051         DT_LNK.
59053         [BZ #6890]
59054         * manual/filesys.texi (Directory Entries): Clarify that it's file
59055         system not operating system in the description of DT_UNKNOWN.
59057         [BZ #6578]
59058         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59060 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59062         [BZ #6649]
59063         * manual/llio.texi (Opening and Closing Files): Add cross
59064         reference to explain mode argument.
59066 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59068         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59069         * sysdeps/x86_64/memset_chk.S: Likewise.
59071 2012-04-07  David S. Miller  <davem@davemloft.net>
59073         * elf/elf.h (R_SPARC_WDISP10): Define.
59074         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59075         R_SPARC_SIZE32.
59076         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59077         R_SPARC_SIZE64 and R_SPARC_H34.
59079 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59081         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59082         conditions and remove no longer applicable assertion.
59084 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59086         * bits/byteswap.h: Include <features.h>.
59087         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59088         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59090 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59092         * bits/byteswap.h (__bswap_16): Removed.
59093         Include <bits/byteswap-16.h> to get __bswap_16.
59094         * sysdeps/i386/bits/byteswap.h: Likewise.
59095         * sysdeps/s390/bits/byteswap.h: Likewise.
59096         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59097         * bits/byteswap-16.h: New file.
59098         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59099         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59100         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59101         * string/Makefile (headers): Add bits/byteswap-16.h.
59103 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59105         [BZ #13895]
59106         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59107         extra indirection.
59108         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59109         * nss/tst-nss-static.c: New.
59111 2012-04-06  Robert Millan  <rmh@gnu.org>
59113         [BZ #6486]
59114         * manual/llio.texi (File Position Primitive): lseek
59115         refers to WHENCE when it really means OFFSET.
59117 2012-04-06  Andreas Jaeger  <aj@suse.de>
59119         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59120         strncmp declarations.
59122         * abilist/libc.abilist: Add __poll and __ppoll.
59124 2012-04-05  David S. Miller  <davem@davemloft.net>
59126         * scripts/check-local-headers.sh: Accept a host triplet in the
59127         path matched by the exclude regexp.
59129         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59130         definition.
59131         * sysdeps/powerpc/powerpc32/dl-machine.h
59132         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59133         * sysdeps/s390/s390-32/dl-machine.h
59134         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59135         * sysdeps/sparc/sparc32/dl-machine.h
59136         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59137         * sysdeps/sparc/sparc64/dl-machine.h
59138         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59140         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59141         lazy binding.
59142         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59143         undefined symbol errors.
59145         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59146         DT_NEEDED entries.
59148 2012-04-05  Michael Matz  <matz@suse.de>
59150         [BZ #13592]
59151         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59153 2012-04-05  Andreas Jaeger  <aj@suse.de>
59155         [BZ #13908]
59156         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59157         comment.
59159 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59161         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59162         which ROUND is no valid rounding mode.
59164 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59166         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59167         read again.
59168         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59170 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59172         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59173         an exception using FPU order intentionally.
59175 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59177         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59178         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59179         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59180         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59182 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59184         [BZ #12340]
59185         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59186         EINVAL when BUFLEN is too smal.
59188 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59190         [BZ #13553]
59191         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59192         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59194 2012-04-03  Andreas Jaeger  <aj@suse.de>
59196         [BZ #13938]
59197         * manual/setjmp.texi (System V contexts): Fix sentence.
59199         [BZ #13926]
59200         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59201         New macro for this case.
59202         [!__GNUC__] (__bswap_64): New inline function for this case.
59203         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59204         * bits/byteswap.h: Likewise.
59205         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59206         ull, guard with __GLIBC_HAVE_LONG_LONG.
59208         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59209         __GLIBC_HAVE_LONG_LONG.
59211         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59212         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59214 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59216         [BZ #13691]
59217         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59218         inptr and inend, rather than using last_ch.
59220 2012-04-02  David S. Miller  <davem@davemloft.net>
59222         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59223         * stdio-common/printf-parse.h (read_int): Change return type to
59224         'int', return -1 on INT_MAX overflow.
59225         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59226         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59227         overflows INT_MAX.  Check for overflow of in-format-string precision
59228         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59229         SIZE_MAX not INT_MAX for integer overflow test.
59230         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59231         skip the construct in the format string but do not record anything.
59232         * stdio-common/bug22.c: Adjust to test both width/prevision
59233         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59234         explicitly for proper errno values.
59236 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59238         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59239         CHAR_MAX.
59240         * string/test-strcmp.c [! WIDE]: Likewise.
59241         * time/tst-mktime2.c: Likewise for INT_MAX.
59242         * string/test-string.h: #include <sys/param.h> for MIN.
59244         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59245         * sysdeps/i386/init-first.c (init): Likewise.
59246         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59247         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59248         * sysdeps/sh/init-first.c (init): Likewise.
59250 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59252         * po/ru.po: Update from translation team.
59253         * po/vi.po: Likewise.
59255 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59257         * resolv/nss_dns/dns-host.c: Merge copyright years.
59259 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59261         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59262         Optimize memcpy with prefetch if
59263         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59264         src, dst pointers have unequal 16 byte alignments.
59266 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59268         [BZ #13928]
59269         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59270         from a CNAME entry and return the minimum ttl for the query.
59271         (gaih_getanswer_slice): Likewise.
59273 2012-03-30  Jeff Law  <law@redhat.com>
59275         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59276         due to long keys.
59277         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59278         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59280         * resolv/nss_dns/dns-host.c: Update copyright year.
59282 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59284         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59285         requests to save a system call.  Fix check that all bytes are sent.
59287         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59288         comments for sendmmsg.
59290 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59292         [BZ #13691]
59293         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59294         with only 1 character between 0x0041 and 0x01b0.
59295         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59296         * wcsmbs/tst-mbsnrtowcs.c: New file.
59298 2012-03-29  David S. Miller  <davem@davemloft.net>
59300         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59301         small copies by hand.
59303 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59305         [BZ #13761]
59306         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59307         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59308         group memberships.
59310 2012-03-28  David S. Miller  <davem@davemloft.net>
59312         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59313         that branches into memcpy.
59314         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59315         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59316         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59317         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59318         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59319         bits.
59320         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59321         implementation too.
59322         * sysdeps/sparc/mempcpy.S: New file.
59324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59325         the IFUNC routine in the libc case.
59326         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59328         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59329         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59330         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59331         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59332         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59333         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59334         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59335         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59337         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59338         loop to 256 bytes instead of 64 bytes and fix test signedness.
59340         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59341         * sysdeps/sparc/sparc32/Makefile: rather than here...
59342         * sysdeps/sparc/sparc64/Makefile: and here.
59344 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59346         * malloc/mallocbug.c: Avoid warnings about unused variables.
59348 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59350         [BZ #13760]
59351         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59352         in the right place. Discard and retry query if response is
59353         larger than input buffer size.
59355 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59357         [BZ #369]
59358         [BZ #2678]
59359         [BZ #3866]
59360         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59361         x for large integer exponent.
59362         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59363         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59364         sign of result as needed afterwards.
59365         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59366         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59367         result for underflowing pow the same as for overflow.
59368         (__kernel_standard_l): Handle powl overflow and underflow here
59369         rather than calling __kernel_standard.
59370         * math/libm-test.inc (pow_test): Add more tests.
59372         [BZ #3868]
59373         [BZ #13879]
59374         [BZ #13910]
59375         [BZ #13911]
59376         [BZ #13912]
59377         [BZ #13913]
59378         [BZ #13915]
59379         [BZ #13916]
59380         [BZ #13917]
59381         [BZ #13918]
59382         [BZ #13919]
59383         [BZ #13920]
59384         [BZ #13921]
59385         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59386         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59387         (__kernel_standard_l): New function.
59388         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59389         __kernel_standard.
59390         * math/w_acosl.c (__acosl): Likewise.
59391         * math/w_asinl.c (__asinl): Likewise.
59392         * math/w_atan2l.c (__atan2l): Likewise.
59393         * math/w_atanhl.c (__atanhl): Likewise.
59394         * math/w_coshl.c (__coshl): Likewise.
59395         * math/w_exp10l.c (__exp10l): Likewise.
59396         * math/w_exp2l.c (__exp2l): Likewise.
59397         * math/w_fmodl.c (__fmodl): Likewise.
59398         * math/w_hypotl.c (__hypotl): Likewise.
59399         * math/w_j0l.c (__j0l, __y0l): Likewise.
59400         * math/w_j1l.c (__j1l, __y1l): Likewise.
59401         * math/w_jnl.c (__jnl, __ynl): Likewise.
59402         * math/w_lgammal.c (__lgammal): Likewise.
59403         * math/w_log10l.c (__log10l): Likewise.
59404         * math/w_log2l.c (__log2l): Likewise.
59405         * math/w_logl.c (__logl): Likewise.
59406         * math/w_powl.c (__powl): Likewise.
59407         * math/w_remainderl.c (__remainderl): Likewise.
59408         * math/w_scalbl.c (sysv_scalbl): Likewise.
59409         * math/w_sinhl.c (__sinhl): Likewise.
59410         * math/w_sqrtl.c (__sqrtl): Likewise.
59411         * math/w_tgammal.c (__tgammal): Likewise.
59412         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59413         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59414         * math/libm-test.inc (acos_test): Add more tests.
59415         (acosh_test): Likewise.
59416         (asin_test): Likewise.
59417         (atanh_test): Likewise.
59418         (exp_test): Likewise.
59419         (exp10_test): Likewise.
59420         (exp2_test): Likewise.
59421         (expm1_test): Likewise.
59422         (lgamma_test): Likewise.
59423         (log_test): Likewise.
59424         (log10_test): Likewise.
59425         (log1p_test): Likewise.
59426         (log2_test): Likewise.
59427         (pow_test): Do not allow some spurious overflow exceptions.
59428         (sqrt_test): Add more tests.
59429         (tgamma_test): Likewise.
59430         (y0_test): Likewise.
59431         (y1_test): Likewise.
59432         (yn_test): Likewise.
59434 2012-03-27  Anton Blanchard  <anton@samba.org>
59436         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59437         MAP_HUGETLB.
59438         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59439         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59440         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59442 2012-03-27  David S. Miller  <davem@davemloft.net>
59444         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59446         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59447         have-as-vis3 check.
59449 2012-03-27  Andreas Jaeger  <aj@suse.de>
59451         * sysdeps/x86_64/elf/configure.in: Moved to ...
59452         * sysdeps/x86_64/configure.in: ... here.
59453         * sysdeps/x86_64/elf/start.S: Moved to ...
59454         * sysdeps/x86_64/start.S: ... here.
59455         * sysdeps/x86_64/elf/configure: Delete.
59457         * sysdeps/x86_64/configure.in: Merge contents from
59458         sysdeps/i386/configure.in (without i686 check).
59460         * sysdeps/i386/elf/Versions: Merge into ...
59461         * sysdeps/i386/Versions: ... this.
59462         * sysdeps/i386/elf/Versions: Delete file.
59463         * sysdeps/i386/elf/start.S: Moved to ...
59464         * sysdeps/i386/start.S: ...here.
59465         * sysdeps/i386/elf/configure.in: Merge into...
59466         * sysdeps/i386/configure.in: ...here.
59467         * sysdeps/i386/elf/configure.in: Delete file.
59468         * sysdeps/i386/elf/configure: Delete file.
59470         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59471         * debug/backtracesyms.c: ... here.
59472         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59473         * debug/backtracesymsfd.c: ... here.
59474         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59475         * sysdeps/generic/ifunc-sel.h: ... here.
59477         * sysdeps/unix/i386/start.c: Delete file.
59478         * sysdeps/unix/sparc/start.c: Delete file.
59479         * sysdeps/unix/start.c: Delete file.
59481         * sysdeps/sh/elf/configure.in: Moved to ...
59482         * sysdeps/sh/configure.in: ... here.
59483         * sysdeps/sh/elf/start.S: Moved to ...
59484         * sysdeps/sh/start.S: ... here.
59485         * sysdeps/sh/elf/configure: Delete file.
59487         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59488         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59489         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59490         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59491         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59492         * sysdeps/powerpc/powerpc64/start.S: here.
59493         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59494         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59495         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59496         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59497         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59499         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59500         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59501         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59502         * sysdeps/powerpc/powerpc32/start.S: ... here.
59503         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59504         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59505         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59507         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59508         * sysdeps/powerpc/ifunc-sel.h: ... here.
59509         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59510         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59512         * sysdeps/sparc/elf/configure.in: Moved to ...
59513         * sysdeps/sparc/configure.in: ... here.
59514         * sysdeps/sparc/elf/configure: Delete file.
59515         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59516         * sysdeps/sparc/sparc32/start.S: ... here.
59517         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59518         * sysdeps/sparc/sparc64/start.S: ... here.
59519         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59520         * sysdeps/sparc/sparc32/Makefile: ... this.
59521         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59522         * sysdeps/sparc/sparc64/Makefile: ... this.
59524         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59525         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59526         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59527         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59528         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59529         * sysdeps/s390/s390-32/setjmp.S: ... here.
59530         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59531         * sysdeps/s390/s390-32/configure.in: ... here.
59532         * sysdeps/s390/s390-32/elf/configure: Delete file.
59533         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59534         * sysdeps/s390/s390-32/start.S: ... here.
59536         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59537         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59538         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59539         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59540         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59541         * sysdeps/s390/s390-64/setjmp.S: ... here.
59542         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59543         * sysdeps/s390/s390-64/configure.in: ... here
59544         * sysdeps/s390/s390-64/elf/configure: Delete file.
59545         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59546         * sysdeps/s390/s390-64/start.S: ... here.
59547         * sysdeps/s390/s390-64/elf/configure: Delete.
59549         * configure.in: Remove support for elf directories in sysdeps.
59551         * configure: Regenerated.
59552         * sysdeps/i386/configure: Regenerated.
59553         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59554         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59555         * sysdeps/s390/s390-32/configure: Regenerated.
59556         * sysdeps/s390/s390-64/configure: Regenerated.
59557         * sysdeps/sh/configure: Regenerated.
59558         * sysdeps/sparc/configure: Regenerated.
59559         * sysdeps/x86_64/configure: Regenerated.
59561 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59565         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59566         denormal result into account.
59568 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59570         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59571         Reported by Allan McRae <allan@archlinux.org>.
59573 2012-03-23  Jeff Law  <law@redhat.com>
59575         * nss/getnssent.c (__nss_getent): Fix typo.
59577 2012-03-23  David S. Miller  <davem@davemloft.net>
59579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59581 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59583         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59584         to pad to uint64_t for each field.
59585         (dl_tls_index): Replace unsigned long with uint64_t.
59587 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59588         Paul Pluzhnikov  <ppluzhnikov@google.com>
59590         [BZ #6528]
59591         * grp/Makefile (otherlibs): Don't set it.
59592         * inet/Makefile (otherlibs): Likewise.
59593         * login/Makefile (otherlibs): Likewise.
59594         * nscd/Makefile (otherlibs): Likewise.
59595         * posix/Makefile (otherlibs): Likewise.
59596         * pwd/Makefile (otherlibs): Likewise.
59597         * rt/Makefile (otherlibs): Likewise.
59598         * sunrpc/Makefile (otherlibs): Likewise.
59599         * nss/Makefile (otherlibs): Likewise.
59600         Add libnss_files to routines and static-only-routines.
59601         ($(objpfx)getent): Remove rule.
59602         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59603         static-only-routines.
59605 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59607         [BZ #13892]
59608         * math/s_cexp.c: Include <float.h>.
59609         (__cexp): Handle exp result overflowing not necessarily
59610         overflowing both real and imaginary parts of result.
59611         * math/s_cexpf.c: Likewise.
59612         * math/s_cexpl.c: Likewise.
59613         * math/libm-test.inc (cexp_test): Add more tests.
59614         * sysdeps/i386/fpu/libm-test-ulps: Update.
59615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59617 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59619         * include/link.h (ELFW): New macro.
59620         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59621         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59623 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59625         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59626         with uint64_t.
59628 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59630         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59631         declaration.
59632         (struct La_x32_retval): Likewise.
59634 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59636         * sysdeps/x86_64/preconfigure.in: New file.
59637         * sysdeps/x86_64/preconfigure: New generated file.
59639 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59641         [BZ #13824]
59642         * math/e_exp2l.c: Include <float.h>.
59643         (__ieee754_exp2l): Handle overflow and underflow cases
59644         separately.  Only pass fractional part of argument to
59645         __ieee754_expl.
59646         * math/libm-test.inc (exp2_test): Add more tests.
59648         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59649         negating x to take absolute value.
59650         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59651         Likewise.
59652         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59653         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59654         Likewise.
59655         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59656         computing low part if x was negated.
59657         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59659 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59661         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59662         la_x32_gnu_pltexit.
59663         (pltexit): Cast int_retval to ptrdiff_t.
59664         * elf/tst-auditmod3b.c: Likewise.
59665         * elf/tst-auditmod4b.c: Likewise.
59666         * elf/tst-auditmod5b.c: Likewise.
59667         * elf/tst-auditmod6b.c: Likewise.
59668         * elf/tst-auditmod6c.c: Likewise.
59669         * elf/tst-auditmod7b.c: Likewise.
59671         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59672         and x32_gnu_pltexit.
59674         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59675         __ELF_NATIVE_CLASS.
59676         (La_x32_regs): New macro.
59677         (La_x32_retval): Likewise.
59678         (la_x32_gnu_pltenter): New function prototype.
59679         (la_x32_gnu_pltexit): Likewise.
59681 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59683         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59684         exponent.
59686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59688         * configure.in (libc_cv_cc_nofma): Check for option to disable
59689         generation of FMA instructions.
59690         * configure: Regenerate.
59691         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59692         * sysdeps/ieee754/dbl-64/Makefile: New file.
59693         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59694         Remove brandred-fma4.
59695         (CFLAGS-brandred-fma4.c): Remove.
59696         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59697         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59698         define.
59699         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59700         define.
59702 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59704         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59705         LLONG_MAX != LONG_MAX.
59706         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59707         (_fitoa_word): Likewise.
59708         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59709         LLONG_MAX != LONG_MAX.
59710         * stdio-common/_itowa.h: Include <_itoa.h>.
59711         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59712         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59713         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59714         only if not defined.
59715         (_ITOA_WORD_TYPE): Likewise.
59716         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59717         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59719 2012-03-21  David S. Miller  <davem@davemloft.net>
59721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59723 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59725         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59726         of x86_64 when setting libc_cv_slibdir, libdir and
59727         libc_cv_localedir.
59728         * sysdeps/unix/sysv/linux/configure: Regenerated.
59730 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59732         * manual/lang.texi (Old Varargs): Remove section.
59733         (How Variadic): Update menu.
59734         (va_start): Do not mention varargs.h.
59736 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59737             Joseph Myers  <joseph@codesourcery.com>
59739         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59740         link test.
59741         * configure: Regenerated.
59743 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59745         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59746         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59747         conformtest.pl
59749 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59751         * NOTES: Remove.
59752         * Makefile (files-for-dist): Remove NOTES.
59753         (NOTES): Remove rule.
59754         * README: Don't refer to NOTES.
59755         * manual/creature.texi: Don't include macros.texi.
59756         * manual/intro.texi (creature.texi): Remove comment referring to
59757         NOTES.
59759         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59760         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59761         * configure: Regenerated.
59762         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59763         LIBC_TRY_CC_OPTION.
59764         (libc_cv_as_i686): Likewise.
59765         (libc_cv_cc_avx): Likewise.
59766         (libc_cv_cc_sse2avx): Likewise.
59767         (libc_cv_cc_fma4): Likewise.
59768         (libc_cv_cc_novzeroupper): Likewise.
59769         * sysdeps/i386/configure: Regenerated.
59771         [BZ #13883]
59772         * sysdeps/i386/fpu/s_cexp.S: Remove.
59773         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59774         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59775         * math/libm-test.inc (cexp_test): Add more tests.
59776         * sysdeps/i386/fpu/libm-test-ulps: Update.
59777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59779 2012-03-21  Allan McRae  <allan@archlinux.org>
59781         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59783 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59785         [BZ #13871]
59786         * math/w_exp2.c: Do not include <float.h>.
59787         (o_threshold, u_threshold): Remove.
59788         (__exp2): Calculate result before checking finiteness and calling
59789         __kernel_standard.
59790         * math/w_exp2f.c: Likewise.
59791         * math/w_exp2l.c: Likewise.
59792         * math/libm-test.inc (exp2_test): Require overflow exception for
59793         1e6 input.
59795         [BZ #3866]
59796         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59797         range of signed 64-bit integers before using fistpll.  Remove
59798         checks for whether integers fit in mantissa bits.
59799         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59800         the range of signed 32-bit integers before using fistpl.  Remove
59801         checks for whether integers fit in mantissa bits.
59802         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59803         (__ieee754_powl): Test for y outside the range of signed 64-bit
59804         integers before using fistpll.  Reduce 64-bit values to 63-bit
59805         ones as needed.
59806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59807         divide-by-zero is raised for zero to large negative powers.
59808         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59809         (__ieee754_powl): Test for y outside the range of signed 64-bit
59810         integers before using fistpll.  Reduce 64-bit values to 63-bit
59811         ones as needed.
59812         * math/libm-test.inc (pow_test): Add more tests.
59814 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59816         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59817         <stdio-common/_itoa.h>.
59818         * debug/segfault.c: Likewise.
59819         * elf/dl-cache.c: Likewise.
59820         * elf/dl-minimal.c: Likewise.
59821         * elf/dl-misc.c: Likewise.
59822         * elf/dl-sysdep.c: Likewise.
59823         * elf/dl-version.c: Likewise.
59824         * elf/rtld.c: Likewise.
59825         * hurd/hurdsock.c: Likewise.
59826         * hurd/lookup-retry.c: Likewise.
59827         * malloc/malloc.c: Likewise.
59828         * malloc/mtrace.c: Likewise.
59829         * nscd/nscd_getgr_r.c: Likewise.
59830         * nscd/nscd_getpw_r.c: Likewise.
59831         * nscd/nscd_getserv_r.c: Likewise.
59832         * posix/getopt_init.c: Likewise.
59833         * posix/wordexp.c: Likewise.
59834         * stdio-common/_itoa.c: Likewise.
59835         * stdio-common/printf_fphex.c: Likewise.
59836         * stdio-common/vfprintf.c: Likewise.
59837         * string/_strerror.c: Likewise.
59838         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59839         * sysdeps/i386/i686/hp-timing.h: Likewise.
59840         * sysdeps/mach/_strerror.c: Likewise.
59841         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59842         * sysdeps/mach/hurd/sethostid.c: Likewise.
59843         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59844         * sysdeps/mach/xpg-strerror.c: Likewise.
59845         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59846         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59847         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59848         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59849         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59850         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59851         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59852         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59853         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59854         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59855         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59856         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59857         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59858         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59859         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59860         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59861         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59862         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59863         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59864         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59865         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59867         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59869         * stdio-common/_itoa.h: Moved to ...
59870         * sysdeps/generic/_itoa.h: Here.
59872         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59874         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59875         instead of "_itoa.h" and "_itowa.h".
59876         * stdio-common/vfprintf.: Likewise.
59878 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59880         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
59881         <bits/wordsize.h>.
59882         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
59883         (__signbit): Likwise.
59884         (llrintf): Likwise.
59885         (llrint): Likwise.
59887 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59889         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
59890         __WORDSIZE != 64.
59892 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
59894         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
59895         OVERFLOW_EXCEPTION_OK.
59896         * math/libm-test.inc ("Philosophy"): Update comment about
59897         exception testing.
59898         (OVERFLOW_EXCEPTION): Define.
59899         (OVERFLOW_EXCEPTION_OK): Likewise.
59900         (INVALID_EXCEPTION_OK): Renumber.
59901         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59902         (IGNORE_ZERO_INF_SIGN): Likewise.
59903         (test_exceptions): Handle FE_OVERFLOW.
59904         (exp10_test): Expect overflow exceptions.
59905         (exp2_test): Likewise.
59906         (expm1_test): Likewise.
59907         (nextafter_test): Likewise.
59908         (pow_test): Likewise.
59909         (scalbn_test): Likewise.
59910         (scalbln_test): Likewise.
59912 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59914         * sysdeps/x86_64/bits/atomic.h
59915         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
59916         64bit integer.
59917         (atomic_exchange_acq): Likewise.
59918         (__arch_exchange_and_add_body): Likewise.
59919         (__arch_add_body): Likewise.
59920         (atomic_add_negative): Likewise.
59921         (atomic_add_zero): Likewise.
59923 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59925         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
59926         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
59928 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59930         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
59931         Check __x86_64__ instead of __WORDSIZE.
59933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59935         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
59937 2012-03-19  David S. Miller  <davem@davemloft.net>
59939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59941         * sysdeps/sparc/fpu/fenv_private.h: New file.
59942         * sysdeps/sparc/fpu/math_private.h: Use it.
59943         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
59944         Remove.
59945         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
59946         (libc_feholdexcept_setroundl): Remove.
59947         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
59948         Remove.
59949         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
59950         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
59952 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59954         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
59955         int64_t instead of long int.
59956         (INSERT_WORDS64): Likwise.
59958 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59960         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
59961         _Unwind_GetCFA return to _Unwind_Ptr first.
59963 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
59965         [BZ #13629]
59966         * math/s_clog.c: Include <float.h>.
59967         (__clog): Scale large or subnormal inputs.
59968         * math/s_clogf.c: Likewise.
59969         * math/s_clogl.c: Likewise.
59970         * math/s_clog10.c: Include <float.h>.
59971         (M_LOG10_2): Define.
59972         (__clog10): Scale large or subnormal inputs.
59973         * math/s_clog10f.c: Likewise.
59974         * math/s_clog10l.c: Likewise.
59975         * math/libm-test.inc (clog_test): Add more tests.
59976         (clog10_test): Likewise.
59977         * sysdeps/i386/fpu/libm-test-ulps: Update.
59978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59980         [BZ #11451]
59981         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
59982         x and y.
59983         * math/libm-test.inc (atan2_test): Add another test.
59985         * Makerules (common-objdir-compile): Remove.
59986         * sysdeps/unix/Makefile (config-generated): Do not add
59987         $(unix-generated) to variable.
59988         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
59989         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
59990         Remove rule.
59991         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
59992         Likewise.
59993         [generic bits/local_lim.h] (before-compile): Do not append to
59994         variable.
59995         [generic bits/local_lim.h] (common-generated): Likewise.
59996         [generic sys/param.h] (before-compile): Do not append to variable.
59997         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
59998         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
59999         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60000         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60001         include.
60002         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60003         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60004         [generic sys/param.h] ($(addprefix
60005         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60006         [generic sys/param.h] (common-generated): Do not append to
60007         variable.
60008         [generic sys/param.h] (sysdep_headers): Likewise.
60009         [generic bits/errno.h] (before-compile): Do not append to
60010         variable.
60011         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60012         rule.
60013         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60014         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60015         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60016         [generic bits/errno.h] (common-generated): Do not append to
60017         variable.
60018         [generic bits/ioctls.h] (before-compile): Do not append to
60019         variable.
60020         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60021         rule.
60022         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60023         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60024         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60025         rule.
60026         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60027         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60028         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60029         [generic bits/ioctls.h] (common-generated): Do not append to
60030         variable.
60031         [generic sys/syscall.h] (syscall.h): Remove variable.
60032         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60033         rule.
60034         [generic sys/syscall.h] (before-compile): Do not append to
60035         variable.
60036         [generic sys/syscall.h] (common-generated): Likewise.
60037         * sysdeps/unix/errnos-tmpl.c: Remove file.
60038         * sysdeps/unix/errnos.awk: Likewise.
60039         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60040         * sysdeps/unix/ioctls.awk: Likewise.
60041         * sysdeps/unix/mk-local_lim.c: Likewise.
60042         * sysdeps/unix/snarf-ioctls: Likewise.
60044 2012-03-19  Richard Henderson  <rth@twiddle.net>
60046         * sysdeps/i386/fpu/fenv_private.h: New file.
60047         * sysdeps/i386/fpu/math_private.h: Use it.
60048         (math_opt_barrier, math_force_eval): Remove.
60049         (libc_feholdexcept_setround_53bit): Remove.
60050         (libc_feupdateenv_53bit): Remove.
60051         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60052         (math_opt_barrier, math_force_eval): Remove.
60053         (libc_feholdexcept): Remove.
60054         (libc_feholdexcept_setround): Remove.
60055         (libc_fetestexcept, libc_fesetenv): Remove.
60056         (libc_feupdateenv_test): Remove.
60057         (libc_feupdateenv, libc_feholdsetround): Remove.
60058         (libc_feresetround): Remove.
60060         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60061         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60063         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60064         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60065         (libc_feupdateenv_testl): New.
60066         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60067         (libc_feupdateenv_testf): New.
60068         (libc_feupdateenv): Use libc_feupdateenv_test.
60069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60070         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60072         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60073         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60074         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60075         (libc_feresetround_noex): New.
60076         (libc_feresetround_noexf): New.
60077         (libc_feresetround_noexl): New.
60078         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60079         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60080         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60081         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60082         SET_RESTORE_ROUND.
60083         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60085         (__cos): Likewise.
60086         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60087         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60088         SET_RESTORE_ROUND_NOEX.
60089         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60090         SET_RESTORE_ROUND_NOEXF.
60091         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60092         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60093         (libc_feholdsetroundf): New.
60094         (libc_feresetround, libc_feresetroundf): New.
60096         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60097         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60098         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60100         * sysdeps/generic/math_private.h: Include <fenv.h>.
60101         (default_libc_feholdexcept): New.
60102         (default_libc_feholdexcept_setround): New.
60103         (default_libc_fesetenv, default_libc_feupdateenv): New.
60104         (libc_feholdexcept): Only define if undefined.
60105         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60106         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60107         (libc_feholdexcept_setroundl): Likewise.
60108         (libc_feholdexcept_setround_53bit): Likewise.
60109         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60110         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60111         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60112         (libc_feupdateenv_53bit): Likewise.
60113         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60114         (libc_feholdexcept): Convert from macro to inline function.
60115         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60116         (libc_fesetenv, libc_feupdateenv): Likewise.
60118         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60119         not previously defined.
60120         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60121         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60122         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60123         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60124         * sysdeps/ieee754/flt-32/math_private.h: New file.
60125         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60126         math_private.h below SET_FLOAT_WORD.
60127         (__isnan, __isinf_ns, __finite): Remove.
60128         (__isnanf, __isinf_nsf, __finitef): Remove.
60130 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60134 2012-03-17  David S. Miller  <davem@davemloft.net>
60136         [BZ #6471]
60137         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60138         for 2.16.
60140 2012-03-16  David S. Miller  <davem@davemloft.net>
60142         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60143         warnings.
60145         [BZ #6471]
60146         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60147         properly.
60148         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60149         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60150         sysdep_routines when subdir is sysvipc.
60151         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60152         __getshmlba helper.
60154         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60156 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60158         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60159         [__LP64__].
60161 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60163         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60164         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60165         (__lround): Renamed to ...
60166         (__llround): This.  Replace long int with long long int.
60167         Define lround functions as aliases of llround functions.
60168         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60170 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60172         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60173         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60174         adresses to uintptr_t.  Replace "long int" and "unsigned long
60175         int" with "greg_t" on va_arg.
60177 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60179         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60180         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60182         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60183         Move e_machine check before EI_CLASS check.  Handle x32
60184         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60185         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60186         SKIP_EM_IA_64 and include
60187         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60189         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60190         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60191         (add_system_dir): New macro.
60193         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60194         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60196 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60198         [BZ #2551]
60199         [BZ #2552]
60200         [BZ #2553]
60201         [BZ #2554]
60202         [BZ #2562]
60203         [BZ #2563]
60204         [BZ #2565]
60205         [BZ #2566]
60206         [BZ #2576]
60207         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60208         (y0): Likewise.
60209         * math/w_j0f.c (j0f): Likewise.
60210         (y0f): Likewise.
60211         * math/w_j0l.c (__j0l): Likewise.
60212         (__y0l): Likewise.
60213         * math/w_j1.c (j1): Likewise.
60214         (y1): Likewise.
60215         * math/w_j1f.c (j1f): Likewise.
60216         (y1f): Likewise.
60217         * math/w_j1l.c (__j1l): Likewise.
60218         (__y1l): Likewise.
60219         * math/w_jn.c (jn): Likewise.
60220         (yn): Likewise.
60221         * math/w_jnf.c (jnf): Likewise.
60222         (ynf): Likewise.
60223         * math/w_jnl.c (__jnl): Likewise.
60224         (__ynl): Likewise.
60225         * math/libm-test.inc (j0_test): Add more tests.
60226         (j1_test): Likewise.
60227         (jn_test): Likewise.  Add trailing semicolon to existing test.
60228         (y0_test): Likewise.
60229         (y1_test): Likewise.
60230         * sysdeps/i386/fpu/libm-test-ulps: Update.
60231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60233         [BZ #13851]
60234         [BZ #13854]
60235         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60236         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60237         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60238         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60239         (__tanl): Set errno for infinite argument.
60240         * sysdeps/i386/fpu/mptan.c: Remove.
60241         * sysdeps/i386/fpu/s_tan.S: Likewise.
60242         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60243         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60244         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60245         * math/libm-test.inc (tan_test): Add more tests and enable more
60246         tests for double and long double.
60247         * sysdeps/i386/fpu/libm-test-ulps: Update.
60248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60250 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60252         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60253         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60255 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60257         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60258         * configure.in: Use it for both main tree and add-ons.
60259         * configure: Regenerated.
60261 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60263         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60265 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60267         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60268         in comment.
60270         [BZ #13851]
60271         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60272         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60273         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60274         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60275         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60276         infinite argument.
60277         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60278         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60279         != 0 for prec == 2.
60280         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60281         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60282         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60283         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60284         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60285         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60286         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60287         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60288         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60289         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60290         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60291         * math/libm-test.inc (cos_test): Add more tests and enable more
60292         tests for long double.
60293         (sin_test): Likewise.
60294         (sincos_test): Likewise.
60295         * sysdeps/i386/fpu/libm-test-ulps: Update.
60296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60298 2012-03-16  David S. Miller  <davem@davemloft.net>
60300         * sysdeps/sparc/fpu/math_private.h: New file.
60302 2012-03-15  David S. Miller  <davem@davemloft.net>
60304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60305         file.
60306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60308         file.
60309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60310         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60311         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60312         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60314         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60315         sysdep routines.
60316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60318         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60319         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60321         * sysdeps/sparc/sparc-ifunc.h: New file.
60322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60323         sparc-ifunc.h
60324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60326         Likewise.
60327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60328         Likewise.
60329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60333         Likewise.
60334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60339         Likewise.
60340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60341         Likewise.
60342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60346         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60347         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60348         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60349         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60350         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60351         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60352         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60353         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60356         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60357         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60358         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60359         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60360         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60361         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60362         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60363         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60365         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60367 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60369         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60370         scaling.
60371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60373 2012-03-15  Andreas Jaeger  <aj@suse.de>
60375         [BZ #13852]
60376         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60377         ieee754/flt-32 implementation for sin, cos and sincos.
60378         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60379         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60380         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60381         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60382         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60383         ieee754/flt-32 implementation for tan.
60385         * math/libm-test.inc (cos_test): Enable some large input tests for
60386         float as well
60387         (sin_test): Likewise.
60388         (sincos_test): Likewise.
60389         (tan_test): Add tests for large input.
60391         * sysdeps/i386/fpu/libm-test-ulps: Update.
60393 2012-03-15  Andreas Jaeger  <aj@suse.de>
60395         [BZ #13658]
60396         * math/libm-test.inc (cos_test): Add more test cases.
60397         (sin_test): Likewise.
60398         (sincos_test): Likewise.
60400 2012-03-15  Andreas Jaeger  <aj@suse.de>
60402         [BZ #13837]
60403         * math/libm-test.inc (cos_test): Add a test case for large input
60404         value.
60405         (sin_test): Likewise.
60406         (sincos_test): Likewise.
60408 2012-03-15  Andreas Jaeger  <aj@suse.de>
60409             Joseph Myers  <joseph@codesourcery.com>
60411         [BZ #13658]
60412         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60413         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60414         * sysdeps/i386/fpu/branred.c: Likewise.
60415         * sysdeps/i386/fpu/dosincos.c: Likewise.
60416         * sysdeps/i386/fpu/mpa.c: Likewise.
60417         * sysdeps/i386/fpu/s_cos.S: Likewise.
60418         * sysdeps/i386/fpu/s_sin.S: Likewise.
60419         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60420         * sysdeps/i386/fpu/sincos32.c: Likewise.
60422         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60423         Define.
60424         (libc_feupdateenv_53bit): Define.
60425         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60426         Define.
60427         (libc_feupdateenv_53bit): Define.
60429         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60430         53 bit (without extend i386 double precision).
60432         * math/libm-test.inc (sincos_test): Add tests for large input.
60433         (sin): Likewise.
60434         (cos): Likewise.
60436         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60438 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60442 2012-03-15  David S. Miller  <davem@davemloft.net>
60444         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60445         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60446         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60447         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60453         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60454         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60455         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60460         file.
60461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60463         file.
60464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60466         file.
60467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60469         file.
60470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60471         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60472         fmin/fmax sysdep routines.
60473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60475 2012-03-14  David S. Miller  <davem@davemloft.net>
60477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60481         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60482         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60483         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60484         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60491         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60492         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60493         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60494         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60497         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60498         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60499         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60500         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60501         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60502         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60503         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60504         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60505         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60506         routines.
60507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60508         file.
60509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60511         file.
60512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60514         file.
60515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60517         file.
60518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60520         file.
60521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60523         file.
60524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60525         file.
60526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60527         file.
60528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60529         file.
60530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60531         New file.
60532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60533         file.
60534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60535         file.
60536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60538         file.
60539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60541         file.
60542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60544         file.
60545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60547         VIS3 routines.
60549         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60550         New file.
60552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60554         * sysdeps/sparc/configure.in: New file.
60555         * sysdeps/sparc/configure: Generate.
60556         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60557         * configure: Regenerate.
60558         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60559         * config.make.in (have-as-vis3): New.
60560         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60561         available use -Av9d instead of -Av9a.
60562         * sysdeps/sparc/sparc64/Makefile: Likewise.
60563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60565         New file.
60566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60567         file.
60568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60569         New file.
60570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60571         file.
60572         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60573         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60574         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60575         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60576         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60578         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60579         fzeros/fnegs to load 0x80000000 into a float register instead of
60580         using the stack.
60581         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60583 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60586         bits/syscall.h.
60587         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60588         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60589         ($(inst_includedir)/bits/syscall.h): Remove rule.
60590         ($(objpfx)bits/syscall.d): Include instead of
60591         $(objpfx)syscall-list.d.
60592         (generated): Change syscall-list.h and syscall-list.d to
60593         bits/syscall.h and bits/syscall.d.
60595 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60597         [BZ #13846]
60598         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60600 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60602         [BZ #13841]
60603         * math/s_csqrt.c: Include <float.h>.
60604         (__csqrt): Scale large or subnormal inputs.
60605         * math/s_csqrtf.c: Likewise.
60606         * math/s_csqrtl.c: Likewise.
60607         * math/libm-test.inc (csqrt_test): Add more tests.
60608         * sysdeps/i386/fpu/libm-test-ulps: Update.
60609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60611         [BZ #13840]
60612         * math/libm-test.inc (hypot_test): Add more tests.
60614 2012-03-13  David S. Miller  <davem@davemloft.net>
60616         [BZ #13840]
60617         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60618         double-precision for the calculation instead of scaling.
60620 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60622         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60623         manipulate bits before adding and subtracting TWO52[sx].
60624         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60625         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60626         Likewise.
60627         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60629 2012-03-13  David S. Miller  <davem@davemloft.net>
60631         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60632         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60633         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60634         rtld-global-offsets.h
60635         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60637         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60638         large parameters.
60640         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60642         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60643         'err' in the ifdef scope in which it is actually used.
60645         * nss/nss_db/db-init.c: Include string.h
60647 2012-03-12  David S. Miller  <davem@davemloft.net>
60649         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60650         masking out of the most significant byte of random value used.
60651         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60652         Fix coding style in previous change.
60654         * sysdeps/unix/sysv/linux/kernel-features.h
60655         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60656         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60657         expression.
60658         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60659         later.
60661 2012-03-11  David S. Miller  <davem@davemloft.net>
60663         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60664         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60665         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60666         for 'resultvar' otherwise things get truncated on 64-bit.
60668         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60669         Fix masking out of the most significant byte of random value used.
60671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60673 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60677 2012-03-09  David S. Miller  <davem@davemloft.net>
60679         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60680         variables with appropriate CPP guards.
60681         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60682         from the frame pointer, not the stack pointer.  Correct layout
60683         comments.  Fix test on resulting framesize and the management of
60684         the outregs buffer for pltexit.  Preserve floating point return
60685         values across _dl_call_pltexit call.
60686         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60687         framesize and the management of the outregs buffer for pltexit.
60688         Preserve floating point return values across _dl_call_pltexit
60689         call.
60690         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60691         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60692         (la_sparc64_gnu_pltexit): New functions.
60693         (print_exit): Fix format string for return register value.
60695 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60697         * sunrpc/Makefile (others): Add rpcgen.
60698         ($(objpfx)rpcgen): Remove special build rule and dependency on
60699         libc.
60700         * sunrpc/rpcgen.c: New file.
60702 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60704         [BZ #13673]
60705         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60706         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60707         * sysdeps/i386/crti.S: Likewise.
60708         * sysdeps/i386/crtn.S: Likewise.
60709         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60710         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60711         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60712         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60713         * sysdeps/sh/crti.S: Likewise.
60714         * sysdeps/sh/crtn.S: Likewise.
60715         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60717         [BZ #13673]
60718         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60719         with URL.
60720         * locale/programs/locfile-kw.gperf: Likewise.
60721         * locale/programs/charmap-kw.h: Regenerated.
60722         * locale/programs/locfile-kw.h: Likewise.
60724         [BZ #13673]
60725         * intl/plural.y: Replace FSF snail mail address with URL.
60726         * intl/plural.c: Regenerated.
60728 2012-03-09  Richard Henderson  <rth@twiddle.net>
60730         * include/math_private.h: Remove file.
60731         * math/math_private.h: Move file ...
60732         * sysdeps/generic/math_private.h: ... here.
60734         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60735         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60736         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60738         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60739         and <math_private.h>.
60740         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60741         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60742         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60743         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60744         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60745         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60746         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60747         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60748         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60749         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60750         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60751         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60752         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60753         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60754         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60755         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60756         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60757         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60758         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60759         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60760         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60761         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60762         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60763         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60764         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60765         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60766         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60767         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60769         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60770         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60771         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60772         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60773         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60774         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60775         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60776         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60777         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60778         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60779         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60780         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60781         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60782         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60783         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60784         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60785         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60786         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60787         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60788         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60789         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60790         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60791         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60792         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60793         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60794         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60795         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60796         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60797         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60798         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60799         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60800         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60801         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60802         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60803         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60804         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60805         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60806         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60807         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60808         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60809         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60810         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60811         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60812         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60813         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60814         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60815         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60817         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60818         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60819         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60820         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60821         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60822         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60823         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60824         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60825         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60826         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60827         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60828         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60829         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60830         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60831         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60832         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60833         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60834         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60835         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60836         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60837         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60838         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60839         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60840         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60841         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60842         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60843         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60844         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60845         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60846         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60847         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60848         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60849         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60850         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60851         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60852         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60853         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60854         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60855         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60856         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60857         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60858         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60859         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60860         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60861         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60862         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60863         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60864         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60865         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60866         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60867         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60868         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60869         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60870         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60871         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60872         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60873         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60874         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60875         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60876         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60877         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60878         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
60879         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60880         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60881         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60882         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60883         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
60884         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
60885         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60886         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60887         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60888         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
60889         * sysdeps/ieee754/k_standard.c: Likewise.
60890         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60891         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60892         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60893         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60894         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60895         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60896         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60897         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60898         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60899         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60900         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60901         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60902         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60903         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60904         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60905         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60906         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60907         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60908         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60909         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
60910         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
60911         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
60912         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60913         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60914         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60915         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
60916         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60917         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60918         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60919         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60920         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60921         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60922         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60923         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60924         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60925         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60926         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
60927         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
60928         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
60929         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60930         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60931         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60932         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60933         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
60934         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60935         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60936         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
60937         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
60938         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
60939         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60940         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60941         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60942         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
60943         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
60944         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60945         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60946         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
60947         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
60948         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
60949         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
60950         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60951         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60952         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
60953         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60954         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60955         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60956         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60957         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60958         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60959         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60960         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60961         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60962         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60963         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60964         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60965         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60966         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
60967         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60968         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60969         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60970         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60971         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
60973         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
60974         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
60975         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
60976         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
60977         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
60978         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60979         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
60980         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
60981         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
60982         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
60983         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60984         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
60985         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
60986         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
60987         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
60988         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
60989         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
60990         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
60991         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
60992         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60993         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
60994         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
60995         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60996         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60997         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
60998         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
60999         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61000         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61001         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61002         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61003         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61004         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61005         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61006         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61007         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61008         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61009         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61010         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61011         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61012         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61013         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61014         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61015         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61016         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61017         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61018         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61019         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61020         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61021         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61022         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61023         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61024         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61025         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61026         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61027         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61028         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61029         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61030         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61031         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61032         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61033         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61034         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61035         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61036         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61037         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61038         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61039         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61040         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61041         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61042         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61043         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61044         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61045         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61046         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61047         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61048         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61049         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61050         * sysdeps/ieee754/s_lib_version.c: Likewise.
61051         * sysdeps/ieee754/s_matherr.c: Likewise.
61052         * sysdeps/ieee754/s_signgam.c: Likewise.
61053         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61054         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61055         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61056         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61057         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61058         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61059         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61060         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61061         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61062         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61063         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61064         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61065         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61066         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61067         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61068         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61069         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61070         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61071         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61072         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61073         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61075 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61077         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61078         * sunrpc/rpc_main.c: Likewise.
61079         * sunrpc/rpc_svcout.c: Likewise.
61081 2012-03-09  David S. Miller  <davem@davemloft.net>
61083         * include/math_private.h: New file.
61085 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61087         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61088         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61089         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61090         from <bits/socket_type.h>.
61091         (enum __socket_type): Don't define here.
61092         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61094         bits/socket_type.h.
61096         [BZ #13566]
61097         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61098         checking __USE_GNU.
61100         * Makerules ($(inst_includedir)/%.h): New rule.
61101         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61102         (install-others): Remove variable setting.
61103         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61105 2012-03-08  Richard Henderson  <rth@twiddle.net>
61107         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61108         from macro to inline function; merge with the
61109         !__LIBC_INTERNAL_MATH_INLINES version.
61110         (__ieee754_sqrtf): Likewise.
61112         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61113         to inline function.
61114         (__rintf, __floor, __floorf): Likewise.
61116         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61117         macro to inline function.
61118         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61120         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61121         not <math/math_private.h>.
61123 2012-03-08  David S. Miller  <davem@davemloft.net>
61125         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61126         copyright year.
61127         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61129 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61131         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61132         normalization.
61133         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61134         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61136 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61138         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61139         be defined individually, they must be defined as a block.  Define
61140         S for printing a string instead of hidint the different by using a
61141         macro for adding the 'l'.
61142         * stdio-common/tst-fphex-wide.c: Adjust.
61144 2012-03-07  Marek Polacek  <polacek@redhat.com>
61146         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61148 2012-03-08  Marek Polacek  <polacek@redhat.com>
61150         [BZ #13806]
61151         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61152         * stdio-common/tst-fphex.c: Define a few macros to make the
61153         test reusable.  Use them.
61154         * stdio-common/tst-fphex-wide.c: New file.
61156 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61158         [BZ #6911]
61159         * manual/macros.texi (gnusystems): New macro.
61160         (nongnusystems): Likewise.
61161         (gnulinuxhurdsystems): Likewise.
61162         (gnuhurdsystems): Likewise..
61163         (gnulinuxsystems): Likewise.
61164         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61165         variants of the GNU system, not "GNU system".
61166         * manual/conf.texi: Likewise.
61167         * manual/errno.texi: Likewise.  Update example of errno macro
61168         expansion.
61169         * manual/filesys.texi: Likewise.
61170         (getumask): Document as specific to GNU/Hurd.
61171         * manual/install.texi: Likewise.  Reword some references to
61172         GNU/Linux.
61173         * manual/intro.texi: Likewise.
61174         * manual/io.texi: Likewise.
61175         (File Name Portability): Detail which constraints are inapplicable
61176         to all GNU systems and which are only inapplicable to GNU/Hurd.
61177         * manual/job.texi: Likewise.
61178         * manual/llio.texi: Likewise.
61179         (O_NOCTTY): Document as present on GNU/Linux.
61180         * manual/maint.texi: Likewise.
61181         * manual/memory.texi: Likewise.
61182         * manual/pattern.texi: Likewise.
61183         * manual/pipe.texi: Likewise.
61184         * manual/process.texi: Likewise.
61185         * manual/resource.texi: Likewise.
61186         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61187         child on GNU/Hurd.
61188         * manual/setjmp.texi: Likewise.
61189         * manual/signal.texi: Likewise.
61190         * manual/startup.texi: Likewise.
61191         * manual/stdio.texi: Likewise.
61192         * manual/terminal.texi: Likewise.
61193         (ONLCR): Document as POSIX.
61194         (OXTABS): Document availability on GNU/Linux as XTABS.
61195         (ONOEOT): Document availability separately from other bits.
61196         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61197         * manual/time.texi: Likewise.
61198         * manual/users.texi: Likewise.
61199         * INSTALL: Regenerated.
61200         * sysdeps/gnu/errlist.c: Regenerated.
61202         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61203         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61204         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61205         puts.
61206         * configure: Regenerated.
61208 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61210         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61211         default includes instead of AC_HEADER_CHECK.
61212         * sysdeps/i386/configure: Regenerated.
61214         [BZ #10716]
61215         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61216         * math/s_cacoshf.c (__cacoshf): Likewise.
61217         * math/s_cacoshl.c (__cacoshl): Likewise.
61218         * math/s_casinh.c (__casinh): Set signs of result from argument.
61219         * math/s_casinhf.c (__casinhf): Likewise.
61220         * math/s_casinhl.c (__casinhl): Likewise.
61221         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61222         (casinh_test): Add more tests.
61223         * sysdeps/i386/fpu/libm-test-ulps: Update.
61224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61226 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61228         * po/zh_TW.po: Update from translation team.
61230         * login/Makefile (distribute): Remove variable.
61231         * catgets/Makefile: Likewise.
61232         * mach/Makefile: Likewise.
61233         * malloc/Makefile: Likewise.
61234         * misc/Makefile: Likewise.
61235         * iconv/Makefile: Likewise.
61236         * nscd/Makefile: Likewise.
61237         * hurd/Makefile: Likewise.
61238         * manual/Makefile: Likewise.
61239         * locale/Makefile: Likewise.
61240         * intl/Makefile: Likewise.
61241         * conform/Makefile: Likewise.
61242         * nss/Makefile: Likewise.
61243         * time/Makefile: Likewise.
61244         * soft-fp/Makefile: Likewise.
61245         * dirent/Makefile: Likewise.
61246         * gmon/Makefile: Likewise.
61247         * po/Makefile: Likewise.
61248         * rt/Makefile: Likewise.
61249         * socket/Makefile: Likewise.
61250         * math/Makefile: Likewise.
61251         * signal/Makefile: Likewise.
61252         * debug/Makefile: Likewise.
61253         * elf/Makefile: Likewise.
61254         * timezone/Makefile: Likewise.
61255         * stdlib/Makefile: Likewise.
61256         * iconvdata/Makefile: Likewise.
61257         * sunrpc/Makefile: Likewise.
61258         * io/Makefile: Likewise.
61259         * argp/Makefile: Likewise.
61260         * inet/Makefile: Likewise.
61261         * hesiod/Makefile: Likewise.
61262         * grp/Makefile: Likewise.
61263         * csu/Makefile: Likewise.
61264         * wctype/Makefile: Likewise.
61265         * crypt/Makefile: Likewise.
61266         * libio/Makefile: Likewise.
61267         * string/Makefile: Likewise.
61268         * nis/Makefile: Likewise.
61269         * resolv/Makefile: Likewise.
61270         * stdio-common/Makefile: Likewise.
61271         * wcsmbs/Makefile: Likewise.
61272         * dlfcn/Makefile: Likewise.
61273         * posix/Makefile: Likewise.
61275         [BZ #6959]
61276         * timezone/Makefile: Don't install timezone files, just the programs
61277         and scripts.
61279 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61281         * nss/databases.def: Add missing gshadow entry.
61283         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61285 2012-03-06  Marek Polacek  <polacek@redhat.com>
61287         [BZ #13726]
61288         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61289         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61290         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61291         * stdio-common/tst-long-dbl-fphex.c: New file.
61293 2012-03-06  David S. Miller  <davem@davemloft.net>
61295         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61296         (set_obp_int): New function.
61297         (get_obp_int): New function.
61298         (__get_clockfreq_via_dev_openprom): Likewise.
61299         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61300         Avoid unused variable warnings on 'val' and use builtin_expect.
61301         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61302         __builtin_expect.
61303         (INLINE_CLONE_SYSCALL): Likewise.
61305 2012-03-05  David S. Miller  <davem@davemloft.net>
61307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61309 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61313         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61314         only for |x| >= 40.
61315         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61317 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61319         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61320         Replace gettimeofday with __vdso_gettimeofday.
61322         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61323         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61324         __vdso_clock_gettime and __vdso_getcpu.
61326         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61327         time with __vdso_time.
61329 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61331         * manual/lang.texi (size_t): Note types to which size_t may be
61332         equivalent with the GNU C Library, but do not describe when
61333         differences between them are significant.
61335 2012-03-05  Andreas Jaeger  <aj@suse.de>
61337         * sysdeps/i386/fpu/libm-test-ulps: Update.
61339 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61341         [BZ #3976]
61342         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61343         (__ieee754_pow): Save and restore rounding mode and use
61344         round-to-nearest for main computations.
61345         * math/libm-test.inc (pow_test_tonearest): New function.
61346         (pow_test_towardzero): Likewise.
61347         (pow_test_downward): Likewise.
61348         (pow_test_upward): Likewise.
61349         (main): Call the new functions.
61350         * sysdeps/i386/fpu/libm-test-ulps: Update.
61351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61353         [BZ #3976]
61354         * math/libm-test.inc (cosh_test_tonearest): New function.
61355         (cosh_test_towardzero): Likewise.
61356         (cosh_test_downward): Likewise.
61357         (cosh_test_upward): Likewise.
61358         (sinh_test_tonearest): Likewise.
61359         (sinh_test_towardzero): Likewise.
61360         (sinh_test_downward): Likewise.
61361         (sinh_test_upward): Likewise.
61362         (main): Call the new functions.
61363         * sysdeps/i386/fpu/libm-test-ulps: Update.
61364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61366 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61368         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61369         default stack guard is set in last bytes.
61370         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61372 2012-03-05  Kees Cook  <keescook@chromium.org>
61374         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61376         [BZ #13656]
61377         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61378         possibly allocate from heap instead of stack.
61379         * stdio-common/bug-vfprintf-nargs.c: New file.
61380         * stdio-common/Makefile (tests): Add nargs overflow test.
61382 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61386 2012-03-03  Marek Polacek  <polacek@redhat.com>
61388         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61389         * math/math_private.h: Likewise.
61390         * stdlib/tst-strtod.c: Likewise.
61391         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61392         * sysdeps/x86_64/bits/atomic.h: Likewise.
61394 2012-03-02  David S. Miller  <davem@davemloft.net>
61396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61400         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61401         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61402         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61403         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61405 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61407         [BZ #13792]
61408         * manual/examples/README: New file, says the example source files
61409         can be used under GPL>=2.
61410         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61411         line containing just "*/".
61412         * manual/examples/add.c: Add copyright header (GPL>=2).
61413         * manual/examples/argp-ex1.c: Likewise.
61414         * manual/examples/argp-ex2.c: Likewise.
61415         * manual/examples/argp-ex3.c: Likewise.
61416         * manual/examples/argp-ex4.c: Likewise.
61417         * manual/examples/atexit.c: Likewise.
61418         * manual/examples/db.c: Likewise.
61419         * manual/examples/dir.c: Likewise.
61420         * manual/examples/dir2.c: Likewise.
61421         * manual/examples/execinfo.c: Likewise.
61422         * manual/examples/filecli.c: Likewise.
61423         * manual/examples/filesrv.c: Likewise.
61424         * manual/examples/fmtmsgexpl.c: Likewise.
61425         * manual/examples/genpass.c: Likewise.
61426         * manual/examples/inetcli.c: Likewise.
61427         * manual/examples/inetsrv.c: Likewise.
61428         * manual/examples/isockad.c: Likewise.
61429         * manual/examples/longopt.c: Likewise.
61430         * manual/examples/memopen.c: Likewise.
61431         * manual/examples/memstrm.c: Likewise.
61432         * manual/examples/mkfsock.c: Likewise.
61433         * manual/examples/mkisock.c: Likewise.
61434         * manual/examples/mygetpass.c: Likewise.
61435         * manual/examples/pipe.c: Likewise.
61436         * manual/examples/popen.c: Likewise.
61437         * manual/examples/rprintf.c: Likewise.
61438         * manual/examples/search.c: Likewise.
61439         * manual/examples/select.c: Likewise.
61440         * manual/examples/setjmp.c: Likewise.
61441         * manual/examples/sigh1.c: Likewise.
61442         * manual/examples/sigusr.c: Likewise.
61443         * manual/examples/stpcpy.c: Likewise.
61444         * manual/examples/strdupa.c: Likewise.
61445         * manual/examples/strftim.c: Likewise.
61446         * manual/examples/strncat.c: Likewise.
61447         * manual/examples/subopt.c: Likewise.
61448         * manual/examples/swapcontext.c: Likewise.
61449         * manual/examples/termios.c: Likewise.
61450         * manual/examples/testopt.c: Likewise.
61451         * manual/examples/testpass.c: Likewise.
61452         * manual/examples/timeval_subtract.c: Likewise.
61454         [BZ #13792]
61455         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61456         function to ...
61457         * manual/timeval_subtract.c.texi: ... here, new file.
61459 2012-03-02  David S. Miller  <davem@davemloft.net>
61461         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61463 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61465         [BZ #3976]
61466         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61467         (__sin): Save and restore rounding mode and use round-to-nearest
61468         for all computations.
61469         (__cos): Save and restore rounding mode and use round-to-nearest
61470         for all computations.
61471         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61472         <fenv.h>.
61473         (tan): Save and restore rounding mode and use round-to-nearest for
61474         all computations.
61475         * math/libm-test.inc (cos_test_tonearest): New function.
61476         (cos_test_towardzero): Likewise.
61477         (cos_test_downward): Likewise.
61478         (cos_test_upward): Likewise.
61479         (sin_test_tonearest): Likewise.
61480         (sin_test_towardzero): Likewise.
61481         (sin_test_downward): Likewise.
61482         (sin_test_upward): Likewise.
61483         (tan_test_tonearest): Likewise.
61484         (tan_test_towardzero): Likewise.
61485         (tan_test_downward): Likewise.
61486         (tan_test_upward): Likewise.
61487         (main): Call the new functions.
61488         * sysdeps/i386/fpu/libm-test-ulps: Update.
61489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61491         [BZ #10135]
61492         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61493         small n, then large n, before computing and testing k+n.
61494         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61495         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61496         Likewise.
61497         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61498         Likewise.
61499         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61500         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61501         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61502         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61503         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61504         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61505         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61506         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61507         * math/libm-test.inc (scalbn_test): Add more tests.
61508         (scalbln_test): Likewise.
61510         * manual/filesys.texi (mode_t): Describe constraints on size and
61511         signedness, not exact equivalence to a particular type.
61512         (ino_t): Likewise.
61513         (ino64_t): Likewise.
61514         (dev_t): Likewise.
61515         (nlink_t): Likewise.
61516         (blkcnt_t): Likewise.
61517         (blkcnt64_t): Likewise.
61518         * manual/llio.texi (off_t): Likewise.
61520         [BZ #3976]
61521         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61522         (__ieee754_exp): Save and restore rounding mode and use
61523         round-to-nearest for all computations.
61524         * math/libm-test.inc (exp_test_tonearest): New function.
61525         (exp_test_towardzero): Likewise.
61526         (exp_test_downward): Likewise.
61527         (exp_test_upward): Likewise.
61528         (main): Call the new functions.
61529         * sysdeps/i386/fpu/libm-test-ulps: Update.
61530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61532 2012-03-01  Chris Demetriou  <cgd@google.com>
61534         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61535         have predictable order.
61537 2012-03-01  David S. Miller  <davem@davemloft.net>
61539         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61541         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61542         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61543         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61544         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61546         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61547         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61548         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61550         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61551         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61552         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61553         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61554         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61558         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61559         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61560         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61562         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61563         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61564         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61565         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61566         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61567         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61568         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61569         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61570         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61571         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61572         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61573         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61575         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61576         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61577         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61578         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61579         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61580         * sysdeps/sparc/elf/configure: Regenerated.
61582 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61584         * configure.in (AS, LD): Require binutils 2.20 or later.
61585         * configure: Regenerated.
61586         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61587         as required minimum version.
61588         * INSTALL: Regenerated.
61590         [BZ #2541]
61591         [BZ #4108]
61592         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61593         before squaring exponent.
61594         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61595         bottom long double and 27 bits of top long double before squaring
61596         exponent.
61597         * math/libm-test.inc (erfc_test): Add more tests.
61598         * sysdeps/i386/fpu/libm-test-ulps: Update.
61599         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61602 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61604         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61605         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61606         containing bit-fields.
61607         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61608         * soft-fp/single.h (_FP_UNION_S): Likewise.
61609         * soft-fp/double.h (_FP_UNION_D): Likewise.
61611 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61613         [BZ #13786]
61614         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61615         not include ../strcmp.S.
61616         [USE_AS_STRNCASECMP_L]: Likewise.
61617         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61618         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61619         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61620         (__strncasecmp_l_ia32): Define as alias to
61621         __strncasecmp_l_nonascii.
61623         [BZ #5794]
61624         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61625         * sysdeps/i386/fpu/libm-test-ulps: Update.
61626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61628         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61631 2012-02-29  Jeff Law  <law@redhat.com>
61633         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61634         out of bounds read.
61636 2012-02-29  Marek Polacek  <polacek@redhat.com>
61638         [BZ #13706]
61639         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61640         * elf/Makefile: Add rules to run tst-unused-dep.out.
61642 2012-02-28  David S. Miller  <davem@davemloft.net>
61644         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61645         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61646         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61647         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61648         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61649         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61651 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61653         * math/libm-test.inc (llround_test): Move one test from
61654         lround_test.  Use TEST_f_L in moved test.
61655         (lround_test): Move misplaced test to llround_test.  Add testcase
61656         from bug 2561.
61658 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61660         * sysdeps/x86_64/fpu/e_expf.S: New file.
61661         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61663 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61665         [BZ #13637]
61666         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61667         of remain_len that may cause incomplete multi-byte character and
61668         false match.
61669         * posix/bug-regex33.c: New file.
61670         * posix/Makefile (tests): Add bug-regex33.
61672 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61674         * manual/macros.texi: New file.
61675         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61676         * manual/libc.texinfo: Include macros.texi.
61677         * manual/creatute.texi: Likewise.
61678         * manual/install.texi: Likewise.
61679         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61680         @glibcadj{} in references to the GNU C Library.
61681         * manual/charset.texi: Likewise.
61682         * manual/conf.texi: Likewise.
61683         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61684         when not using those macros.
61685         * manual/creature.texi: Likewise.
61686         * manual/crypt.texi: Likewise.
61687         * manual/errno.texi: Likewise.
61688         * manual/filesys.texi: Likewise.
61689         * manual/header.texi: Likewise.
61690         * manual/install.texi: Likewise.
61691         * manual/intro.texi: Likewise.
61692         * manual/io.texi: Likewise.
61693         * manual/job.texi: Likewise.
61694         * manual/lang.texi: Likewise.
61695         * manual/libc.texiinfo: Likewise.
61696         * manual/llio.texi: Likewise.
61697         * manual/locale.texi: Likewise.
61698         * manual/maint.texi: Likewise.
61699         * manual/math.texi: Likewise.
61700         * manual/memory.texi: Likewise.
61701         * manual/message.texi: Likewise.
61702         * manual/nss.texi: Likewise.
61703         * manual/pattern.texi: Likewise.
61704         * manual/process.texi: Likewise.
61705         * manual/resource.texi: Likewise.
61706         * manual/search.texi: Likewise.
61707         * manual/setjmp.texi: Likewise.
61708         * manual/signal.texi: Likewise.
61709         * manual/socket.texi: Likewise.
61710         * manual/startup.texi: Likewise.
61711         * manual/stdio.texi: Likewise.
61712         * manual/string.texi: Likewise.
61713         * manual/sysinfo.texi: Likewise.
61714         * manual/syslog.texi: Likewise.
61715         * manual/terminal.texi: Likewise.
61716         * manual/time.texi: Likewise.
61717         * manual/users.texi: Likewise.
61718         * INSTALL: Regenerated.
61719         * NOTES: Regenerated.
61720         * sysdeps/gnu/errlist.c: Regenerated.
61722 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61724         * include/dirent.h: Include <dirstream.h> before
61725         <dirent/dirent.h>.
61727 2012-02-28  David S. Miller  <davem@davemloft.net>
61729         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61730         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61731         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61732         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61734 2012-02-27  David S. Miller  <davem@davemloft.net>
61736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61738         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61739         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61742         frame pointer instead of stack pointer relative arg slot.
61743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61744         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61745         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61747 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61749         [BZ #3992]
61750         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61752 2012-02-27  David S. Miller  <davem@davemloft.net>
61754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61758         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61759         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61760         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61761         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61763 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61765         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61766         later.  Allow versions 5-9.
61767         * configure: Regenerated.
61768         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61769         required minimum version and 4.6 as recommended version.  Do not
61770         mention bugs in GCC 2.7 and 2.8.
61771         * INSTALL: Regenerated.
61773 2012-02-27  David S. Miller  <davem@davemloft.net>
61775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61779         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61780         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61781         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61782         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61784         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61785         manipulate bits before adding and subtracting TWO112[sx].
61786         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61788 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61790         [BZ #13775]
61791         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61792         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61793         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61794         being in POSIX, because they are in 1003.1-2008.
61796         * rt/tst-aio.c: Include <fcntl.h>.
61797         * rt/tst-aio7.c: Likewise.
61798         * rt/tst-aio64.c: Likewise.
61800         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61802 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61804         * manual/install.texi (--with-headers): Describe headers as
61805         interface headers, not private headers.
61806         (Specific advice for GNU/Linux systems): Describe use of headers
61807         from "make headers_install", not private headers from older
61808         kernels.
61809         * INSTALL: Regenerated.
61810         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61811         Change to 2.6.19.
61812         * sysdeps/unix/sysv/linux/configure: Regenerated.
61814         * manual/llio.texi (fclean): Remove documentation.
61816         * manual/Makefile (libc-texi-generated): New variable.  Include
61817         version.texi.
61818         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61819         $(libc-texi-generated), not duplicated list of files.
61820         (version.texi, stamp-version): New rules.
61821         (realclean): Remove $(libc-texi-generated), not individual files
61822         from that list.  Do not remove dir-add.texinfo.
61823         * manual/libc.texinfo: Comment out uses of edition numbers and
61824         references to printed manual.  Remove last-updated dates.
61825         (EDITION): Comment out.
61826         (ISBN): Likewise.
61827         (VERSION, UPDATED): Remove.
61828         (version.texi): Include.
61830 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61832         * sysdeps/posix/spawni.c: Include <signal.h>.
61833         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61834         * sysdeps/pthread/aio_fsync.c: Likewise.
61836 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61838         * conform/Makefile (tests): Run only when not cross-compiling and
61839         when fast-check is not defined.
61841         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61842         * conform/data/limits.h-data: Fixes for POSIX2008.
61843         * conform/run-conformtest.sh: Run all tests.
61844         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61845         headers.
61846         * include/bits/dlfcn.h: Likewise.
61847         * include/langinfo.h: Likewise.
61848         * include/monetary.h: Likewise.
61849         * include/sys/poll.h: Likewise.
61851         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61852         for __USE_GNU.
61853         * posix/spawn.h: Define __need_sigset_t.
61854         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61855         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61856         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61857         to get sigevent_t only.
61858         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61859         only for __USE_GNU.
61860         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61861         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61862         process_vm_writev only for __USE_GNU.
61863         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61865         * conform/Makefile: For now ignore errors from run-conformtest.
61866         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61867         POSIX to avoid namespace pollution.  Don't prepend headers.
61868         * conform/data/aio.h-data: Fixes for POSIX testing.
61869         * conform/data/fcntl.h-data: Likewise.
61870         * conform/data/glob.h-data: Likewise.
61871         * conform/data/grp.h-data: Likewise.
61872         * conform/data/pthread.h-data: Likewise.
61873         * conform/data/pwd.h-data: Likewise.
61874         * conform/data/signal.h-data: Likewise.
61875         * conform/data/spawn.h-data: Likewise.
61876         * conform/data/stdio.h-data: Likewise.
61877         * conform/data/stdlib.h-data: Likewise.
61878         * conform/data/stropts.h-data: Likewise.
61879         * conform/data/sys/mman.h-data: Likewise.
61880         * conform/data/sys/stat.h-data: Likewise.
61881         * conform/data/sys/types.h-data: Likewise.
61882         * conform/data/sys/wait.h-data: Likewise.
61883         * conform/data/time.h-data: Likewise.
61884         * conform/data/unistd.h-data: Likewise.
61885         * conform/data/utime.h-data: Likewise.
61887         * io/sys/stat.h: fchmod was always in POSIX.
61888         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
61889         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
61890         * rt/aio.h: Define __need_timespec before including <time.h>.
61891         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
61892         struct.  Add forward declaration of pthread_attr_t and use it in
61893         sigevent.
61894         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61895         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61896         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
61897         always remove CLK_TCK definition.
61899 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
61901         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
61903 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
61905         * conform/run-conformtest.sh: New file.
61906         * conform/Makefile: Run run-conformtest for tests.
61907         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
61908         support.
61910         * conform/data/uchar.h-data: New file.
61911         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
61912         * conform/data/arpa/inet.h-data: Likewise.
61913         * conform/data/assert.h-data: Likewise.
61914         * conform/data/complex.h-data: Likewise.
61915         * conform/data/cpio.h-data: Likewise.
61916         * conform/data/ctype.h-data: Likewise.
61917         * conform/data/dirent.h-data: Likewise.
61918         * conform/data/dlfcn.h-data: Likewise.
61919         * conform/data/errno.h-data: Likewise.
61920         * conform/data/fcntl.h-data: Likewise.
61921         * conform/data/float.h-data: Likewise.
61922         * conform/data/fmtmsg.h-data: Likewise.
61923         * conform/data/fnmatch.h-data: Likewise.
61924         * conform/data/ftw.h-data: Likewise.
61925         * conform/data/glob.h-data: Likewise.
61926         * conform/data/grp.h-data: Likewise.
61927         * conform/data/iconv.h-data: Likewise.
61928         * conform/data/inttypes.h-data: Likewise.
61929         * conform/data/langinfo.h-data: Likewise.
61930         * conform/data/libgen.h-data: Likewise.
61931         * conform/data/limits.h-data: Likewise.
61932         * conform/data/locale.h-data: Likewise.
61933         * conform/data/math.h-data: Likewise.
61934         * conform/data/monetary.h-data: Likewise.
61935         * conform/data/mqueue.h-data: Likewise.
61936         * conform/data/ndbm.h-data: Likewise.
61937         * conform/data/net/if.h-data: Likewise.
61938         * conform/data/netdb.h-data: Likewise.
61939         * conform/data/netinet/in.h-data: Likewise.
61940         * conform/data/nl_types.h-data: Likewise.
61941         * conform/data/poll.h-data: Likewise.
61942         * conform/data/pthread.h-data: Likewise.
61943         * conform/data/pwd.h-data: Likewise.
61944         * conform/data/regex.h-data: Likewise.
61945         * conform/data/sched.h-data: Likewise.
61946         * conform/data/search.h-data: Likewise.
61947         * conform/data/semaphore.h-data: Likewise.
61948         * conform/data/setjmp.h-data: Likewise.
61949         * conform/data/signal.h-data: Likewise.
61950         * conform/data/spawn.h-data: Likewise.
61951         * conform/data/stdarg.h-data: Likewise.
61952         * conform/data/stdio.h-data: Likewise.
61953         * conform/data/stdlib.h-data: Likewise.
61954         * conform/data/string.h-data: Likewise.
61955         * conform/data/strings.h-data: Likewise.
61956         * conform/data/stropts.h-data: Likewise.
61957         * conform/data/sys/ipc.h-data: Likewise.
61958         * conform/data/sys/mman.h-data: Likewise.
61959         * conform/data/sys/msg.h-data: Likewise.
61960         * conform/data/sys/resource.h-data: Likewise.
61961         * conform/data/sys/select.h-data: Likewise.
61962         * conform/data/sys/sem.h-data: Likewise.
61963         * conform/data/sys/shm.h-data: Likewise.
61964         * conform/data/sys/socket.h-data: Likewise.
61965         * conform/data/sys/stat.h-data: Likewise.
61966         * conform/data/sys/statvfs.h-data: Likewise.
61967         * conform/data/sys/time.h-data: Likewise.
61968         * conform/data/sys/timeb.h-data: Likewise.
61969         * conform/data/sys/times.h-data: Likewise.
61970         * conform/data/sys/types.h-data: Likewise.
61971         * conform/data/sys/uio.h-data: Likewise.
61972         * conform/data/sys/un.h-data: Likewise.
61973         * conform/data/sys/utsname.h-data: Likewise.
61974         * conform/data/sys/wait.h-data: Likewise.
61975         * conform/data/syslog.h-data: Likewise.
61976         * conform/data/tar.h-data: Likewise.
61977         * conform/data/termios.h-data: Likewise.
61978         * conform/data/utime.h-data: Likewise.
61979         * conform/data/utmpx.h-data: Likewise.
61980         * conform/data/varargs.h-data: Likewise.
61981         * conform/data/wchar.h-data: Likewise.
61982         * conform/data/wctype.h-data: Likewise.
61983         * conform/data/wordexp.h-data: Likewise.
61985         * include/stropts.h: New file.
61986         * include/uchar.h: New file.
61987         * include/aio.h: Changes to allow conformtest.pl to use the headers.
61988         * include/assert.h: Likewise.
61989         * include/ctype.h: Likewise.
61990         * include/dirent.h: Likewise.
61991         * include/dlfcn.h: Likewise.
61992         * include/fcntl.h: Likewise.
61993         * include/fnmatch.h: Likewise.
61994         * include/glob.h: Likewise.
61995         * include/grp.h: Likewise.
61996         * include/libio.h: Likewise.
61997         * include/locale.h: Likewise.
61998         * include/math.h: Likewise.
61999         * include/net/if.h: Likewise.
62000         * include/netdb.h: Likewise.
62001         * include/netinet/in.h: Likewise.
62002         * include/pthread.h: Likewise.
62003         * include/pwd.h: Likewise.
62004         * include/regex.h: Likewise.
62005         * include/sched.h: Likewise.
62006         * include/search.h: Likewise.
62007         * include/setjmp.h: Likewise.
62008         * include/signal.h: Likewise.
62009         * include/stdio.h: Likewise.
62010         * include/stdlib.h: Likewise.
62011         * include/string.h: Likewise.
62012         * include/sys/cdefs.h: Likewise.
62013         * include/sys/mman.h: Likewise.
62014         * include/sys/msg.h: Likewise.
62015         * include/sys/resource.h: Likewise.
62016         * include/sys/select.h: Likewise.
62017         * include/sys/socket.h: Likewise.
62018         * include/sys/stat.h: Likewise.
62019         * include/sys/statvfs.h: Likewise.
62020         * include/sys/time.h: Likewise.
62021         * include/sys/times.h: Likewise.
62022         * include/sys/uio.h: Likewise.
62023         * include/sys/utsname.h: Likewise.
62024         * include/sys/wait.h: Likewise.
62025         * include/termios.h: Likewise.
62026         * include/time.h: Likewise.
62027         * include/ulimit.h: Likewise.
62028         * include/unistd.h: Likewise.
62029         * include/utime.h: Likewise.
62030         * include/wchar.h: Likewise.
62031         * include/wctype.h: Likewise.
62032         * include/wordexp.h: Likewise.
62034         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62036         * time/time.h: TIME_UTC must be a macro.
62037         Make timespec_get available for ISO C11 only as well.
62039 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62041         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62042         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62044 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62046         * configure.in: Use -o not -a in test for unsupported multi-arch.
62048 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62050         * manual/texinfo.tex: Update to version 2012-01-19.16.
62052 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62054         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62056 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62058         [BZ #13738]
62059         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62060         * manual/fdl-1.3.texi: New file.
62061         * manual/fdl-1.1.texi: File removed.
62063         [BZ #13738]
62064         * manual/libc.texinfo (FDL_VERSION): New @set.
62065         Use it for mention of FDL in cover text.
62066         (Documentation License): Use it in @include file name.
62068 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62069             Roland McGrath  <roland@hack.frob.com>
62071         [BZ #5461]
62072         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62073         (not LONG_LONG_MAX and LONG_LONG_MIN.
62074         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62075         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62076         name.
62077         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62079 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62081         [BZ #2547]
62082         [BZ #11365]
62083         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62084         manipulate bits before adding and subtracting TWO23[sx].
62085         * math/libm-test.inc (nearbyint_test): Add more tests.
62087 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62089         [BZ #2548]
62090         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62091         bits before adding and subtracting TWO23[sx].
62092         * math/libm-test.inc (rint_test): Add more tests.
62093         (rint_test_tonearest): Likewise.
62094         (rint_test_towardzero): Likewise.
62095         (rint_test_downward): Likewise.
62096         (rint_test_upward: Likewise.
62098 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62100         [BZ #10110]
62101         * include/stdc-predef.h: New file.  Extracted from features.h.
62102         * include/features.h: Include stdc-predef.h.
62103         * Makefile (headers): Add stdc-predef.h.
62104         * CONFORMANCE (Compiler limitations): Update.
62106 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62108         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62110 2012-02-21  David S. Miller  <davem@davemloft.net>
62112         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62113         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62115 2012-02-20  David S. Miller  <davem@davemloft.net>
62117         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62118         using a normal save/restore sequence, rather than allocating a
62119         dummy stack frame just to store a frame pointer and restore.
62120         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62122 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62124         * manual/install.texi: Fix stray word in line-wrapped comment.
62126 2012-02-20  David S. Miller  <davem@davemloft.net>
62128         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62129         both binutils and gcc support GOTDATA.
62131         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62132         "rd %pc" in the PIC register setup sequences.
62134         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62135         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62136         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62137         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62138         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62140         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62141         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62142         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62143         (SYSCALL_ERROR_HANDLER): Likewise.
62144         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62145         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62147         (SYSCALL_ERROR_HANDLER): Likewise.
62149         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62150         (HAVE_GCC_GOTDATA): New.
62151         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62152         relocation support in both binutils and gcc.
62153         * sysdeps/sparc/elf/configure: Regenerate.
62155         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62156         * sysdeps/sparc/sparc32/elf/configure: Delete.
62157         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62158         * sysdeps/sparc/sparc64/elf/configure: Delete.
62159         * sysdeps/sparc/elf/configure.in: New file.
62160         * sysdeps/sparc/elf/configure: Generate.
62162         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62163         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62164         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62165         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62166         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62168 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62170         * manual/install.texi: Do not mention specific glibc version
62171         numbers.
62172         * manual/libc.texinfo (VERSION, UPDATED): Update.
62173         (@copying): Use @copyright{} and range of years.
62175 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62177         [BZ #13695]
62178         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62179         [crti.S not in sysdirs] (generated): Do not append.
62180         [crti.S not in sysdirs] (omit-deps): Likewise.
62181         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62182         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62183         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62184         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62185         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62186         Likewise.
62187         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62188         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62189         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62190         * csu/defs.awk: Remove file.
62191         * sysdeps/generic/initfini.c: Likewise.
62192         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62193         variable.
62194         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62195         Likewise.
62197 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62199         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62200         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62201         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62202         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62203         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62204         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62205         <bits/epoll.h>.
62206         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62207         (__EPOLL_PACKED): Define to empty if not defined by
62208         <bits/epoll.h>.
62209         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62211         bits/epoll.h.
62213 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62215         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62216         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62217         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62218         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62219         <bits/timerfd.h>.
62220         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62222         bits/timerfd.h.
62224 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62226         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62227         in C locale.
62228         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62229         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62230         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62233 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62235         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62236         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62238 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62240         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62241         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62242         defined.
62243         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62244         Likewise.
62245         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62246         entry for 2.16.
62248 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62250         * math/w_acos.c: Use non-signaling floating-point comparisons.
62251         * math/w_acosf.c: Likewise.
62252         * math/w_acosh.c: Likewise.
62253         * math/w_acoshf.c: Likewise.
62254         * math/w_acoshl.c: Likewise.
62255         * math/w_acosl.c: Likewise.
62256         * math/w_asin.c: Likewise.
62257         * math/w_asinf.c: Likewise.
62258         * math/w_asinl.c: Likewise.
62259         * math/w_atanh.c: Likewise.
62260         * math/w_atanhf.c: Likewise.
62261         * math/w_atanhl.c: Likewise.
62262         * math/w_exp2.c: Likewise.
62263         * math/w_exp2f.c: Likewise.
62264         * math/w_exp2l.c: Likewise.
62265         * math/w_j0.c: Likewise.
62266         * math/w_j0f.c: Likewise.
62267         * math/w_j0l.c: Likewise.
62268         * math/w_j1.c: Likewise.
62269         * math/w_j1f.c: Likewise.
62270         * math/w_j1l.c: Likewise.
62271         * math/w_jn.c: Likewise.
62272         * math/w_jnf.c: Likewise.
62273         * math/w_log.c: Likewise.
62274         * math/w_log10.c: Likewise.
62275         * math/w_log10f.c: Likewise.
62276         * math/w_log10l.c: Likewise.
62277         * math/w_log2.c: Likewise.
62278         * math/w_log2f.c: Likewise.
62279         * math/w_log2l.c: Likewise.
62280         * math/w_logf.c: Likewise.
62281         * math/w_logl.c: Likewise.
62282         * math/w_sqrt.c: Likewise.
62283         * math/w_sqrtf.c: Likewise.
62284         * math/w_sqrtl.c: Likewise.
62285         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62286         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62287         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62288         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62289         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62291 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62293         [BZ #9739]
62294         * manual/string.texi (strnlen): Use correct parameter name in
62295         equivalent expression.
62297 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62299         [BZ #11174]
62300         * manual/users.texi (seteuid): Consistently use neweuid for
62301         argument name.
62303 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62305         [BZ #13704]
62306         * manual/nss.texi (Services in the NSS configuration): Correct
62307         list of services in example configuration file.
62309 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62311         [BZ #11322]
62312         * manual/arith.texi: Remove statements about negative zero
62313         behaving identically to zero.
62315 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62317         [BZ #5993]
62318         * manual/install.texi: Do not document upgrading from libc5.
62320 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62322         [BZ #4596]
62323         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62325 2012-02-18  David S. Miller  <davem@davemloft.net>
62327         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62328         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62329         %o7 across the call.
62330         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62331         instead.
62332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62333         SETUP_PIC_REG_LEAF.
62334         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62335         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62336         * sysdeps/sparc/crtn.S: Likewise.
62338 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62340         * aout/Makefile: Remove.
62342 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62344         [BZ #13058]
62345         * manual/examples/argp-ex1.c (main): Format definition in GNU
62346         style.
62347         * manual/examples/argp-ex2.c (main): Likewise.
62348         * manual/examples/argp-ex3.c (main): Likewise.
62349         * manual/examples/argp-ex4.c (main): Likewise.
62350         * manual/examples/longopt.c (main): Use new-style prototype
62351         definition.
62352         * manual/examples/strncat.c (main): Specify return type and use
62353         (void) for arguments.
62354         * manual/examples/subopt.c (main): Use char **argv argument.
62356 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62358         [BZ #5077]
62359         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62360         rounding modes.
62362 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62364         [BZ #6907]
62365         * manual/string.texi (strchr): Change when strchrnul is
62366         recommended.
62368 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62370         [BZ #174]
62371         * manual/locale.texi (setlocale): Document LOCPATH.
62373 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62375         [BZ #10210]
62376         * manual/process.texi (execle): Move @dots{} before last argument.
62378 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62380         [BZ #12047]
62381         * manual/charset.texi (Generic Charset Conversion): Fix typo
62382         (LC_TYPE -> LC_CTYPE).
62384 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62386         [BZ #5805]
62387         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62388         (scalbnf): Likewise.
62389         (scalbnl): Likewise.
62390         (scalbln): Likewise.
62391         (scalblnf): Likewise.
62392         (scalblnl): Likewise.
62393         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62394         (vwarnx): Likewise.
62395         (verr): Likewise.
62396         (verrx): Likewise.
62397         * manual/filesys.texi (telldir): Use braces around return type.
62398         * manual/llio.texi (mmap): Add space after comma.
62399         (mmap64): Likewise.
62400         * manual/math.texi (jn): Use @var{} on parameter names.
62401         (jnf): Likewise.
62402         (jnl): Likewise.
62403         (yn): Likewise.
62404         (ynf): Likewise.
62405         (ynl): Likewise.
62406         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62407         line.
62408         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62409         "...".
62410         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62411         (sched_get_priority_max): Likewise.
62412         * manual/signal.texi (sigvec): Add space after comma.
62413         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62414         names.
62415         (if_indextoname): Likewise.
62416         (if_freenameindex): Likewise.
62417         (sendto): Use ',' instead of '.' in prototype.
62418         * manual/startup.texi (syscall): Use @dots{} instead of literal
62419         "...".
62420         * manual/stdio.texi (__fpending): Separate initial words of
62421         paragraph from @deftypefun line.
62422         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62423         "...".
62424         (vsyslog): Use @var{} on parameter names.
62425         * manual/terminal.texi (stty): Use @var{} on parameter names.
62426         * manual/users.texi (getutmp): Use @var{} on parameter names.
62427         (getutmpx): Likewise.
62429 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62431         [BZ #6884]
62432         * manual/stdio.texi (fopen): Fix typos in description of
62433         ",ccs=STRING".
62435 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62437         [BZ #4026]
62438         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62439         get clock_id definition.
62441 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62443         [BZ #4822]
62444         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62445         (madvise): Cast every argument to void on its own.
62447 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62449         [BZ #9902]
62450         * manual/startup.texi (Exit Status): Fix typo.
62452 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62454         [BZ #10140]
62455         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62456         * manual/examples/argp-ex2.c: Likewise.
62457         * manual/examples/argp-ex3.c: Likewise.
62459 2012-02-16  Richard Henderson  <rth@redhat.com>
62461         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62462         * sysdeps/s390/s390-32/initfini.c: Remove.
62463         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62464         * sysdeps/s390/s390-64/initfini.c: Remove.
62466 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62468         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62469         compiler output for sysdeps/generic/initfini.c.
62470         * sysdeps/sh/elf/initfini.c: Remove file.
62472 2012-02-16  David S. Miller  <davem@davemloft.net>
62474         [BZ #11494]
62475         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62477         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62478         * sysdeps/sparc/crti.S: New file.
62479         * sysdeps/sparc/crtn.S: New file.
62480         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62481         * sysdeps/sparc/sparc64/Makefile: Likewise.
62483 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62485         [BZ #3335]
62486         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62488 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62490         [BZ #4822]
62491         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62493         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62494         (write, read, close): Likewise.
62495         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62497 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62499         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62500         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62501         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62502         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62503         <bits/signalfd.h>.
62504         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62505         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62506         bits/signalfd.h.
62508 2012-02-14  Marek Polacek  <polacek@redhat.com>
62510         * sysdeps/x86_64/crti.S: New file.
62511         * sysdeps/x86_64/crtn.S: New file.
62512         * sysdeps/x86_64/elf/initfini.c: Remove file.
62514 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62516         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62517         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62518         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62519         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62520         <bits/inotify.h>.
62521         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62523         bits/inotify.h.
62525 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62527         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62528         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62529         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62530         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62531         <bits/eventfd.h>.
62532         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62534         bits/eventfd.h.
62536 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62538         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62539         __feraiseexcept instead of feraiseexcept.
62541         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62542         nanosleep invocations.
62543         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62544         strings, and add error checking for a nanosleep invocations.
62546 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62548         Replace FSF snail mail address with URLs, as per GNU coding standards.
62549         Most of the snail mail addresses were wrong anyway, and omitting
62550         them makes the source code easier to maintain.  Almost all of the
62551         changes are to license notices and to locale LC_IDENTIFICATION
62552         addresses, except for this one:
62553         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62554         not its snail mail address.
62556 2012-02-09  Richard Henderson  <rth@twiddle.net>
62558         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62559         of kernel-features.h.
62561         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62563 2012-02-08  Marek Polacek  <polacek@redhat.com>
62565         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62566         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62567         * sysdeps/gnu/_G_config.h: Likewise.
62568         * sysdeps/generic/_G_config.h: Likewise.
62570 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62572         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62573         tests.
62574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62576         * sysdeps/powerpc/powerpc32/crti.S: New file.
62577         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62578         * sysdeps/powerpc/powerpc64/crti.S: New file.
62579         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62581         * Makeconfig (have-initfini): Don't set.
62582         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62583         * configure.in (nopic_initfini): Don't substitute.
62584         * config.h.in (HAVE_INITFINI): Don't #undef.
62585         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62586         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62588 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62590         Support crti.S and crtn.S provided directly by architectures.
62591         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62592         [crti.S in sysdirs] (omit-deps): Likewise.
62593         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62594         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62595         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62596         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62597         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62598         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62599         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62600         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62601         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62602         compiler output for sysdeps/generic/initfini.c.
62603         * sysdeps/i386/elf/Makefile: Remove file.
62604         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62606 2012-02-07  Marek Polacek  <polacek@redhat.com>
62608         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62609         * sysdeps/gnu/_G_config.h: Likewise.
62610         * sysdeps/mach/hurd/_G_config.h: Likewise.
62612 2012-02-07  Marek Polacek  <polacek@redhat.com>
62614         * math/Makefile (tests): Add tst-CMPLX2.
62615         * math/tst-CMPLX2.c: New file.
62617 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62619         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62621         * math/libm-test.inc (jn_test): Add missing L suffix.
62623 2012-02-06  Marek Polacek  <polacek@redhat.com>
62625         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62626         * sysdeps/i386/fpu/e_powf.S: Likewise.
62627         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62628         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62629         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62630         * sysdeps/i386/fpu/e_pow.S: Likewise.
62631         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62632         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62633         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62634         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62635         * sysdeps/i386/fpu/e_log2.S: Likewise.
62636         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62637         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62638         * sysdeps/i386/fpu/e_powl.S: Likewise.
62639         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62640         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62641         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62642         * sysdeps/i386/fpu/e_logl.S: Likewise.
62643         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62644         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62645         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62646         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62647         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62648         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62649         * sysdeps/i386/fpu/e_log.S: Likewise.
62650         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62651         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62652         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62653         * sysdeps/i386/fpu/e_logf.S: Likewise.
62654         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62655         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62656         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62657         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62658         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62659         * sysdeps/i386/fpu/e_log10.S: Likewise.
62660         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62661         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62662         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62663         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62664         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62665         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62666         * sysdeps/i386/asm-syntax.h: Likewise.
62667         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62668         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62669         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62670         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62671         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62672         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62673         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62674         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62675         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62676         * sysdeps/powerpc/sysdep.h: Likewise.
62677         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62678         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62680 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62682         [BZ #411]
62683         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62685 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62687         * sysdeps/i386/sysdep.h: Include <features.h>.
62688         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62689         version.
62691 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62693         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62694         Define.
62695         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62696         LOAD_PIC_REG_STR.
62698 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62700         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62701         (SETUP_PIC_REG): Use GET_PC_THUNK.
62702         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62703         macro.
62705 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62707         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62708         for non-PIC compilation.
62709         (SETUP_PIC_REG): Add .p2align directive.
62710         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62711         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62712         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62713         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62714         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62715         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62716         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62717         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62718         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62719         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62720         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62721         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62722         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62723         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62724         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62725         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62726         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62727         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62728         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62729         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62730         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62731         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62732         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62733         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62734         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62735         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62736         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62737         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62738         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62739         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62740         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62741         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62742         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62743         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62744         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62745         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62746         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62747         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62748         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62749         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62750         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62752 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62754         * math/tst-CMPLX.c: Include <stdio.h>.
62756 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62758         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62759         float.
62760         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62761         * sysdeps/sparc/bits/mathdef.h: Likewise.
62763 2012-01-31  Marek Polacek  <polacek@redhat.com>
62765         * libio/libio.h: Don't define _PARAMS.
62766         * locale/programs/config.h: Don't define PARAMS.
62767         * stdlib/strtol_l.c: Likewise.
62768         (__strtol_l): Remove PARAMS from the prototype.
62770 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62772         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62773         names.  Just use the correct names.  Remove unnecessary wrapper
62774         functions.
62775         * malloc/arena.c: Likewise.
62776         * malloc/hooks.c: Likewise.
62778         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62779         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62780         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62782 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62784         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62785         into tail calls.
62786         (update_get_addr): New function.
62787         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62788         GET_ADDR_MODULE parameter.
62790 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62792         * crypt/cert.c: Remove __STDC__ conditionals.
62793         * crypt/crypt-entry.c: Likewise.
62794         * crypt/crypt_util.c: Likewise.
62795         * libio/filedoalloc.c: Likewise.
62796         * libio/fileops.c: Likewise.
62797         * libio/genops.c: Likewise.
62798         * libio/iofclose.c: Likewise.
62799         * libio/iofdopen.c: Likewise.
62800         * libio/iofopen.c: Likewise.
62801         * libio/iofopen64.c: Likewise.
62802         * libio/iogetdelim.c: Likewise.
62803         * libio/iopopen.c: Likewise.
62804         * libio/obprintf.c: Likewise.
62805         * libio/oldfileops.c: Likewise.
62806         * libio/oldiofclose.c: Likewise.
62807         * libio/oldiofdopen.c: Likewise.
62808         * libio/oldiofopen.c: Likewise.
62809         * libio/oldiopopen.c: Likewise.
62810         * libio/wfiledoalloc.c: Likewise.
62811         * libio/wgenops.c: Likewise.
62812         * locale/programs/xmalloc.c: Likewise.
62813         * misc/syslog.c: Likewise.
62814         * stdio-common/xbug.c: Likewise.
62815         * string/memchr.c: Likewise.
62816         * string/memcmp.c: Likewise.
62817         * string/memrchr.c: Likewise.
62818         * string/rawmemchr.c: Likewise.
62819         * sysdeps/posix/getcwd.c: Likewise.
62820         * time/strftime_l.c: Likewise.
62822 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62824         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62825         * config.make.in (config-cflags-sse2avx): Define.
62826         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62827         Fix typo.
62829 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62831         * scripts/config.guess: Update from upstream config git repository.
62832         * scripts/config.sub: Likewise.
62834 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62836         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62837         (EM_NUM): Update.
62838         (R_TILEPRO_*, R_TILEGX_*): New macros.
62840         * scripts/firstversions.awk: Fix bug in version range handling.
62842         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62844         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62846         * include/sys/epoll.h: New file.
62847         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62848         libc_hidden_def.
62850 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62852         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62853         Avoid unnecessary __WORDSIZE == 64 test.
62854         (fmaxf): Use VEX format if possible.
62855         (fmax): Likewise.
62856         (fminf): Likewise.
62857         (fmin): Likewise.
62859         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62860         * math/math_private.h: Remove libc_fegetround* and
62861         libc_fesetround*.
62862         * sysdeps/i386/configure.in: Check for -msse2avx.
62863         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62864         also if SSE2AVX is defined.
62865         Remove libc_fegetround* and libc_fesetround*.
62866         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62867         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62868         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62869         of HAS_YMM_USABLE.
62870         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62871         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62872         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62873         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62874         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62876         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62878 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62880         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
62881         size is not set.
62882         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62884 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
62886         [BZ #13618]
62887         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
62888         relocation.
62889         * Makeconfig (libm): Define.
62890         * elf/Makefile: Add rules to build and run tst-relsort1.
62891         * elf/tst-relsort1.c: New file.
62892         * elf/tst-relsort1mod1.c: New file.
62893         * elf/tst-relsort1mod2.c: New file.
62895 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
62897         * math/s_ldexp.c: Remove __STDC__ conditionals.
62898         * math/s_ldexpf.c: Likewise.
62899         * math/s_ldexpl.c: Likewise.
62900         * math/s_nextafter.c: Likewise.
62901         * math/s_nexttowardf.c: Likewise.
62902         * math/s_significand.c: Likewise.
62903         * math/s_significandf.c: Likewise.
62904         * math/s_significandl.c: Likewise.
62905         * math/w_jnl.c: Likewise.
62906         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62907         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62908         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62909         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62910         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62911         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62912         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
62913         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62914         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62915         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62916         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62917         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62918         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62919         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62920         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62921         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62922         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62923         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62924         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62925         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62926         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62927         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62928         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62929         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62930         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62931         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62932         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62933         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62934         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62935         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62936         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62937         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62938         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62939         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62940         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62941         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62942         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62943         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62944         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62945         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62946         * sysdeps/ieee754/k_standard.c: Likewise.
62947         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62948         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62949         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62950         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62951         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62952         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62953         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62954         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62955         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62956         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62957         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62958         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62959         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62960         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62961         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62962         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62963         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62964         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62965         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62966         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62967         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62968         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62969         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62970         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62971         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62972         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62973         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62974         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62976         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62977         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62978         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
62979         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62980         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62981         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62982         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62983         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
62984         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62985         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62986         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
62987         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
62988         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62989         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
62990         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
62991         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62992         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62993         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62994         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62995         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62996         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
62997         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
62998         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62999         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63000         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63001         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63002         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63003         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63004         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63005         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63006         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63007         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63008         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63009         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63010         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63011         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63012         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63013         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63014         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63015         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63016         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63017         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63018         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63019         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63020         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63021         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63022         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63023         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63024         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63025         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63026         * sysdeps/ieee754/s_matherr.c: Likewise.
63027         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63028         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63029         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63030         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63032 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63034         * crypt/md5.h: Remove __STDC__ conditionals.
63035         * libio/libioP.h: Likewise.
63036         * locale/programs/config.h: Likewise.
63037         * sysdeps/generic/sysdep.h: Likewise.
63038         * sysdeps/i386/asm-syntax.h: Likewise.
63039         * sysdeps/s390/asm-syntax.h: Likewise.
63040         * sysdeps/unix/sysdep.h: Likewise.
63041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63044 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63046         * libio/libio.h: Remove __STDC__ conditionals.
63047         * malloc/obstack.h: Likewise.
63048         * math/complex.h: Likewise.
63049         * math/math.h: Likewise.
63050         * sysdeps/generic/_G_config.h: Likewise.
63051         * sysdeps/gnu/_G_config.h: Likewise.
63052         * sysdeps/mach/hurd/_G_config.h: Likewise.
63053         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63054         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63055         * sysdeps/sparc/bits/mathdef.h: Likewise.
63057 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63059         [BZ #13583]
63060         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63061         Clean up HAS_* macros.
63062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63063         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63064         possible.
63065         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63066         HAS_AVX.
63067         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63068         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63069         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63070         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63071         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63073 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63075         * elf/tst-unique3.cc (gets): Remove declaration.
63076         * elf/tst-unique3lib.cc (gets): Likewise.
63077         * elf/tst-unique3lib2.cc (gets): Likewise.
63078         * elf/tst-unique4.cc (gets): Likewise.
63080 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63082         * include/stdio.h: Add C++ protection.  Add gets declarations and
63083         definitions.
63084         * debug/tst-chk1.c: Don't declare gets here.
63085         * stdio-common/tst-gets.c: Likewise.
63087 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63089         * posix/glob: Remove directory.
63091 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63093         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63095 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63097         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63098         of the non-standard EPFNOSUPPORT.
63100 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63102         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63103         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63104         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63106 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63108         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63110 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63112         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63113         transient errors.
63114         * nscd/grpcache.c (cache_addgr): Likewise.
63115         * nscd/hstcache.c (cache_addhst): Likewise.
63116         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63117         * nscd/pwdcache.c (cache_addpw): Likewise.
63118         * nscd/servicescache.c (cache_addserv): Likewise.
63120 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63122         * malloc/malloc.c: Various cleanups.
63123         * malloc/hooks.c: Likewise.
63125         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63126         * stdlib/bug-fmtmsg1.c: New file.
63128         * stdlib/fmtmsg.c (init): Add missing unlock.
63129         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63131 2012-01-12  Marek Polacek  <polacek@redhat.com>
63133         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63134         and _GNU_SOURCE.
63136 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63138         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63139         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63140         macro to ensure uniqueness of label name.
63141         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63142         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63144 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63146         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63148         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63149         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63150         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63151         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63153 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63155         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63157         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63158         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63159         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63161         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63163         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63164         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63165         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63166         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63168         * math/bits/math-finite.h: Add ldexp support.
63170 2012-01-10  Marek Polacek  <polacek@redhat.com>
63172         * locale/programs/localedef.h (show_archive_content): Add noreturn
63173         attribute.
63175 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63177         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63179 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63181         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63183         * io/Makefile (headers): Add bits/poll2.h.
63185 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63188         typo #include statement.
63190 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63192         * include/sys/cdefs.h: Define __attribute_alloc_size.
63193         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63194         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63195         * elf/pldd.c: Likewise.
63196         * iconv/iconv_charmap.c: Likewise.
63197         * iconv/iconvconfig.c: Likewise.
63198         * iconv/strtab.c: Likewise.
63199         * locale/programs/locale.c: Likewise.
63200         * locale/programs/localedef.h: Likewise.
63201         * locale/programs/simple-hash.c: Likewise.
63202         * nscd/nscd.h: Likewise.
63203         * nss/makedb.c: Likewise.
63204         * sysdeps/generic/ldconfig.h: Likewise.
63205         * locale/programs/localedef.c: Remove xmalloc prototype.
63206         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63208 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63210         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63211         appropriate.
63213 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63215         * math/Makefile (tests): Add tst-CMPLX.
63216         * math/tst-CMPLX.c: New file.
63218         * math/complex.h (CMPLXL): Fix typo.
63220         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63221         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63222         GLIBC_2.16.
63223         * debug/tst-chk1.c: Add poll and ppoll tests.
63224         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63225         * include/sys/poll.h: Add hidden proto for ppoll.
63226         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63227         * sysdeps/mach/hurd/ppoll.c: Likewise.
63228         * io/ppoll.c: Likewise.
63229         * debug/poll_chk.c: New file.
63230         * debug/ppoll_chk.c: New file.
63231         * include/bits/poll2.h: New file.
63232         * io/bits/poll2.h: New file.
63234         [BZ #1350]
63235         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63237         * configure.in: static is always set to yes.  Remove.
63238         * config.make.in: Don't set build-static.
63239         * Makeconfig: Remove use of build-static.
63240         * dlfcn/Makefile: Likewise.
63241         * elf/Makefile: Likewise.
63242         * math/Makefile: Likewise.
63243         * misc/Makefile: Likewise.
63244         * nptl/Makefile: Likewise.
63245         * sysdeps/mach/hurd/Makefile: Likewise.
63247         * configure.in: PWD_P is not used anymore.
63248         * config.make.in: Remove PWD_P entry.
63250         * configure.in: Remove last remnants of RANLIB.
63251         No need to check for signed size_t anymore.
63252         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63253         and IA-64.
63254         Remove __builtin_expect test because we require at least gcc 3.4.
63255         * aclocal.m4: Likewise.
63257         * wcsmbs/mbrtoc16.c: Implement using towc function.
63258         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63259         * wcsmbs/wcsmbsload.c: Likewise.
63260         * iconv/gconv_simple.c: Likewise.
63261         * iconv/gconv_int.h: Likewise.
63262         * iconv/gconv_builtin.h: Likewise.
63263         * iconv/iconv_prog.c: Remove CHAR16 handling.
63265         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63267         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63269         * configure.in: Remove --with-elf and --enable-bounded options.
63270         Dont set base_machine for ia64.  More non-ELF conditions removed.
63271         Remove testing and setting of leading underscore information.
63272         * config.make.in (build-bounded): Set to no.
63273         * config.h.in: Remove NO_UNDERSCORES entry.
63274         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63275         them.
63276         * csu/start.c: Remove !NO_UNDERSCORE code.
63277         * locale/localeinfo.h: Likewise.
63278         * sysdeps/generic/machine-gmon.h: Likewise.
63279         * sysdeps/generic/sysdep.h: Likewise.
63280         * sysdeps/i386/sysdep.h: Likewise.
63281         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63282         * sysdeps/mach/sysdep.h: Likewise.
63283         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63284         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63285         * sysdeps/sh/sysdep.h: Likewise.
63286         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63287         * sysdeps/unix/i386/sysdep.S: Likewise.
63288         * sysdeps/unix/sparc/start.c: Likewise.
63289         * sysdeps/unix/sparc/sysdep.S: Likewise.
63290         * sysdeps/unix/sparc/sysdep.h: Likewise.
63291         * sysdeps/unix/start.c: Likewise.
63292         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63293         * sysdeps/x86_64/sysdep.h: Likewise.
63295 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63297         [BZ #13553]
63298         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63299         for non-gcc.
63300         * argp/argp-fmtstream.h: Use const instead __const.
63301         * argp/argp.h: Likewise.
63302         * assert/assert.h: Likewise.
63303         * bits/fenv.h: Likewise.
63304         * bits/sched.h: Likewise.
63305         * bits/sigset.h: Likewise.
63306         * bits/sigthread.h: Likewise.
63307         * catgets/nl_types.h: Likewise.
63308         * conform/data/pthread.h-data: Likewise.
63309         * crypt/crypt-private.h: Likewise.
63310         * crypt/crypt.h: Likewise.
63311         * crypt/crypt_util.c: Likewise.
63312         * ctype/ctype.h: Likewise.
63313         * debug/execinfo.h: Likewise.
63314         * debug/mbsnrtowcs_chk.c: Likewise.
63315         * debug/mbsrtowcs_chk.c: Likewise.
63316         * debug/wcsnrtombs_chk.c: Likewise.
63317         * debug/wcsrtombs_chk.c: Likewise.
63318         * debug/wcstombs_chk.c: Likewise.
63319         * dirent/dirent.h: Likewise.
63320         * dlfcn/dlfcn.h: Likewise.
63321         * elf/neededtest4.c: Likewise.
63322         * grp/grp.h: Likewise.
63323         * gshadow/gshadow.h: Likewise.
63324         * iconv/gconv.h: Likewise.
63325         * iconv/gconv_int.h: Likewise.
63326         * iconv/gconv_simple.c: Likewise.
63327         * iconv/iconv.h: Likewise.
63328         * iconv/loop.c: Likewise.
63329         * iconv/skeleton.c: Likewise.
63330         * include/aio.h: Likewise.
63331         * include/aliases.h: Likewise.
63332         * include/argz.h: Likewise.
63333         * include/arpa/inet.h: Likewise.
63334         * include/assert.h: Likewise.
63335         * include/dirent.h: Likewise.
63336         * include/dlfcn.h: Likewise.
63337         * include/execinfo.h: Likewise.
63338         * include/fcntl.h: Likewise.
63339         * include/fenv.h: Likewise.
63340         * include/glob.h: Likewise.
63341         * include/grp.h: Likewise.
63342         * include/libintl.h: Likewise.
63343         * include/mntent.h: Likewise.
63344         * include/netdb.h: Likewise.
63345         * include/pwd.h: Likewise.
63346         * include/rpc/netdb.h: Likewise.
63347         * include/sched.h: Likewise.
63348         * include/search.h: Likewise.
63349         * include/shadow.h: Likewise.
63350         * include/signal.h: Likewise.
63351         * include/stdio.h: Likewise.
63352         * include/stdlib.h: Likewise.
63353         * include/string.h: Likewise.
63354         * include/sys/socket.h: Likewise.
63355         * include/sys/stat.h: Likewise.
63356         * include/sys/statfs.h: Likewise.
63357         * include/sys/statvfs.h: Likewise.
63358         * include/sys/syslog.h: Likewise.
63359         * include/sys/time.h: Likewise.
63360         * include/sys/uio.h: Likewise.
63361         * include/time.h: Likewise.
63362         * include/unistd.h: Likewise.
63363         * include/utmp.h: Likewise.
63364         * include/wchar.h: Likewise.
63365         * include/wctype.h: Likewise.
63366         * inet/aliases.h: Likewise.
63367         * inet/arpa/inet.h: Likewise.
63368         * inet/netinet/ether.h: Likewise.
63369         * inet/netinet/in.h: Likewise.
63370         * intl/libintl.h: Likewise.
63371         * io/bits/fcntl2.h: Likewise.
63372         * io/fcntl.h: Likewise.
63373         * io/ftw.h: Likewise.
63374         * io/sys/poll.h: Likewise.
63375         * io/sys/stat.h: Likewise.
63376         * io/sys/statfs.h: Likewise.
63377         * io/sys/statvfs.h: Likewise.
63378         * io/utime.h: Likewise.
63379         * libio/bits/stdio.h: Likewise.
63380         * libio/bits/stdio2.h: Likewise.
63381         * libio/libio.h: Likewise.
63382         * libio/libioP.h: Likewise.
63383         * libio/stdio.h: Likewise.
63384         * locale/lc-ctype.c: Likewise.
63385         * locale/locale.h: Likewise.
63386         * login/utmp.h: Likewise.
63387         * malloc/arena.c: Likewise.
63388         * malloc/malloc.c: Likewise.
63389         * malloc/malloc.h: Likewise.
63390         * malloc/mcheck.c: Likewise.
63391         * malloc/mtrace.c: Likewise.
63392         * math/bits/mathcalls.h: Likewise.
63393         * math/fenv.h: Likewise.
63394         * math/math_private.h: Likewise.
63395         * misc/bits/error.h: Likewise.
63396         * misc/bits/syslog.h: Likewise.
63397         * misc/err.h: Likewise.
63398         * misc/error.h: Likewise.
63399         * misc/fstab.h: Likewise.
63400         * misc/mntent.h: Likewise.
63401         * misc/regexp.h: Likewise.
63402         * misc/search.h: Likewise.
63403         * misc/sgtty.h: Likewise.
63404         * misc/sys/mman.h: Likewise.
63405         * misc/sys/syslog.h: Likewise.
63406         * misc/sys/uio.h: Likewise.
63407         * misc/sys/xattr.h: Likewise.
63408         * misc/ttyent.h: Likewise.
63409         * nis/rpcsvc/ypclnt.h: Likewise.
63410         * nss/nss.h: Likewise.
63411         * posix/bits/unistd.h: Likewise.
63412         * posix/fnmatch.h: Likewise.
63413         * posix/glob.h: Likewise.
63414         * posix/sched.h: Likewise.
63415         * posix/spawn.h: Likewise.
63416         * posix/sys/wait.h: Likewise.
63417         * posix/unistd.h: Likewise.
63418         * posix/wordexp.h: Likewise.
63419         * pwd/pwd.h: Likewise.
63420         * resolv/netdb.h: Likewise.
63421         * resource/sys/resource.h: Likewise.
63422         * rt/aio.h: Likewise.
63423         * rt/bits/mqueue2.h: Likewise.
63424         * rt/mqueue.h: Likewise.
63425         * shadow/shadow.h: Likewise.
63426         * signal/signal.h: Likewise.
63427         * socket/send.c: Likewise.
63428         * socket/sendto.c: Likewise.
63429         * socket/sys/socket.h: Likewise.
63430         * stdio-common/printf.h: Likewise.
63431         * stdlib/bits/stdlib.h: Likewise.
63432         * stdlib/fmtmsg.h: Likewise.
63433         * stdlib/monetary.h: Likewise.
63434         * stdlib/stdlib.h: Likewise.
63435         * stdlib/ucontext.h: Likewise.
63436         * streams/stropts.h: Likewise.
63437         * string/argz.h: Likewise.
63438         * string/bits/string2.h: Likewise.
63439         * string/string.h: Likewise.
63440         * string/strings.h: Likewise.
63441         * sunrpc/rpc/auth.h: Likewise.
63442         * sunrpc/rpc/auth_des.h: Likewise.
63443         * sunrpc/rpc/clnt.h: Likewise.
63444         * sunrpc/rpc/netdb.h: Likewise.
63445         * sunrpc/rpc/pmap_clnt.h: Likewise.
63446         * sunrpc/rpc/xdr.h: Likewise.
63447         * sysdeps/generic/inttypes.h: Likewise.
63448         * sysdeps/generic/net/if.h: Likewise.
63449         * sysdeps/generic/sys/swap.h: Likewise.
63450         * sysdeps/gnu/net/if.h: Likewise.
63451         * sysdeps/gnu/utmpx.h: Likewise.
63452         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63453         * sysdeps/i386/i486/bits/string.h: Likewise.
63454         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63455         * sysdeps/s390/bits/string.h: Likewise.
63456         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63457         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63458         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63459         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63460         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63461         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63462         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63463         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63464         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63465         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63466         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63467         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63468         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63469         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63470         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63471         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63472         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63473         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63474         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63475         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63476         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63477         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63478         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63479         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63480         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63481         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63482         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63483         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63484         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63485         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63486         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63487         * sysvipc/sys/ipc.h: Likewise.
63488         * sysvipc/sys/msg.h: Likewise.
63489         * sysvipc/sys/sem.h: Likewise.
63490         * sysvipc/sys/shm.h: Likewise.
63491         * termios/termios.h: Likewise.
63492         * time/sys/time.h: Likewise.
63493         * time/time.h: Likewise.
63494         * wcsmbs/bits/wchar2.h: Likewise.
63495         * wcsmbs/uchar.h: Likewise.
63496         * wcsmbs/wchar.h: Likewise.
63497         * wctype/wctype.h: Likewise.
63499         [BZ #13551]
63500         * Makeconfig: Remove all but ELF support including AIX support.
63501         * Makerules: Likewise.
63502         * config.h.in: Likewise.
63503         * config.make.in: Likewise.
63504         * configure: Likewise.
63505         * configure.in: Likewise.
63506         * csu/Makefile: Likewise.
63507         * csu/version.c: Likewise.
63508         * debug/Makefile: Likewise.
63509         * dlfcn/Makefile: Likewise.
63510         * elf/Makefile: Likewise.
63511         * extra-lib.mk: Likewise.
63512         * iconv/Makefile: Likewise.
63513         * include/libc-symbols.h: Likewise.
63514         * include/shlib-compat.h: Likewise.
63515         * resolv/Makefile: Likewise.
63516         * resolv/res_libc.c: Likewise.
63517         * rt/Makefile: Likewise.
63518         * sysdeps/i386/asm-syntax.h: Likewise.
63519         * sysdeps/i386/sysdep.h: Likewise.
63520         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63521         * sysdeps/mach/sysdep.h: Likewise.
63522         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63523         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63524         * sysdeps/s390/asm-syntax.h: Likewise.
63525         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63526         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63527         * sysdeps/sh/sysdep.h: Likewise.
63528         * sysdeps/unix/sparc/sysdep.h: Likewise.
63529         * sysdeps/wordsize-32/divdi3.c: Likewise.
63530         * sysdeps/x86_64/sysdep.h: Likewise.
63532         * argp/Versions: Remove _argp_unlock_xxx.
63534         [BZ #13559]
63535         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63536         * abilist/libBrokenLocale.abilist: Likewise.
63537         * abilist/libanl.abilist: Likewise.
63538         * abilist/libc.abilist: Likewise.
63539         * abilist/libcrypt.abilist: Likewise.
63540         * abilist/libdl.abilist: Likewise.
63541         * abilist/libm.abilist: Likewise.
63542         * abilist/libnsl.abilist: Likewise.
63543         * abilist/libpthread.abilist: Likewise.
63544         * abilist/libresolv.abilist: Likewise.
63545         * abilist/librt.abilist: Likewise.
63546         * abilist/libthread_db.abilist: Likewise.
63547         * abilist/libutil.abilist: Likewise.
63548         * abilist/libnss_db.abilist: New file.
63550         * scripts/abilist.awk: Add support for indirect functions.
63552         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63554         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63556         * shlib-versions: Remove entries for ports architectures.
63558         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63559         files in ports.
63560         * elf/stackguard-macros.h: Remove support for IA-64.
63561         * elf/tst-auditmod1.c: Likewise.
63562         * sysdeps/generic/ldsodefs.h: Likewise.
63564         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63565         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63566         configure files.
63568         [BZ #13552]
63569         * configure.in: Remove --enable-omitfp support.
63570         * FAQ.in: Adjust.
63571         * config.make.in: Likewise.
63572         * Makeconfig: Likewise.
63573         * manual/install.texi: Likewise.
63575         In case anyone cares, the IA-64 architecture could move to ports.
63576         * sysdeps/ia64/*: Removed.
63577         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63578         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63580         [BZ #13555]
63581         * configure.in: Remove entries for unsupported architectures.
63583         [BZ #13533]
63584         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63585         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63586         routines.
63587         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63588         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63589         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63590         fall back to using wcrtomb.
63591         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63592         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63593         renaming.
63594         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63595         * wcsmbs/tst-c16c32-1.c: New file.
63597         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63598         local variable.
63600         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63602         * elf/tst-unique3.cc: Add explicit declaration of gets.
63603         * elf/tst-unique3lib.cc: Likewise.
63604         * elf/tst-unique3lib2.cc: Likewise.
63605         * elf/tst-unique4.cc: Likewise.
63607         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63609 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63611         [BZ #13566]
63612         * assert/assert.h (static_assert): Don't define for C++.
63613         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63614         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63616 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63618         * iconv/loop.c (single loop): Fix assertion in storing of
63619         remaining bytes.
63621         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63623 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63625         * posix/getconf.c: Update copyright year.
63626         * nss/getent.c: Likewise.
63627         * nss/makedb.c: Likewise.
63628         * iconv/iconvconfig.c: Likewise.
63629         * iconv/iconv_prog.c: Likewise.
63630         * elf/ldconfig.c: Likewise.
63631         * elf/pldd.c: Likewise.
63632         * elf/sotruss.ksh: Likewise.
63633         * catgets/gencat.c: Likewise.
63634         * csu/version.c: Likewise.
63635         * elf/ldd.bash.in: Likewise.
63636         * elf/sprof.c (print_version): Likewise.
63637         * locale/programs/locale.c: Likewise.
63638         * locale/programs/localedef.c: Likewise.
63639         * login/programs/pt_chown.c: Likewise.
63640         * nscd/nscd.c (print_version): Likewise.
63641         * debug/xtrace.sh: Likewise.
63642         * malloc/memusage.sh: Likewise.
63643         * malloc/mtrace.pl: Likewise.
63644         * debug/catchsegv.sh: Likewise.
63646 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63648         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63649         pure attribute.
63651 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63653         [BZ #13533]
63654         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63655         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63656         transformations.
63657         * iconv/gconv_int.h: Likewise.
63658         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63659         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63660         from libc for GLIBC_2.16.
63661         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63662         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63663         * wcsmbs/uchar.h: Really define mbstate_t.
63664         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63665         * wcsmbs/c16rtomb.c: New file.
63666         * wcsmbs/mbrtoc16.c: New file.
63667         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63668         for C/POSIX locale.
63669         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63670         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63672         * wcsmbs/wchar.h: Add missing __restrict.
63674 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63676         [BZ #13532]
63677         * time/Makefile (routines): Add timespec_get.
63678         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63679         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63680         timespec for ISO C11.
63681         * time/timespec_get.c: New file.
63682         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63683         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63685         [BZ #13531]
63686         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63687         * stdlib/stdlib.h: Declare aligned_alloc.
63688         * Versions.def: Add GLIBC_2.16 for libc.
63689         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63691         [BZ 13527]
63692         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63693         ISO C11.
63695         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63696         code.
63698         [BZ #13528]
63699         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63701         [BZ #13529]
63702         * assert/assert.h (static_assert): Define.
63704         * version.h: Update for 2.16 development version.
63706         [BZ #13526]
63707         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63708         _ISOC11_SOURCE.
63710         * version.h (RELEASE): Bump for 2.15 release.
63711         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63713         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63714         Patch by Marek Polacek <mpolacek@redhat.com>.
63716         * bits/byteswap.h: Protect long long constants with __extension__.
63717         * sysdeps/i386/bits/byteswap.h: Likewise.
63718         * sysdeps/ia64/bits/byteswap.h: Likewise.
63719         * sysdeps/s390/bits/byteswap.h: Likewise.
63720         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63722 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63724         [BZ #13540]
63725         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63726         destination buffer.
63727         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63729 2011-12-23  Marek Polacek  <polacek@redhat.com>
63731         * elf/dl-addr.c (determine_info): Add inline keyword.
63732         * elf/tst-auditmod4b.c (check_avx): Likewise.
63733         * elf/tst-auditmod6b.c (check_avx): Likewise.
63734         * elf/tst-auditmod6c.c (check_avx): Likewise.
63735         * elf/tst-auditmod7b.c (check_avx): Likewise.
63737 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63739         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63740         !__SSE_MATH__.
63742 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63744         [BZ #13540]
63745         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63746         processing for last bytes.
63748 2011-08-06  Bruno Haible  <bruno@clisp.org>
63750         [BZ #13061]
63751         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63752         U+0385, not to U+1FEE.
63754         [BZ #13062]
63755         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63756         entry for U+00A5 U+0301.
63758 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63760         [BZ #13166]
63761         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63762         buffer for the output is too small.
63764         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63765         optimization.
63767         [BZ #13185]
63768         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63769         SSE flags if possible.
63771 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63773         [BZ #13540]
63774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63775         processing for last bytes.
63777 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63779         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63780         (syscall-list-default-options, syscall-list-default-condition)
63781         (syscall-list-includes): Define.
63782         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63783         list of ABIs and options and #if conditions for each ABI.  Do not
63784         handle common syscalls between ABIs specially.
63785         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63786         Remove.
63787         (syscall-list-variants, syscall-list-32bit-options)
63788         (syscall-list-32bit-condition, syscall-list-64bit-options)
63789         (syscall-list-64bit-condition): Define.
63790         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63791         (syscall-list-variants, syscall-list-32bit-options)
63792         (syscall-list-32bit-condition, syscall-list-64bit-options)
63793         (syscall-list-64bit-condition): Define.
63794         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63795         Remove.
63796         (syscall-list-variants, syscall-list-32bit-options)
63797         (syscall-list-32bit-condition, syscall-list-64bit-options)
63798         (syscall-list-64bit-condition): Define.
63799         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63800         Remove.
63801         (syscall-list-variants, syscall-list-32bit-options)
63802         (syscall-list-32bit-condition, syscall-list-64bit-options)
63803         (syscall-list-64bit-condition): Define.
63805 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63807         * locale/iso-639.def: Add brx entry.
63809         [BZ #13328]
63810         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63811         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63813         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63814         __feraiseexcept_renamed.
63816 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63818         [BZ #13538]
63819         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63820         EPOLLET with unsigned values.
63821         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63822         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63824         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63825         to large cancellation.
63826         * math/s_cacoshf.c: Likewise.
63827         * math/s_cacoshl.c: Likewise.
63829 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63831         [BZ #13305]
63832         [BZ #12786]
63833         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63834         * math/s_cacoshf.c: Likewise.
63835         * math/s_cacoshl.c: Likewise.
63837 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63839         [BZ #13439]
63840         * iconv/gconv.h: Define __GCONV_SWAP.
63841         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63842         * iconvdata/utf-16.c: Likewise.
63843         * iconvdata/utf-32.c: Likewise.
63845 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63847         [BZ #13524]
63848         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63849         numerator after shifting it by one limb.
63851 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63853         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63854         under [__USE_EXTERN_INLINES].
63856 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63858         [BZ #13446]
63859         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63861 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63863         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63864         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63865         optimized code.
63866         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63867         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63868         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63869         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63870         for strncasecmp/strncasecmp_l compilation.
63871         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63872         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63874 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63876         [BZ #13484]
63877         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63878         of __asm__.
63880 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63882         [BZ #13506]
63883         * time/tzfile.c (__tzfile_read): Check values from file header.
63885 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63887         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
63888         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
63889         * powerpc/powerpc32/dl-start.S: Likewise.
63890         * powerpc/powerpc32/elf/start.S: Likewise.
63891         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
63892         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
63893         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
63894         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
63895         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63896         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
63897         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
63898         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63899         * powerpc/powerpc32/fpu/s_round.S: Likewise.
63900         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63901         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63902         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63903         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
63904         * powerpc/powerpc32/memset.S: Likewise.
63905         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63906         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63907         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63908         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63909         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63910         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63911         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63912         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63913         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
63914         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
63915         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
63916         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63917         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63919 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63921         * math/libm-test.inc: Added more nearbyint tests.
63922         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
63923         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
63924         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
63925         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
63927 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
63929         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
63930         FD_CLOEXEC.
63932 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63934         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
63935         Add wcscpy-ssse3 wcscpy-c.
63936         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
63937         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
63938         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
63939         * sysdeps/x86_64/wcschr.S: New file.
63940         * sysdeps/x86_64/wcsrchr.S: New file.
63941         * string/test-strcmp.c: Remove checking of wcscmp function for
63942         wrong alignments.
63943         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
63944         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
63945         wcsrchr-sse2 wcsrchr-c.
63946         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
63947         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
63948         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
63949         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
63950         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
63951         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
63952         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
63953         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
63954         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
63955         * wcsmbc/wcschr.c (WCSCHR): New macro.
63957 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63959         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
63960         * wcsmbs/test-wcsrchr.c: New file.
63961         * string/test-strrchr.c: Add wcsrchr support.
63962         (WIDE): New macro.
63963         * wcsmbs/test-wcscpy.c: New file.
63964         * string/test-strcpy.c: Add wcscpy support.
63965         (WIDE): New macro.
63967 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
63969         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
63970         the inner loop.
63972 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
63974         [BZ #13472]
63975         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
63977 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
63979         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
63980         Minor optimizations.
63982         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
63983         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
63984         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
63986 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
63988         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
63989         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
63990         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
63991         for gcc to avoid warnings.
63992         * inet/Makefile (tests): Add tst-checks.
63993         * inet/tst-checks.c: New file.
63995         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
63996         warning.
63998         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
63999         __wmemcmp_sse2.
64001         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64002         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64004         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64006 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64008         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64009         problem.
64011         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64013 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64015         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64016         conditional on GCC version.
64017         (__arch_compare_and_exchange_val_8_acq)
64018         (__arch_compare_and_exchange_val_16_acq)
64019         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64020         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64021         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64023 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64025         * sysdeps/sh/backtrace.c: New file.
64027 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64029         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64030         parenthesis.
64032 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64034         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64035         falling back to utime.
64037 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64039         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64040         expectations for float.
64042 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64044         * locale/weight.h (findidx): Add parameter len.
64045         * locale/weightwc.h (findidx): Likewise.
64046         * posix/fnmatch_loop.c (FCT): Adjust caller.
64047         * posix/regcomp.c (build_equiv_class): Likewise.
64048         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64049         * posix/regexec.c (check_node_accept_bytes): Likewise.
64050         * string/strcoll_l.c (STRCOLL): Likewise.
64051         * string/strxfrm_l.c (STRXFRM): Likewise.
64053 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64055         * Makefile.in: Remove CVSOPT handling.
64056         * configure.in: Remove use of AC_REVISION.
64057         * iconvdata/Makefile (distribute): No need to filter out CVS.
64058         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64059         handling.
64061 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64063         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64064         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64065         [USE_AS_STRNCASECMP_L]: Likewise.
64066         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64067         NO_TLS_DIRECT_SEG_REFS.
64068         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64069         Fix argument offsets for non-PIC.
64070         [USE_AS_STRNCASECMP_L]: Likewise.
64071         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64072         NO_TLS_DIRECT_SEG_REFS.
64074 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64076         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64077         O_CLOEXEC.
64078         * locale/loadlocale.c (_nl_load_locale): Likewise.
64080 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64082         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64083         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64084         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64085         (SYSCALL_GETTIME): Set errno on error.
64087         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64088         count references to noai6ai_cached.
64090 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64092         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64094         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64095         FD_CLOEXEC for /proc/self/maps.
64097         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64098         FD_CLOEXEC for /proc/meminfo.
64100         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64101         gai.conf.
64103         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64104         FD_CLOEXEC for given file.
64106         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64108         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64109         FD_CLOEXEC for /etc/hosts.
64110         (_gethtent): Likewise.
64112         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64114         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64115         cancellation and set FD_CLOEXEC for /etc/netgroup.
64117         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64118         reading /etc/publickey.
64120         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64121         allow cancellation when reading /etc/group.
64123         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64124         cancellation.
64125         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64127         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64128         when using data file.
64130         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64132         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64133         (write_nis_obj): Use "c" and "e" in fopen.
64135         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64137         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64139         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64141         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64143         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64144         locale.alias.
64146         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64148         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64150         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64152         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64153         file parsing and set FD_CLOEXEC.
64155 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64157         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64159 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64161         * malloc/arena.c (arena_get2): Don't call reused_arena when
64162         _int_new_arena failed.
64164 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64166         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64167         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64168         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64169         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64170         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64171         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64172         to compile strcasecmp and strncasecmp.
64173         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64174         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64176         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64178 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64180         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64181         locale-defines.sym to gen-as-const-headers.
64182         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64183         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64184         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64185         to compile strcasecmp and strncasecmp.
64186         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64187         strcasecmp_l and strncasecmp_l.
64188         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64189         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64190         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64191         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64192         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64193         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64194         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64195         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64196         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64197         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64198         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64200 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64202         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64203         result of SYSDEP_GETTIME_CPU to retval.
64204         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64205         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64207         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64208         variable.
64210         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64211         mantissa words.
64212         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64214         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64215         from unused variable.
64217         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64218         DWARF definitions.
64219         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64220         for assembling.
64222         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64223         over namespaces.
64225         * sunrpc/rpc_prot.c (rejected): Fix case value.
64227         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64228         unsigned long long int to avoid warnings in shift.
64230         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64231         of use of trans.
64232         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64233         variable tmp.
64235         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64236         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64237         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64239         * nis/nis_table.c (nis_list): Use variable of correct type for
64240         result of __follow_path call.
64242 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64244         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64245         of math functions ceil, trunc, floor, round, and sqrt, when
64246         avaliable on the platform.
64247         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64248         name clash.
64249         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64250         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64251         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64253 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64255         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64256         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64258 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64260         * include/unistd.h: Fix __readlink return type.
64261         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64263 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64265         * stdlib/ucontext.h: Undo last change for makecontext.
64267 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64269         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64271         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64272         * setjmp/setjmp.h: Mark functions as non-leaf.
64273         * setjmp/bits/setjmp2.h: Likewise.
64274         * stdlib/ucontext.h: Likewise.
64276 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64278         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64279         (reused_arena): Don't check arena limit.
64280         (arena_get2): Atomically check arena limit.
64282 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64284         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64285         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64287         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64288         instructions.
64290 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64292         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64293         handler when locking.
64295         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64296         Fix size of allocated buffer.
64298 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64300         [BZ #10103]
64301         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64302         declarations for long double functions.
64303         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64305         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64307 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64309         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64310         installed.
64312         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64313         is disabled.
64315 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64317         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64319 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64321         * include/alloca.h (stackinfo_alloca_round): Define.
64322         (extend_alloca): Use it.
64323         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64324         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64325         here.
64327         * scripts/check-local-headers.sh: Ignore libaudit.h.
64329         * nscd/Makefile (extra-objs): Make recursively expanded.
64331 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64333         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64334         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64336         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64337         * posix/tst-rfc3484-2.c: Likewise.
64338         * posix/tst-rfc3484-3.c: Likewise.
64340         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64341         process_vm_writev.
64342         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64343         process_vm_writev.
64344         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64345         process_vm_writev from libc using GLIBC_2.15 version.
64347         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64349 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64351         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64352         stack usage.
64354 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64356         [BZ #13367]
64357         * nss/getent.c (initgroups_keys): Show error message in case no group
64358         names are given.
64360         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64361         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64362         __bump_nl_timestamp.
64363         * nscd/connections (nscd_init): When host database is served open
64364         netlink socket and request notification about configuration changes.
64365         (main_loop_poll): Track netlink file descriptor and bump timestamp
64366         in case data becomes available.
64367         (main_loop_epoll): Likewise.
64368         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64369         (database_pers_head): Add extra_data fileds.
64370         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64371         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64372         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64373         Adjust caller.
64374         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64375         in6ai data, call __free_in6ai.
64376         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64377         Add -DHAVE_NETLINK.
64378         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64379         interface information.  Reuse previous data if netlink timestamp
64380         is not changed.
64381         (__bump_nl_timestamp): New function.
64382         (__free_in6ai): New function.
64384 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64386         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64387         close_not_cancel_no_status here.
64388         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64390 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64392         [BZ #13276]
64393         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64394         return value.
64396         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64397         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64398         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64400 2011-07-03  Andreas Jaeger  <aj@suse.de>
64402         [BZ #10709]
64403         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64404         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64405         * math/libm-test.inc (sin_test): Add test case.
64407 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64409         [BZ #13337]
64410         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64411         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64413         * elf/chroot_canon.c (chroot_canon): Cleanups.
64415         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64417         [BZ #13335]
64418         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64419         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64421         * string/test-strchr.c: Make usable for strchrnul testing.
64422         * string/test-strchrnul.c: New file.
64423         * string/Makefile (strop-tests): Add strchrnul.
64425         * po/it.po: Update from translation team.
64426         * po/es.po: Likewise.
64428 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64430         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64431         the three constants needed as parameters.  Drop the others.
64432         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64433         __m128i_strloadu_tolower.
64434         Create and initialize variable zero and use it in all the places
64435         where _mm_setzero_si128 was used.
64437         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64438         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64439         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64440         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64441         anymore.
64442         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64443         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64444         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64445         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64446         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64447         __mpranred, __mptan.
64448         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64449         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64450         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64451         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64452         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64453         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64454         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64455         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64456         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64458 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64460         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64461         redefine if SHARED.
64462         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64464         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64465         wide char related routines to wcsmbs subdir.
64467 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64469         [BZ #13344]
64470         * misc/sys/cdefs.h (__THROWNL): Define.
64471         * posix/unistd.h: Use __THREADNL instead of __THREAD
64472         for memory synchronization functions.
64474 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64476         [BZ #13349]
64477         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64478         doesn't exist.
64479         * manual/stdio.texi (Obstack Streams): Node removed.
64481 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64483         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64484         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64485         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64487         * math/math_private.h (math_force_eval): Allow non-addressable
64488         arguments.
64489         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64491 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64493         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64494         file is not needed.
64496         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64497         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64498         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64499         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64500         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64501         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64502         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64503         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64504         Add AVX variants.
64505         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64506         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64507         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64508         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64509         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64510         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64511         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64512         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64513         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64514         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64515         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64516         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64517         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64518         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64519         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64520         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64521         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64522         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64523         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64525         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64526         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64529         place.  Use VEX encoding when compiling for AVX.
64531 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64533         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64534         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64536         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64538 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64540         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64541         useless if() expression.
64542         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64543         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64544         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64545         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64546         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64547         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64548         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64549         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64550         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64551         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64552         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64553         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64554         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64555         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64556         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64557         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64558         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64559         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64560         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64562         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64564 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64566         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64567         condition.
64568         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64570 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64572         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64573         .text section.  Avoid duplicate constants.
64574         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64576         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64578         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64579         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64580         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64581         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64582         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64583         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64584         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64585         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64586         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64587         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64588         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64589         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64590         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64591         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64592         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64593         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64594         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64595         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64596         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64597         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64598         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64599         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64600         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64601         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64602         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64603         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64604         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64605         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64606         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64607         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64608         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64609         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64610         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64611         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64612         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64613         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64614         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64615         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64616         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64617         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64618         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64620 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64622         * sysdeps/x86_64/dla.h: Move to ...
64623         * sysdeps/x86_64/fpu/dla.h: ...here.
64624         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64625         situations.  Use __builtin_fma only for gcc 4.6 and up.
64627         * config.make.in: Add have-mfma4 entry.
64628         * configure.in: Substitute libc_cv_cc_fma4.
64629         * math/Makefile (dbl-only-routines): Add sincostab.
64630         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64631         Use __sincostab not sincos.
64632         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64633         name is a macro.
64634         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64636         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64637         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64638         using __copysign.
64639         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64640         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64641         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64642         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64643         and __inv.
64644         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64645         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64646         __copysign.
64647         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64648         define aliases when function name is a macro.
64649         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64650         sysdeps/ieee754/dbl-64/sincos.tbl.
64651         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64652         fma4-enabled routines.
64653         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64654         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64655         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64656         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64657         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64658         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64659         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64660         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64661         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64662         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64663         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64664         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64665         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64666         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64667         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64668         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64669         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64670         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64671         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64672         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64673         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64674         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64675         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64676         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64677         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64678         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64679         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64680         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64681         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64682         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64684         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64685         rename.
64686         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64687         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64688         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64690         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64691         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64692         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64693         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64695 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64697         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64699 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64701         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64703         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64704         prediction.
64705         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64707         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64708         Remove unused variable magic_bits.
64709         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64711         * string/strnlen.c: Define and use STRNLEN macro.
64712         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64713         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64714         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64715         * wcsmbs/wcslen.c: Define and use WCSLEN.
64716         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64717         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64718         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64719         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64720         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64721         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64722         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64724 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64726         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64727         strnlen-sse2-no-bsf.
64728         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64729         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64730         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64731         Add strnlen support.
64732         (USE_AS_STRNLEN): New macro.
64733         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64734         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64735         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64736         * sysdeps/x86_64/wcslen.S: New file.
64738 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64740         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64741         XMM-moves are used for copying on small sizes.
64743 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64745         * wcsmbs/Makefile (strop-tests): Add wcschr.
64746         * wcsmbs/test-wcschr.c: New file.
64747         * string/test-strchr.c: Update.
64748         Add wcschr support.
64749         (WIDE): New macro.
64751 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64753         * wcsmbs/Makefile (strop-tests): Add wcslen.
64754         * wcsmbs/test-wcslen.c: New file.
64755         * string/test-strlen.c: Update.
64756         Add wcslen support.
64757         (WIDE): New macro.
64759 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64761         * po/it.po: Update from translation team.
64763 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64765         * sysdeps/x86_64/wcscmp.S: Update.
64766         Fix wrong comparison semantics.
64767         wcscmp shall use signed comparison not unsigned.
64768         Don't use substraction to avoid overflow bug.
64769         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64770         * wcsmbc/wcscmp.c: Likewise.
64771         * string/test-strcmp.c: Likewise.
64772         Add new tests to check cases with negative values.
64774 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64776         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64777         * sysdeps/x86_64/dla.h: ...here.  New file.
64778         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64779         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64780         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64781         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64782         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64783         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64784         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64785         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64786         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64788 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64791         __ynl_finite aliases.
64793 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64797         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64798         define DLA_FMA.
64799         [DLA_FMA] (EMULV): Use DLA_FMA.
64800         [DLA_FMA] (MUL12): Use EMULV.
64801         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64802         that are not needed.
64803         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64805         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64806         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64808         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64811 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64813         * math/s_nan.c: Undef __nan.
64814         * math/s_nanf.c: Undef __nanf.
64815         * math/s_nanl.c: Undef __nanl.
64816         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64817         "math_private.h".
64819 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64821         * math/s_catan.c: Add branch predictions.
64822         * math/s_catanf.c: Likewise.
64823         * math/s_catanh.c: Likewise.
64824         * math/s_catanhf.c: Likewise.
64825         * math/s_catanhl.c: Likewise.
64826         * math/s_catanl.c: Likewise.
64827         * math/s_cexp.c: Likewise.
64828         * math/s_cexpf.c: Likewise.
64829         * math/s_cexpl.c: Likewise.
64830         * math/s_clog.c: Likewise.
64831         * math/s_clog10.c: Likewise.
64832         * math/s_clog10f.c: Likewise.
64833         * math/s_clog10l.c: Likewise.
64834         * math/s_clogf.c: Likewise.
64835         * math/s_clogl.c: Likewise.
64836         * math/s_csqrt.c: Likewise.
64837         * math/s_csqrtf.c: Likewise.
64838         * math/s_csqrtl.c: Likewise.
64839         * math/s_ctanf.c: Likewise.
64840         * math/s_ctanh.c: Likewise.
64841         * math/s_ctanhf.c: Likewise.
64842         * math/s_ctanhl.c: Likewise.
64843         * math/s_ctanl.c: Likewise.
64845         * math/math_private.h: Define __nan, __nanf, __nanl.
64846         * math/s_cacosh.c: Include <math_private.h>.
64847         * math/s_cacoshl.c: Likewise.
64848         * math/s_casinh.c: Likewise.
64849         * math/s_casinhf.c: Likewise.
64850         * math/s_casinhl.c: Likewise.
64851         * math/s_ccos.c: Rely entire on ccosh.
64852         * math/s_ccosf.c: Rely entire on ccoshf.
64853         * math/s_ccosl.c: Rely entirely on ccoshl.
64854         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64855         Remove tests for FE_INVALID.
64856         * math/s_ccoshf.c: Likewise.
64857         * math/s_ccoshl.c: Likewise.
64858         * math/s_csin.c: Likewise.
64859         * math/s_csinf.c: Likewise.
64860         * math/s_csinh.c Likewise.
64861         * math/s_csinhf.c: Likewise.
64862         * math/s_csinhl.c: Likewise.
64863         * math/s_csinl.c: Likewise.
64864         * math/s_ctan.c: Likewise.
64865         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64866         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64867         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64869 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64872         compilation problems.
64874         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64875         __builtin_expect.
64877 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
64879         * sysdeps/i386/configure.in: Test for -mfma4 option.
64880         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
64881         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
64882         COMMON_CPUID_INDEX_80000001.
64883         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
64884         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
64885         use it if FMA3 is not supported.
64886         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
64888         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
64889         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64891 2011-10-20  Andreas Schwab  <schwab@redhat.com>
64893         [BZ #12892]
64894         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
64895         it would create a cycle with a link time dependency.
64897 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
64899         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
64900         instruction.
64901         * string/Makefile (strop-tests): Add rawmemchr.
64902         * string/test-rawmemchr.c: New file.
64904         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
64905         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
64906         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
64907         when compiling str{,n}casecmp and when AVX is available.  Hook up
64908         new optimized code in initializers.
64910 2011-10-19  Andreas Schwab  <schwab@redhat.com>
64912         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
64913         __feraiseexcept instead of feraiseexcept.
64915 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
64917         * math/math_private.h: Define defaults for libc_fetestexcept and
64918         libc_feupdateenv.
64919         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
64920         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
64921         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64922         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64923         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64924         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64925         libc_fetestexcept and libc_feupdateenv.
64927         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
64928         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
64929         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
64930         * sysdeps/x86_64/fpu/math_private.h: Define special version of
64931         libc_feholdexcept_setround.
64933         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
64934         Add s_nearbyint-c and s_nearbyintf-c.
64935         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
64936         nearbyintf inlines.
64937         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
64938         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
64939         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
64940         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
64942         * math/math_private.h: Define defaults for libc_fegetround,
64943         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
64944         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
64945         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
64946         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
64947         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
64948         standard functions.
64949         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64950         Remove comments and hacks for old compiler versions.
64951         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64952         libc_fegetround, libc_fesetround, libc_feholdexcept, and
64953         libc_feholdexceptl.
64955 2011-10-18  Andreas Schwab  <schwab@redhat.com>
64957         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
64958         (__feraiseexcept_renamed): Add __NTH.
64959         (feraiseexcept): Add __NTH.  Rename local variables to fix
64960         namespace violations.
64962 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
64964         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
64966         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
64968         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
64969         recently added interfaces.
64970         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
64972         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
64973         about macro parameter expansion.
64975         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
64976         __NO_MATH_INLINES is defined.  Cleanups.
64978         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
64979         and __floorf is target has SSE4.1.
64980         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
64981         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
64982         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
64983         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
64985         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
64986         name.
64987         (floorf): Likewise.
64989         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
64991 2011-10-17  Andreas Schwab  <schwab@redhat.com>
64993         * misc/sys/cdefs.h: Fix last change.
64995         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
64996         database lookup.
64998 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65000         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65002         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65003         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65004         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65005         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65006         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65007         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65008         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65009         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65010         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65011         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65012         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65013         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65014         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65015         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65016         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65017         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65018         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65019         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65020         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65021         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65022         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65023         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65025         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65026         ceil, ceilf, floor, floorf.
65028         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65029         Perform IRELATIVE relocations last.
65031         * elf/do-rel.h: Add another parameter nrelative, replacing the
65032         local variable with the same name.  Change name of the function
65033         to end in Rel or Rela (uppercase).
65034         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65035         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65036         elf_dynamic_do_##reloc function.
65038 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65040         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65041         is sufficient, at least on modern CPUs.
65043         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65045         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65046         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65048         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65049         __expl_finite.
65050         * math/bits/math-finite.h: Add entries for exp.
65051         * math/e_expl.c: Add __*_finite alias.
65052         * sysdeps/i386/fpu/e_exp.S: Likewise.
65053         * sysdeps/i386/fpu/e_expf.S: Likewise.
65054         * sysdeps/i386/fpu/e_expl.c: Likewise.
65055         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65056         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65057         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65058         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65059         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65060         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65061         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65063         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65064         is sufficient, at least on modern CPUs.
65066         * ctype/ctype-info.c (__ctype_init): Define.
65067         * include/ctype.h (__ctype_init): Declare.
65068         (__ctype_b_loc): The variable is always initialized.
65069         (__ctype_toupper_loc): Likewise.
65070         (__ctype_tolower_loc): Likewise.
65071         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65072         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65074 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65076         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65078         * configure.in: Also look in $cxxmachine/include for C++ system
65079         headers.
65081 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65083         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65084         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65085         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65086         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65087         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65088         (USE_AS_WMEMCMP): New macro.
65089         Fixing indents.
65090         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65091         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65092         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65093         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65095         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65096         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65097         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65098         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65099         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65100         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65101         (USE_AS_WMEMCMP): New macro.
65102         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65103         * sysdeps/string/test-memcmp.c: Update.
65104         Fix simple_wmemcmp.
65105         Add new tests.
65106         * wcsmbs/wmemcmp.c: Update.
65107         (WMEMCMP): New macro.
65108         Fix overflow bug.
65110 2011-10-12  Andreas Jaeger  <aj@suse.de>
65112         [BZ #13268]
65113         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65115 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65117         * libio/iofwide.c (do_length): Avoid warning.
65119         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65121 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65123         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65125         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65126         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65127         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65128         * sysdeps/i386/i686/fpu/e_log.S: New file.
65129         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65130         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65132         * ctype/ctype.h: Add support for inlined isXXX functions when
65133         compiling C++ code.
65135 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65137         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65139         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65141 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65143         [BZ #13291]
65144         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65146 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65148         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65149         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65150         feraiseexcept.
65152         * sysdeps/x86_64/memrchr.S: Check for zero size.
65154         * string/stratcliff.c: Add memrchr tests.
65156 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65158         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65159         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65160         rawmemchr-sse2 rawmemchr-sse2-bsf.
65161         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65162         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65163         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65164         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65165         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65166         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65167         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65168         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65169         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65170         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65171         * string/memrchr.c (MEMRCHR): New macro.
65173 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65175         Add integration with gcc's -ffinite-math-only and optimize wrapper
65176         functions in libm.
65177         * Versions.def: Define GLIBC_2.15 version for libm.
65178         * math/Makefile (headers): Add bits/math-finite.h.
65179         * math/bits/math-finite.h: New file.
65180         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65181         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65182         * math/e_acoshl.c: Add __*_finite alias.
65183         * math/e_acosl.c: Likewise.
65184         * math/e_asinl.c: Likewise.
65185         * math/e_atan2l.c: Likewise.
65186         * math/e_atanhl.c: Likewise.
65187         * math/e_coshl.c: Likewise.
65188         * math/e_exp10.c: Likewise.
65189         * math/e_exp10f.c: Likewise.
65190         * math/e_exp10l.c: Likewise.
65191         * math/e_exp2l.c: Likewise.
65192         * math/e_fmodl.c: Likewise.
65193         * math/e_gammal_r.c: Likewise.
65194         * math/e_hypotl.c: Likewise.
65195         * math/e_j0l.c: Likewise.
65196         * math/e_j1l.c: Likewise.
65197         * math/e_jnl.c: Likewise.
65198         * math/e_lgammal_r.c: Likewise.
65199         * math/e_log10l.c: Likewise.
65200         * math/e_log2l.c: Likewise.
65201         * math/e_logl.c: Likewise.
65202         * math/e_powl.c: Likewise.
65203         * math/e_sinhl.c: Likewise.
65204         * math/e_sqrtl.c: Likewise.
65205         * math/e_scalb.c: Completely rewritten and optimized.
65206         * math/e_scalbf.c: Likewise.
65207         * math/e_scalbl.c: Likewise.
65208         * math/w_acos.c: Likewise.
65209         * math/w_acosf.c: Likewise.
65210         * math/w_acosl.c: Likewise.
65211         * math/w_acosh.c: Likewise.
65212         * math/w_acoshf.c: Likewise.
65213         * math/w_acoshl.c: Likewise.
65214         * math/w_asin.c: Likewise.
65215         * math/w_asinf.c: Likewise.
65216         * math/w_asinl.c: Likewise.
65217         * math/w_atan2.c: Likewise.
65218         * math/w_atan2f.c: Likewise.
65219         * math/w_atan2l.c: Likewise.
65220         * math/w_atanh.c: Likewise.
65221         * math/w_atanhf.c: Likewise.
65222         * math/w_atanhl.c: Likewise.
65223         * math/w_exp10.c: Likewise.
65224         * math/w_exp10f.c: Likewise.
65225         * math/w_exp10l.c: Likewise.
65226         * math/w_fmod.c: Likewise.
65227         * math/w_fmodf.c: Likewise.
65228         * math/w_fmodl.c: Likewise.
65229         * math/w_j0.c: Likewise.
65230         * math/w_j0f.c: Likewise.
65231         * math/w_j0l.c: Likewise.
65232         * math/w_j1.c: Likewise.
65233         * math/w_j1f.c: Likewise.
65234         * math/w_j1l.c: Likewise.
65235         * math/w_jn.c: Likewise.
65236         * math/w_jnf.c: Likewise.
65237         * math/w_log.c: Likewise.
65238         * math/w_logf.c: Likewise.
65239         * math/w_logl.c: Likewise.
65240         * math/w_log10.c: Likewise.
65241         * math/w_log10f.c: Likewise.
65242         * math/w_log10l.c: Likewise.
65243         * math/w_log2.c: Likewise.
65244         * math/w_log2f.c: Likewise.
65245         * math/w_log2l.c: Likewise.
65246         * math/w_pow.c: Likewise.
65247         * math/w_powf.c: Likewise.
65248         * math/w_powl.c: Likewise.
65249         * math/w_remainder.c: Likewise.
65250         * math/w_remainderf.c: Likewise.
65251         * math/w_remainderl.c: Likewise.
65252         * math/w_scalb.c: Likewise.
65253         * math/w_scalbf.c: Likewise.
65254         * math/w_scalbl.c: Likewise.
65255         * math/w_sqrt.c: Likewise.
65256         * math/w_sqrtf.c: Likewise.
65257         * math/w_sqrtl.c: Likewise.
65258         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65259         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65260         used.
65261         * math/math_private.h: Declare __kernel_standard_f.
65262         * math/w_cosh.c: Remove cruft and optimize a bit.
65263         * math/w_coshf.c: Likewise.
65264         * math/w_coshl.c: Likewise.
65265         * math/w_exp2.c: Likewise.
65266         * math/w_exp2f.c: Likewise.
65267         * math/w_exp2l.c: Likewise.
65268         * math/w_hypot.c: Likewise.
65269         * math/w_hypotf.c: Likewise.
65270         * math/w_hypotl.c: Likewise.
65271         * math/w_lgamma.c: Likewise.
65272         * math/w_lgamma_r.c: Likewise.
65273         * math/w_lgammaf.c: Likewise.
65274         * math/w_lgammaf_r.c: Likewise.
65275         * math/w_lgammal.c: Likewise.
65276         * math/w_lgammal_r.c: Likewise.
65277         * math/w_sinh.c: Likewise.
65278         * math/w_sinhf.c: Likewise.
65279         * math/w_sinhl.c: Likewise.
65280         * math/w_tgamma.c: Likewise.
65281         * math/w_tgammaf.c: Likewise.
65282         * math/w_tgammal.c: Likewise.
65283         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65284         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65285         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65286         Minor optimizations.  Pretty printing.  Remove cruft.
65287         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65288         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65289         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65290         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65291         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65292         * sysdeps/i386/fpu/e_asin.S: Likewise.
65293         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65294         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65295         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65296         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65297         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65298         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65299         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65300         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65301         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65302         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65303         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65304         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65305         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65306         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65307         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65308         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65309         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65310         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65311         * sysdeps/i386/fpu/e_log.S: Likewise.
65312         * sysdeps/i386/fpu/e_log10.S: Likewise.
65313         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65314         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65315         * sysdeps/i386/fpu/e_log2.S: Likewise.
65316         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65317         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65318         * sysdeps/i386/fpu/e_logf.S: Likewise.
65319         * sysdeps/i386/fpu/e_logl.S: Likewise.
65320         * sysdeps/i386/fpu/e_pow.S: Likewise.
65321         * sysdeps/i386/fpu/e_powf.S: Likewise.
65322         * sysdeps/i386/fpu/e_powl.S: Likewise.
65323         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65324         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65325         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65326         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65327         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65328         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65329         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65330         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65331         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65332         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65333         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65334         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65335         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65336         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65337         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65338         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65339         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65340         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65341         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65342         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65343         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65344         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65345         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65346         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65347         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65348         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65349         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65350         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65351         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65352         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65353         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65354         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65355         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65356         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65357         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65358         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65359         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65360         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65361         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65362         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65363         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65364         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65365         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65366         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65367         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65368         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65369         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65370         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65371         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65372         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65373         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65374         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65375         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65376         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65377         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65378         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65379         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65380         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65381         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65382         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65383         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65384         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65385         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65387         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65388         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65389         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65390         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65391         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65392         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65393         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65394         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65395         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65396         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65397         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65398         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65399         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65400         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65402         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65403         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65404         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65405         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65406         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65407         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65408         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65409         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65410         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65411         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65412         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65413         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65414         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65415         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65416         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65417         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65418         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65419         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65420         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65421         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65422         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65423         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65424         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65425         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65426         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65427         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65428         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65429         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65430         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65431         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65432         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65433         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65434         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65435         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65436         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65437         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65438         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65439         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65440         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65441         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65442         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65443         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65444         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65445         (__isnanf): Likewise.
65446         (__isinf_ns): Likewise.
65447         (__isinf_nsf): Likewise.
65448         (__finite): Likewise.
65449         (__finitef): Likewise.
65450         (__ieee754_sqrt): Define as macro.
65451         (__ieee754_sqrtf): Define as macro.
65452         (__ieee754_sqrtl): Define as macro.
65453         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65454         inlined copy.
65455         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65456         __FINITE_MATH_ONLY__ consistent.
65457         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65459 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65461         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65462         of rawmemchr.
65464         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65466 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65468         * po/ja.po: Update from translation team.
65470 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65472         * locale/programs/locarchive.c (prepare_address_space): New function.
65473         (create_archive, enlarge_archive, open_archive): Use it.
65475         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65476         inside [SHARED], where it is used.
65478         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65480         * nss/getent.c (netgroup_keys): Remove unused variable.
65481         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65483 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65485         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65486         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65487         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65488         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65489         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65490         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65491         * math/Makefile (libm-calls): Add s_isinf_ns.
65492         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65493         * math/multc3.c: Likewise.
65494         * math/s_casin.c: Likewise.
65495         * math/s_casinf.c: Likewise.
65496         * math/s_casinl.c: Likewise.
65497         * math/s_ccos.c: Likewise.
65498         * math/s_ccosf.c: Likewise.
65499         * math/s_ccosl.c: Likewise.
65500         * math/s_ctan.c: Likewise.
65501         * math/s_ctanf.c: Likewise.
65502         * math/s_ctanh.c: Likewise.
65503         * math/s_ctanhf.c: Likewise.
65504         * math/s_ctanhl.c: Likewise.
65505         * math/s_ctanl.c: Likewise.
65506         * math/w_fmod.c: Likewise.
65507         * math/w_fmodf.c: Likewise.
65508         * math/w_fmodl.c: Likewise.
65509         * math/w_remainder.c: Likewise.
65510         * math/w_remainderf.c: Likewise.
65511         * math/w_remainderl.c: Likewise.
65512         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65513         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65514         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65515         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65516         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65517         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65518         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65519         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65521         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65522         of the number.
65523         * stdio-common/printf_fphex.c: Likewise.
65524         * stdio-common/printf_size.c: Likewise.
65526         * math/e_exp10.c: Include math_private.h using <...> not "...".
65527         * math/e_exp10f.c: Likewise.
65528         * math/e_exp10l.c: Likewise.
65529         * math/e_exp2l.c: Likewise.
65530         * math/e_j0l.c: Likewise.
65531         * math/e_j1l.c: Likewise.
65532         * math/e_jnl.c: Likewise.
65533         * math/e_lgammal_r.c: Likewise.
65534         * math/e_rem_pio2l.c: Likewise.
65535         * math/e_scalb.c: Likewise.
65536         * math/e_scalbf.c: Likewise.
65537         * math/e_scalbl.c: Likewise.
65538         * math/k_cosl.c: Likewise.
65539         * math/k_sinl.c: Likewise.
65540         * math/k_tanl.c: Likewise.
65541         * math/s_cacoshf.c: Likewise.
65542         * math/s_catan.c: Likewise.
65543         * math/s_catanf.c: Likewise.
65544         * math/s_catanh.c: Likewise.
65545         * math/s_catanhf.c: Likewise.
65546         * math/s_catanhl.c: Likewise.
65547         * math/s_catanl.c: Likewise.
65548         * math/s_ccosh.c: Likewise.
65549         * math/s_ccoshf.c: Likewise.
65550         * math/s_ccoshl.c: Likewise.
65551         * math/s_cexp.c: Likewise.
65552         * math/s_cexpf.c: Likewise.
65553         * math/s_cexpl.c: Likewise.
65554         * math/s_clog.c: Likewise.
65555         * math/s_clog10.c: Likewise.
65556         * math/s_clog10f.c: Likewise.
65557         * math/s_clog10l.c: Likewise.
65558         * math/s_clogf.c: Likewise.
65559         * math/s_clogl.c: Likewise.
65560         * math/s_csin.c: Likewise.
65561         * math/s_csinf.c: Likewise.
65562         * math/s_csinh.c: Likewise.
65563         * math/s_csinhf.c: Likewise.
65564         * math/s_csinhl.c: Likewise.
65565         * math/s_csinl.c: Likewise.
65566         * math/s_csqrt.c: Likewise.
65567         * math/s_csqrtf.c: Likewise.
65568         * math/s_csqrtl.c: Likewise.
65569         * math/s_ctan.c: Likewise.
65570         * math/s_ctanf.c: Likewise.
65571         * math/s_ctanh.c: Likewise.
65572         * math/s_ctanhf.c: Likewise.
65573         * math/s_ctanhl.c: Likewise.
65574         * math/s_ctanl.c: Likewise.
65575         * math/s_ldexp.c: Likewise.
65576         * math/s_ldexpf.c: Likewise.
65577         * math/s_ldexpl.c: Likewise.
65578         * math/s_significand.c: Likewise.
65579         * math/s_significandf.c: Likewise.
65580         * math/s_significandl.c: Likewise.
65581         * math/w_acos.c: Likewise.
65582         * math/w_acosf.c: Likewise.
65583         * math/w_acosh.c: Likewise.
65584         * math/w_acoshf.c: Likewise.
65585         * math/w_acoshl.c: Likewise.
65586         * math/w_acosl.c: Likewise.
65587         * math/w_asin.c: Likewise.
65588         * math/w_asinf.c: Likewise.
65589         * math/w_asinl.c: Likewise.
65590         * math/w_atan2.c: Likewise.
65591         * math/w_atan2f.c: Likewise.
65592         * math/w_atan2l.c: Likewise.
65593         * math/w_atanh.c: Likewise.
65594         * math/w_atanhf.c: Likewise.
65595         * math/w_atanhl.c: Likewise.
65596         * math/w_cosh.c: Likewise.
65597         * math/w_coshf.c: Likewise.
65598         * math/w_coshl.c: Likewise.
65599         * math/w_dremf.c: Likewise.
65600         * math/w_exp10.c: Likewise.
65601         * math/w_exp10f.c: Likewise.
65602         * math/w_exp10l.c: Likewise.
65603         * math/w_exp2.c: Likewise.
65604         * math/w_exp2f.c: Likewise.
65605         * math/w_fmod.c: Likewise.
65606         * math/w_fmodf.c: Likewise.
65607         * math/w_fmodl.c: Likewise.
65608         * math/w_hypot.c: Likewise.
65609         * math/w_hypotf.c: Likewise.
65610         * math/w_hypotl.c: Likewise.
65611         * math/w_j0.c: Likewise.
65612         * math/w_j0f.c: Likewise.
65613         * math/w_j0l.c: Likewise.
65614         * math/w_j1.c: Likewise.
65615         * math/w_j1f.c: Likewise.
65616         * math/w_j1l.c: Likewise.
65617         * math/w_jn.c: Likewise.
65618         * math/w_jnf.c: Likewise.
65619         * math/w_jnl.c: Likewise.
65620         * math/w_lgamma.c: Likewise.
65621         * math/w_lgamma_r.c: Likewise.
65622         * math/w_lgammaf.c: Likewise.
65623         * math/w_lgammaf_r.c: Likewise.
65624         * math/w_lgammal.c: Likewise.
65625         * math/w_lgammal_r.c: Likewise.
65626         * math/w_log.c: Likewise.
65627         * math/w_log10.c: Likewise.
65628         * math/w_log10f.c: Likewise.
65629         * math/w_log10l.c: Likewise.
65630         * math/w_log2.c: Likewise.
65631         * math/w_log2f.c: Likewise.
65632         * math/w_log2l.c: Likewise.
65633         * math/w_logf.c: Likewise.
65634         * math/w_logl.c: Likewise.
65635         * math/w_pow.c: Likewise.
65636         * math/w_powf.c: Likewise.
65637         * math/w_powl.c: Likewise.
65638         * math/w_remainder.c: Likewise.
65639         * math/w_remainderf.c: Likewise.
65640         * math/w_remainderl.c: Likewise.
65641         * math/w_scalb.c: Likewise.
65642         * math/w_scalbf.c: Likewise.
65643         * math/w_scalbl.c: Likewise.
65644         * math/w_sinh.c: Likewise.
65645         * math/w_sinhf.c: Likewise.
65646         * math/w_sinhl.c: Likewise.
65647         * math/w_sqrt.c: Likewise.
65648         * math/w_sqrtf.c: Likewise.
65649         * math/w_sqrtl.c: Likewise.
65650         * math/w_tgamma.c: Likewise.
65651         * math/w_tgammaf.c: Likewise.
65652         * math/w_tgammal.c: Likewise.
65654         * po/ja.po: Update from translation team.
65656 2011-09-29  Andreas Jaeger  <aj@suse.de>
65658         [BZ #13179]
65659         * sunrpc/netname.c (netname2host): Fix logic.
65661         [BZ #6779]
65662         [BZ #6783]
65663         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65664         correctly.
65665         * math/w_remainder.c (__remainder): Likewise.
65666         * math/w_remainderf.c (__remainderf): Likewise.
65667         * math/libm-test.inc (remainder_test): Add test cases.
65669 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65671         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65672         sdiv_qrnnd.
65674 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65676         * string/test-memcmp.c: Avoid unncessary #defines.
65677         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65679 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65681         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65682         Use new sse2 version for core i3 - i7 as it's faster
65683         than sse42 version.
65684         (bit_Prefer_PMINUB_for_stringop): New.
65685         * sysdeps/x86_64/rawmemchr.S: Update.
65686         Replace with faster SSE2 version.
65687         * sysdeps/x86_64/memrchr.S: New file.
65688         * sysdeps/x86_64/memchr.S: Update.
65689         Replace with faster SSE2 version.
65691 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65693         * elf/dl-load.c (lose): Add cast to avoid warning.
65695 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65697         * po/ca.po: Update from translation team.
65699         * inet/getnetgrent_r.c: Hook up nscd.
65700         * nscd/Makefile (routines): Add nscd_netgroup.
65701         (nscd-modules): Add netgroupcache.
65702         (CFLAGS-netgroupcache.c): Define.
65703         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65704         (cache_search): Add const to second parameter.
65705         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65706         INNETGR.
65707         (dbs): Add netgrdb entry.
65708         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65709         (verify_persistent_db): Handle netgrdb.
65710         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65711         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65712         GETFDNETGR.
65713         (netgroup_response_header): Define.
65714         (innetgroup_response_header): Define.
65715         (datahead): Add netgroup_response_header and innetgroup_response_header
65716         elements.
65717         * nscd/nscd.conf: Add entries for netgroup cache.
65718         * nscd/nscd.h (dbtype): Add netgrdb.
65719         (_PATH_NSCD_NETGROUP_DB): Define.
65720         (netgroup_iov_disabled): Declare.
65721         (xmalloc, xcalloc, xrealloc): Move declarations here.
65722         (cache_search): Adjust prototype.
65723         Add netgroup-related prototypes.
65724         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65725         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65726         (__nscd_innetgr): Declare.
65727         * nscd/selinux.c (perms): Use access_vector_t as element type and
65728         add netgroup-related initializers.
65729         * nscd/netgroupcache.c: New file.
65730         * nscd/nscd_netgroup.c: New file.
65731         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65732         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65733         For four parameters use innetgr.
65734         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65735         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65736         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65737         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65739         * nscd/connections.c (register_traced_file): Don't register file
65740         for disabled databases.
65742 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65744         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65746         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65747         from tree and freeing node.
65749 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65751         * nss/nsswitch.c (__nss_database_lookup): Handle
65752         nss_parse_service_list out of memory case.
65754 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65756         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65757         out of memory case.
65759 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65761         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65762         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65763         pass it down.
65764         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65765         elf_machine_rela, elf_machine_lazy_rel.
65766         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65767         (ELF_DYNAMIC_DO_REL): Likewise.
65768         (ELF_DYNAMIC_DO_RELA): Likewise.
65769         (ELF_DYNAMIC_RELOCATE): Likewise.
65770         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65771         to ELF_DYNAMIC_DO_REL.
65772         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65773         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65774         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65775         elf_machine_rela.
65776         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65777         skip_ifunc, don't call ifunc function if non-zero.
65778         (elf_machine_rela): Likewise.
65779         (elf_machine_lazy_rel): Likewise.
65780         (elf_machine_lazy_rela): Likewise.
65781         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65782         (elf_machine_lazy_rel): Likewise.
65783         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65784         Likewise.
65785         (elf_machine_lazy_rel): Likewise.
65786         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65787         Likewise.
65788         (elf_machine_lazy_rel): Likewise.
65789         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65790         (elf_machine_lazy_rel): Likewise.
65791         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65792         (elf_machine_lazy_rel): Likewise.
65793         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65794         (elf_machine_lazy_rel): Likewise.
65795         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65796         (elf_machine_lazy_rel): Likewise.
65797         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65798         (elf_machine_lazy_rel): Likewise.
65799         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65800         (elf_machine_lazy_rel): Likewise.
65802 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65804         * nss/nss_files/files-init.c (_nss_files_init): Use static
65805         initialization for all the *_traced_file variables.
65807 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65809         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65811 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65813         [BZ #13226]
65814         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65816 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65818         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65819         Reread the line before reparsing it.
65821 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65823         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65825 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65826             Maxim Kuvyrkov  <maxim@codesourcery.com>
65827             Joseph Myers  <joseph@codesourcery.com>
65829         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65830         if needed for __stack_chk_guard.
65832 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65834         * sysdeps/posix/spawni.c (script_execute): Always define it.
65835         It will be optimized away if unused.
65836         (maybe_script_execute): New function.
65837         (__spawni): Call it.
65839         * Makerules: Don't include tls.make.
65840         (config-tls): Always set to thread.
65841         * tls.make.c: File removed.
65843 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65845         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65846         * config.make.in (CPPFLAGS-config): New substituted variable.
65848 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65850         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65852         [BZ #13192]
65853         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65854         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65856 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65858         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65859         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65860         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65861         (CALL_FAIL): Likewise.
65862         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65863         (CALL_FAIL): Macro removed.
65864         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65866 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65868         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65869         for __FINITE_MATH_ONLY__ == 1.
65871 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65873         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65874         __ieee754_sqrt instead of sqrt.
65875         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65876         __ieee754_sqrtf instead of sqrtf.
65877         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65878         __floorf instead of floorf.
65879         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
65880         __floorf, __truncf instead of floorf, truncf.
65882 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
65884         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
65886         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
65887         __extern_always_inline.
65888         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
65889         32-bit.
65891 2011-09-14  Andreas Schwab  <schwab@redhat.com>
65893         * elf/rtld.c (dl_main): Also relocate in dependency order when
65894         doing symbol dependency testing.
65896 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
65898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65899         Always define `refsym'.
65901 2011-09-13  Andreas Schwab  <schwab@redhat.com>
65903         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
65904         (__FD_ELT): Renamed from __FDELT.
65905         * misc/bits/select2.h (__FD_ELT): Likewise.
65906         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
65907         __FD_MASK instead of __FDELT, __FDMASK.
65908         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65909         Likewise.
65910         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65911         Likewise.
65913         * elf/Makefile (gen-ldd): Fix pattern.
65915         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
65916         (init_tls): Likewise.
65918 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
65920         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
65922 2011-09-12  Andreas Schwab  <schwab@redhat.com>
65924         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
65925         `struct cmsghdr *' instead of `void *'.
65926         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
65927         Likewise.
65929 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
65931         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
65932         if non-absolute.
65933         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
65934         ldd_rewrite_script.
65936 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
65938         * configure.in: Remove --with-tls option.
65939         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
65940         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
65941         out in case it is missing.
65942         * sysdeps/ia64/elf/configure.in: Likewise.
65943         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
65944         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
65945         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
65946         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
65947         * sysdeps/sh/elf/configure.in: Likewise.
65948         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
65949         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65950         * sysdeps/x86_64/elf/configure.in: Likewise.
65951         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
65952         * sysdeps/mach/hurd/tls.h: Likewise.
65954         [BZ #13067]
65955         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
65957         [BZ #13090]
65958         * configure.in: Fix use of AC_INIT.
65960         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
65962 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
65964         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
65965         __set_errno.
65966         * malloc/hooks.c: Likewise.
65968         [BZ #11929]
65969         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
65970         variables statically.
65971         (narenas): Initialize.
65972         (list_lock): Initialize.
65973         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
65974         initializtion of main_arena and list_lock.  Small cleanups.
65975         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
65976         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
65977         Add initializers to main_arena and mp_.
65978         (malloc_state): Remove pagesize member.  Change all users to use
65979         GLRO(dl_pagesize).
65981         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
65982         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
65983         is always initialized.
65985         * malloc/malloc.c: Removed unused configurations and dead code.
65986         * malloc/arena.c: Likewise.
65987         * malloc/hooks.c: Likewise.
65988         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
65990         * include/tls.h: Removed.  USE___THREAD must always be defined.
65991         * bits/libc-tsd.h: Don't handle !USE___THREAD.
65992         * elf/dl-libc.c: Likewise.
65993         * elf/dl-tsd.c: Likewise.
65994         * include/errno.h: Likewise.
65995         * include/netdb.h: Likewise.
65996         * include/resolv.h: Likewise.
65997         * inet/herrno-loc.c: Likewise.
65998         * inet/herrno.c: Likewise.
65999         * malloc/arena.c: Likewise.
66000         * malloc/hooks.c: Likewise.
66001         * malloc/malloc.c: Likewise.
66002         * resolv/res-state.c: Likewise.
66003         * resolv/res_libc.c: Likewise.
66004         * sysdeps/i386/dl-machine.h: Likewise.
66005         * sysdeps/ia64/dl-machine.h: Likewise.
66006         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66007         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66008         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66009         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66010         * sysdeps/sh/dl-machine.h: Likewise.
66011         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66012         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66013         * sysdeps/unix/i386/sysdep.S: Likewise.
66014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66015         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66016         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66018         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66020         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66021         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66022         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66024         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66025         * sysdeps/x86_64/dl-machine.h: Likewise.
66026         * tls.make.c: Likewise.
66028         * configure.in: Remove --with-__thread option.  Make tests for
66029         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66030         tls_model attribute fail if no support is available.  Remove
66031         USE_IN_LIBIO.
66032         * Makeconfig: Adjust for dropped configure option.  All features are
66033         now mandatory.
66034         * Makerules: Likewise.
66035         * Versions.def: Likewise.
66036         * argp/argp-fmtstream.c: Likewise.
66037         * argp/argp-fmtstream.h: Likewise.
66038         * argp/argp-help.c: Likewise.
66039         * assert/assert.c: Likewise.
66040         * config.h.in: Likewise.
66041         * config.make.in: Likewise.
66042         * configure: Likewise.
66043         * configure.in: Likewise.
66044         * csu/Versions: Likewise.
66045         * csu/init.c: Likewise.
66046         * elf/tst-audit2.c: Likewise.
66047         * elf/tst-tls10.c: Likewise.
66048         * elf/tst-tls10.h: Likewise.
66049         * elf/tst-tls11.c: Likewise.
66050         * elf/tst-tls12.c: Likewise.
66051         * elf/tst-tls14.c: Likewise.
66052         * elf/tst-tlsmod11.c: Likewise.
66053         * elf/tst-tlsmod12.c: Likewise.
66054         * elf/tst-tlsmod13.c: Likewise.
66055         * elf/tst-tlsmod13a.c: Likewise.
66056         * elf/tst-tlsmod14a.c: Likewise.
66057         * elf/tst-tlsmod15b.c: Likewise.
66058         * elf/tst-tlsmod16a.c: Likewise.
66059         * elf/tst-tlsmod16b.c: Likewise.
66060         * elf/tst-tlsmod7.c: Likewise.
66061         * elf/tst-tlsmod8.c: Likewise.
66062         * elf/tst-tlsmod9.c: Likewise.
66063         * gmon/gmon.c: Likewise.
66064         * grp/fgetgrent_r.c: Likewise.
66065         * grp/putgrent.c: Likewise.
66066         * hurd/fopenport.c: Likewise.
66067         * include/libc-symbols.h: Likewise.
66068         * include/tls.h: Likewise.
66069         * intl/gettextP.h: Likewise.
66070         * intl/loadinfo.h: Likewise.
66071         * locale/global-locale.c: Likewise.
66072         * locale/localeinfo.h: Likewise.
66073         * mach/devstream.c: Likewise.
66074         * malloc/arena.c: Likewise.
66075         * malloc/set-freeres.c: Likewise.
66076         * misc/err.c: Likewise.
66077         * misc/getttyent.c: Likewise.
66078         * misc/mntent_r.c: Likewise.
66079         * posix/getopt.c: Likewise.
66080         * posix/wordexp.c: Likewise.
66081         * pwd/fgetpwent_r.c: Likewise.
66082         * resolv/Versions: Likewise.
66083         * resolv/res_hconf.c: Likewise.
66084         * shadow/fgetspent_r.c: Likewise.
66085         * shadow/putspent.c: Likewise.
66086         * stdio-common/printf_fphex.c: Likewise.
66087         * stdio-common/tmpfile.c: Likewise.
66088         * stdlib/abort.c: Likewise.
66089         * stdlib/fmtmsg.c: Likewise.
66090         * sunrpc/auth_unix.c: Likewise.
66091         * sunrpc/clnt_perr.c: Likewise.
66092         * sunrpc/clnt_tcp.c: Likewise.
66093         * sunrpc/clnt_udp.c: Likewise.
66094         * sunrpc/clnt_unix.c: Likewise.
66095         * sunrpc/openchild.c: Likewise.
66096         * sunrpc/svc_simple.c: Likewise.
66097         * sunrpc/svc_tcp.c: Likewise.
66098         * sunrpc/svc_udp.c: Likewise.
66099         * sunrpc/svc_unix.c: Likewise.
66100         * sunrpc/xdr.c: Likewise.
66101         * sunrpc/xdr_array.c: Likewise.
66102         * sunrpc/xdr_rec.c: Likewise.
66103         * sunrpc/xdr_ref.c: Likewise.
66104         * sunrpc/xdr_stdio.c: Likewise.
66106 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66108         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66110 2011-07-03  Andreas Jaeger  <aj@suse.de>
66112         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66113         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66114         regenerate with gen-libm-tests.pl.
66116 2010-05-12  Petr Baudis  <pasky@suse.cz>
66118         [BZ #11589]
66119         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66120         around j0() zero points by switching to j1().
66121         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66122         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66124         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66126 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66128         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66129         instead of 0.
66130         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66131         instead of 0.
66132         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66133         Patch in part by Pavel Roskin <proski@gnu.org>.
66135         [BZ #13138]
66136         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66137         realloc.
66138         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66139         Free memory block if necessary.
66141         [BZ #12847]
66142         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66143         be NULL.  Don't lock in this case.
66145 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66147         * elf/elf.h (ELFOSABI_GNU): New macro.
66148         (ELFOSABI_LINUX): Define to that.
66150 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66152         * string/strncat.c (strncat): Undef the symbol in case it has been
66153         defined in bits/string.h.
66155 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66157         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66159         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66160         link map.
66162 2011-08-17  Andreas Jaeger  <aj@suse.de>
66164         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66166 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66167             Ian Lance Taylor  <iant@google.com>
66169         * math/libm-test.inc (lround_test): New testcase.
66170         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66172 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66174         * Makefile: Remove support for automatic cvs check-ins.
66175         * Makerules: Likewise.
66176         * config.make.in: Likewise.
66177         * configure.in: Likewise.
66178         * intl/Makefile: Likewise.
66179         * locale/Makefile: Likewise.
66180         * po/Makefile: Likewise.
66181         * posix/Makefile: Likewise.
66182         * sysdeps/gnu/Makefile: Likewise.
66183         * sysdeps/mach/hurd/Makefile: Likewise.
66184         * sysdeps/sparc/sparc32/Makefile: Likewise.
66186         [BZ #13118]
66187         * posix/Makefile (bug-regex32-ENV): Define.
66188         Patch by John Stanley <jpsinthemix@verizon.net>.
66190         * misc/Makefile (headers): Add bits/select2.h.
66191         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66192         * misc/bits/select2.h: New file.
66193         * include/bits/select2.h: New file.
66194         * debug/Makefile (routines): Add fdelt_chk.
66195         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66196         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66197         FD_ISSET.
66198         * debug/fdelt_chk.c: New file.
66200         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66201         * wcsmbs/test-wmemcmp.c: Likewise.
66202         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66203         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66205 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66207         * string/Makefile (strop-tests): Add memcmp.
66208         * string/test-wmemcmp.c: New file.
66209         * string/test-memcmp.c: Add wmemcmp support.
66211 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66213         [BZ #13153]
66214         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66215         2011-07-19 change.
66217         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66218         garbage value in a __mach_port_mod_refs call in the cases of the
66219         task-self and thread-self ports.
66221 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66223         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66225 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66227         * elf/dl-load.c (lose): Check for non-null L.
66229 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66231         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66233         * elf/dl-libc.c (dlerror_run): Pass back error code from
66234         dl_catch_error.
66236         [BZ #13123]
66237         * elf/dl-load.c (lose): Free l_origin if it is valid.
66239         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66240         names.
66241         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66242         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66243         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66244         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66245         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66246         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66248 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66250         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66251         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66252         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66253         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66254         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66255         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66256         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66257         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66258         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66259         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66261 2011-08-15  Alan Modra  <amodra@gmail.com>
66263         [BZ #13092]
66264         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66265         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66266         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66267         ppc_mcount to static-only-routines.
66268         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66269         __mcount_internal.
66270         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66271         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66273 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66275         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66276         for finite and infinity parameters.
66278 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66280         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66281         and add nop instructions for throughput optimization.
66282         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66284 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66286         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66287         aligned copy for power7 with vector-scalar instructions.
66288         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66290 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66292         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66293         AVX check.
66295 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66297         [BZ #13144]
66298         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66299         last change.
66301 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66303         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66304         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66305         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66306         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66307         clock_gettime.
66309 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66311         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66312         Forgot to demangle the pointer.
66314         * sysdeps/i386/sysdep.h: Define atom_text_section.
66315         * sysdeps/x86_64/sysdep.h: Likewise.
66316         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66317         section with atom_text_section.
66318         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66319         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66320         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66321         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66322         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66324         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66325         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66326         already be defined.  Change to take two parameters and don't assign
66327         result to variable.  Adjust all users.
66328         Define INTERNAL_GETTIME if not already defined.
66329         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66330         call.
66331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66332         HAVE_CLOCK_GETTIME_VSYSCALL.
66333         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66335         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66336         gettimeofday vsyscall, just use time.
66338 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66340         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66341         <errno.h>.
66343 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66345         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66346         syscall on x86-64.
66347         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66348         syscall.
66349         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66350         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66351         syscall if possible.
66353 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66355         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66356         e_ident.  Don't pass to find_mapsXX.
66357         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66359 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66362         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66363         * sysdeps/x86_64/multiarch/strchr.S: Update.
66364         Check bit_slow_BSF bit.
66365         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66366         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66367         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66369 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66371         [BZ #13134]
66372         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66373         before glibc 2.15.
66374         (tryshell): Define.
66375         (__spawni): Change last parameter to be flag.  Test
66376         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66377         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66378         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66379         * posix/spawni.c: Likewise.
66380         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66381         * posix/spawnp.c: Likewise.  Change normal version to use
66382         SPAWN_XFLAGS_USE_PATH.
66383         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66384         SPAWN_XFLAGS_TRY_SHELL.
66386         [BZ #13150]
66387         * posix/glob.h: Remove gcc 1.x support.
66389         [BZ #13068]
66390         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66392 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66394         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66395         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66396         strrchr-sse2-bsf
66397         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66398         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66399         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66400         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66401         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66402         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66404 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66406         * sysdeps/x86_64/wcscmp.S: New file.
66408         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66409         wcscmp-c wcscmp-sse2
66410         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66411         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66412         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66413         * wcsmbs/wcscmp.c: Allow renaming.
66415 2011-09-05  David S. Miller  <davem@davemloft.net>
66417         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66418         stack slot, rather than the struct return pointer slot.
66419         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66420         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66422         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66424 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66426         * po/ja.po: Update from translation team.
66428         [BZ #13144]
66429         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66430         kernel in 64-bit binaries.
66432 2011-09-01  David S. Miller  <davem@davemloft.net>
66434         * elf/elf.h (HWCAP_SPARC_*): Move to..
66435         * sysdeps/sparc/sysdep.h: this new file and add new values.
66436         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66437         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66438         _DL_HWCAP_COUNT to 24.
66439         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66440         entries.
66441         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66442         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66443         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66444         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66445         instead of magic constants.
66446         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66448 2011-08-31  David S. Miller  <davem@davemloft.net>
66450         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66452         Reimplement to do errno handling inline.
66453         (SYSCALL_ERROR_HANDLER): New macro.
66454         (__SYSCALL_STRING): Do not do errno handling in asm.
66455         (__CLONE_SYSCALL_STRING): Delete.
66456         (__INTERNAL_SYSCALL_STRING): Delete.
66457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66458         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66459         (PSEUDO): Reimplement to do errno handling inline.
66460         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66461         (SYSCALL_ERROR_HANDLER): New macro.
66462         (__SYSCALL_STRING): Do not do errno handling in asm.
66463         (__CLONE_SYSCALL_STRING): Delete.
66464         (__INTERNAL_SYSCALL_STRING): Delete.
66465         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66466         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66467         i386.
66468         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66469         (inline_syscall*): Add 'err' argument.
66470         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66471         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66472         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66473         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66475         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66476         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66478 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66480         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66482 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66484         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66485         directive.
66487 2011-08-24  David S. Miller  <davem@davemloft.net>
66489         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66491 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66493         * elf/Makefile: Add rules to build and run unload8 test.
66494         * elf/unload8.c: New file.
66495         * elf/unload8mod1.c: New file.
66496         * elf/unload8mod1x.c: New file.
66497         * elf/unload8mod2.c: New file.
66498         * elf/unload8mod3.c: New file.
66500         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66501         it wasn't used.
66503 2011-08-23  David S. Miller  <davem@davemloft.net>
66505         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66506         subtract stack bias.
66507         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66508         %sp not %fp in calculations.
66509         (_JMPBUF_UNWINDS_ADJ): Likewise.
66511         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66512         (aio_suspend): Call it to force an exception region around the
66513         AIO_MISC_WAIT() invocation.
66515 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66517         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66518         backslash.
66520 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66522         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66523         protection macro.
66524         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66525         and <dl-machine.h>.
66526         (Elf64_FuncDesc): Remove.
66528 2011-08-22  David S. Miller  <davem@davemloft.net>
66530         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66531         sigaltstack check, add missing cfi directives.
66532         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66533         missing cfi directives, and sigaltstack handling.
66535 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66537         [BZ #11724]
66538         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66539         object is seen twice.
66540         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66542         * elf/Makefile (distribute): Add tst-initorder2.c.
66543         (tests): Add tst-initorder2.
66544         (modules-names): Add tst-initorder2a tst-initorder2b
66545         tst-initorder2c tst-initorder2d.  Add rules to build them.
66546         ($(objpfx)tst-initorder2.out): New rule.
66547         * elf/tst-initorder2.c: New file.
66548         * elf/tst-initorder2.exp: New file.
66550 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66552         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66554         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66555         dependencies back to end of function.
66557         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66558         $(elfobjdir)/ld.so.
66560 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66562         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66563         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66564         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66565         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66566         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66567         of __vdso_gettimeofday.
66568         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66569         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66570         attribute_hidden.
66571         (_libc_vdso_platform_setup): Remove initialization of
66572         __vdso_gettimeofday and __vdso_time.
66574 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66576         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66577         and fgetc_unlocked.
66578         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66579         getc_unlocked.
66581         * elf/dl-open.c (add_to_global): Report additions to the global scope
66582         for LD_DEBUG=scopes.
66583         (dl_open_worker): Also print scope of newly loaded dependencies.
66584         (_dl_show_scope): Indicate if there is no scope.
66586         [BZ #13114]
66587         * stdio-common/Makefile (tests): Add bug24.
66588         * stdio-common/bug24.c: New file.
66590 2011-08-19  Andreas Jaeger  <aj@suse.de>
66592         [BZ #13114]
66593         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66594         non-existant file when using close-on-exec mode.
66596 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66598         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66599         the very first instruction.
66601         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66602         the CFI state in the end.
66603         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66604         inclusion of dl-trampoline.h.
66605         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66607 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66609         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66610         expectations for long double.
66612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66613         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66615 2011-08-14  David S. Miller  <davem@davemloft.net>
66617         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66618         artificual limit depends upon the system page size.
66620 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66622         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66623         * resolv/Makefile: Define CFLAGS-libresolv.
66625 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66627         * nss/makedb.c (compute_tables): Make variables used in nested
66628         function static.
66630 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66632         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66633         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66634         if buffer was too small.
66636         * elf/pldd.c (main): Attach to all threads in the process.
66637         Rewrite /proc handling to use *at functions.
66639 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66641         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66642         specifies first scope to show.
66643         (dl_open_worker): Update callers.  Move printing scope of new
66644         object to before the relocation.
66645         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66646         * sysdeps/generic/ldsodefs.h: Update declaration.
66648         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66649         string for the scope number.
66651 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66653         * nscd/servicescache.c (cache_addserv): Make sure written is always
66654         initialized.
66656 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66658         * sysdeps/i386/i486/bits/atomic.h
66659         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66660         statement expression, so as to suppress "set but not used" warning.
66661         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66663         * string/strncat.c (STRNCAT): Use prototype definition.
66665         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66666         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66667         -Iprograms here.
66668         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66669         (localedef-modules): Add localedef.
66670         (locale-modules): Add locale.
66672         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66673         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66674         to avoid a warning.
66676 2011-08-14  David S. Miller  <davem@davemloft.net>
66678         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66679         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66681 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66683         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66684         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66685         * elf/rtld.c (dl_main): Set l_name of vDSO.
66686         Call _dl_show_scope when DL_DEBUG_SCOPES.
66687         (process_dl_debug): Recognize scopes flag and also set it for all.
66688         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66689         Declare _dl_show_scope.
66691         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66692         (do_dlopen): Pass caller_dlopen to dl_open.
66693         (__libc_dlopen_mode): Initialize caller_dlopen.
66695         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66696         of libc.  Make tolower call locale-independent.  Optimize a bit by
66697         using isdigit instead of isalnum.
66698         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66700 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66702         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66703         was a dependency or dynamically loaded.
66705 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66707         * intl/l10nflist.c: Allow architecture-specific pop function.
66708         * sysdeps/x86_64/l10nflist.c: New file.
66710         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66711         classification.
66713 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66715         * include/dirent.h: Add libc_hidden_proto for scandirat and
66716         scandirat64.  Don't declare __scandirat64.
66717         * dirent/scandirat.c: Add libc_hidden_def.
66718         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66719         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66721 2011-08-10  David S. Miller  <davem@davemloft.net>
66723         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66724         enum.
66725         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66726         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66727         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66729 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66731         * Versions.def [libc]: Add GLIBC_2.15.
66732         * dirent/Makefile (routines): Add scandirat and scandirat64.
66733         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66734         GLIBC_2.15.
66735         * dirent/dirent.h: Declare scandirat and scandirat64.
66736         * dirent/scandirat.c: New file.
66737         * dirent/scandirat64.c: New file.
66738         * sysdeps/wordsize-64/scandirat.c: New file.
66739         * sysdeps/wordsize-64/scandirat64.c: New file.
66740         * dirent/opendir.c: Define opendirat.
66741         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66742         using scandirat.
66743         * dirent/scandir64.c: Adjust for scandir.c change.
66744         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66745         __scandirat64, and __scandir_cancel_handler.
66746         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66747         additional parameter and use openat instead of open (outside of ld.so).
66748         Add new __opendir as wrapper around __opendirat.
66749         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66750         here without requiring old scandirat implementation.
66752 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66754         * dirent/scandir.c (cancel_handler): Renamed to
66755         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66756         defined.  Adjust users.
66757         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66758         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66760 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66762         * string/test-string.h (IMPL): Use __STRING to expand name and then
66763         stringify it.
66765         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66766         of cleanups.
66768 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66770         * string/Makefile: Update.
66771         (strop-tests): Append strncat.
66772         * string/test-wcscmp.c: New file.
66773         New comprehensive test for wcscmp.
66774         * string/test-strcmp.c: Update.
66775         (WIDE): New define.
66777 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66779         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66780         line.
66782 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66785         encoding to ACE if AI_IDN.
66787 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66789         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66790         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66792 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66794         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66795         Fix overflow bug in strncat.
66796         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66798         * string/test-strncat.c: Update.
66799         Add new tests for checking overflow bugs.
66801 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66804         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66805         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66806         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66807         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66808         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66809         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66810         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66811         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66813         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66814         (USE_AS_STRCAT): Define.
66815         Add strcat and strncat support.
66816         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66818 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66820         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66821         __n bigger than INT_MAX+1.
66822         (__strncmp_g): Likewise.
66824 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66826         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66827         * libio/stido.h: Likewise.
66829         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66830         (AF_NFC): Define.
66831         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66832         (AF_NFC): Define.
66834         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66835         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66836         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66837         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66838         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66840         [BZ #13021]
66841         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66842         installed.
66844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66845         typo.
66846         (_dl_x86_64_save_sse): Likewise.
66848 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66850         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66851         OSXSAVE.
66852         (_dl_x86_64_save_sse): Likewise.
66854         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66856         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66858 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66860         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66861         change.
66862         (_dl_x86_64_save_sse): Use correct AVX check.
66864 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66866         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66867         bug in strncpy/strncat.
66868         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66870 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66872         * string/tester.c (test_strcat): Add tests for different alignments
66873         of source and destination.
66874         (test_strncat): Likewise.
66876 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66878         [BZ #12852]
66879         * posix/glob.c (glob): Check passed in values before using them in
66880         expressions to avoid some overflows.
66881         (glob_in_dir): Likewise.
66883         [BZ #13007]
66884         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
66885         check for AVX enablement so that we don't crash with old kernels and
66886         new hardware.
66887         * elf/tst-audit4.c: Add same checks here.
66888         * elf/tst-audit6.c: Likewise.
66890         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
66892 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
66894         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
66896 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66898         * po/cs.po: Update from translation team.
66899         * po/bg.po: Likewise.
66901 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
66903         * misc/sys/cdefs.h: Add support for const attribute.
66904         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
66905         to gnu_dev_{major,minor,makedev} functions.
66907 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
66909         * intl/dcigettext.c (get_output_charset): Add missing bracket.
66911 2011-07-20  Andreas Schwab  <schwab@redhat.com>
66913         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
66914         strlen results.
66916 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
66919         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
66920         register in order to avoid conflicts with the soft frame pointer
66921         being held in r11 when necessary.
66922         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
66923         (INTERNAL_VSYSCALL_NCS): Likewise.
66925 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
66927         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
66928         * elf/dl-fini.c (_dl_fini): Adjust caller.
66929         * elf/dl-close.c (_dl_close_worker): Likewise.
66930         * sysdeps/generic/ldsodefs.h: Adjust declaration.
66932 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66934         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
66935         "aux_cache->nlibs < 0".
66937         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
66938         in the reload-count case.
66940 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66943         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
66944         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
66945         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
66946         * sysdeps/x86_64/multiarch/strcat.S: New file.
66947         * sysdeps/x86_64/multiarch/strncat.S: New file.
66948         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
66949         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
66950         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
66951         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
66952         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
66953         (USE_AS_STRCAT): Define.
66954         Add strcat and strncat support.
66955         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66956         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
66957         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
66958         * string/strncat.c: Update.
66959         (USE_AS_STRNCAT): Define.
66960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66961         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
66962         and i7.
66963         * sysdeps/x86_64/multiarch/init-arch.h
66964         (bit_Prefer_PMINUB_for_stringop): New.
66965         (index_Prefer_PMINUB_for_stringop): Likewise.
66966         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
66967         bit_Prefer_PMINUB_for_stringop.
66969 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66971         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
66972         buffer64.
66973         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
66974         of casting of buffer.
66975         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
66976         buffer32 and buffer64.
66977         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
66978         writes instead of casting of buffer.
66979         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
66980         buffer32.
66981         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
66982         casting of buffer.
66984 2011-07-19  Andreas Schwab  <schwab@redhat.com>
66986         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
66988 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66990         * nscd/nscd.c (termination_handler): Don't do anything for a database
66991         if it has not yet been initialized.
66993 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66995         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66997 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66999         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67001 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67003         * po/nl.po: Update from translation team.
67004         * po/sv.po: Likewise.
67006 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67008         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67009         now disallowed by GCC.
67011         * configure.in (use-default-link): Default to yes if a test -shared
67012         link meets our qualifications.
67013         * configure: Regenerated.
67015         * config.make.in (output-format): New variable.
67016         * configure.in: Check for ld --print-output-format support.
67017         * configure: Regenerated.
67018         * Makerules ($(common-objpfx)format.lds)
67019         [$(output-format) != unknown]: Just use $(output-format),
67020         instead of the linker-script munging.
67022 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67024         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67025         of $(common-objpfx)shlib.lds.
67026         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67028         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67029         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67031         * configure.in (-z relro check): Adjust test code to add a large
67032         writable data section after it.
67033         * configure: Regenerated.
67035 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67037         * configure.in (-z relro check): Fix test code to make the variable
67038         truly const.
67039         * configure: Regenerated.
67041 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67043         * nscd/nscd.h (struct traced_file): Define.
67044         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67045         elements.  Add traced_files.
67046         (inotify_fd): Declare.
67047         (register_traced_file): Declare.
67048         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67049         (inotify_fd): Export.
67050         (resolv_conf_descr): Remove.
67051         (nscd_init): Move inotify descriptor creation to main.
67052         Don't register files for notification here.
67053         (register_traced_file): New function.
67054         (invalidate_cache): Don't use reset_res to determine whether to call
67055         res_init, go through the list of registered files.
67056         (main_loop_poll): The inotify descriptors are now stored in the
67057         structures for the traced files.
67058         (main_loop_epoll): Likewise
67059         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67060         to __nss_disable_nscd.
67061         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67062         for a database anymore.  Check the records for all the registered
67063         files instead.
67064         * nss/Makefile (libnss_files-routines): Add files-init.
67065         (libnss_db-routines): Add db-init.
67066         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67067         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67068         * nss/nss_db/db-init.c: New file.
67069         * nss/nss_files/files-init.c: New file.
67070         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67071         __nss_lookup_function.
67072         (__nss_lookup_function): Call nss_load_library.
67073         (nss_load_all_libraries): New function.
67074         (__nss_disable_nscd): Take parameter with callback function for files
67075         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67076         used for the cached services.
67077         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67078         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67079         options for features to all the files in nscd.
67081         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67083 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67085         * csu/elf-init.c (__libc_csu_init): Comment typo.
67087 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67089         * po/pl.po: Update from translation team.
67090         * po/ja.po: Likewise.
67091         * po/ru.po: Likewise.
67092         * po/ko.po: Likewise.
67093         * po/fr.po: Likewise.
67095 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67097         * configure.in (.ctors/.dtors header and trailer check):
67098         Use an empirical test on a built program.
67099         * configure: Regenerated.
67101         * configure.in (-z relro check): Use an empirical test on a built DSO.
67102         Detect, but do not require, on ia64.
67103         * configure: Regenerated.
67105         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67106         Update tests that use readelf to use $READELF instead.
67107         * configure: Regenerated.
67109 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67111         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67112         if the result is not used.
67114 2011-07-05  Andreas Jaeger  <aj@suse.de>
67116         [BZ#9696]
67117         * stdlib/tst-strtod.c: Add testcase.
67119 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67121         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67122         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67123         The latter has a higher limit.  Take additional parameter to pass to
67124         the new function.
67125         (__pathconf): Pass file to __statfs_link_max.
67126         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67127         __statfs_link_max.
67128         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67129         __statfs_link_max.
67131         [BZ #12868]
67132         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67133         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67134         Handle Lustre.
67135         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67136         (__statfs_filesize_max): Likewise.
67137         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67139 2011-07-05  Andreas Jaeger  <aj@suse.de>
67141         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67143 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67145         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67146         `status' variable.
67147         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67148         Likewise.
67150 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67152         * Makefile (strop-tests): Add strncat.
67153         * string/test-strncat.c: New file.
67155 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67157         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67159 2011-06-21  Andreas Jaeger  <aj@suse.de>
67161         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67162         Copy rule from iconvdata/Makefile.
67164 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67166         [BZ #12922]
67167         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67168         but no long options are defined, just return 'W'.
67170 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67172         [BZ #9696]
67173         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67175 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67177         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67178         netgroups to read.
67179         (innetgr): Likewise.
67181 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67183         * config.make.in (install_root): Default to $(DESTDIR).
67185 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67187         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67189 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67191         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67193         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67194         containing directory rather than embedding absolute directory names.
67196         * scripts/check-local-headers.sh: Rewritten using awk.
67197         Match by word, not by line.  Print error messages for matches.
67198         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67200         * Makerules [shlib-lds-flags empty]:
67201         ($(common-objpfx)libc_pic.opts): New target.
67202         ($(common-objpfx)libc_pic.os.clean): New target.
67203         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67205         * config.make.in (OBJCOPY): New variable.
67206         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67207         * configure: Regenerated.
67209         * config.make.in (use-default-link): New variable.
67210         * configure.in (use_default_link): Grok --with-default-link to set it.
67211         * configure: Regenerated.
67212         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67213         (shlib-lds, shlib-lds-flags): Define to empty.
67215         * Makerules (shlib-lds): New variable.
67216         (shlib-lds-flags): New variable.
67217         (build-shlib, build-moduile, build-module-asneeded): Use it.
67218         ($(common-objpfx)libc.so): Use $(shlib-lds).
67219         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67220         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67222         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67223         DT_FLAGS/DT_FLAGS_1 with zero flags.
67225         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67226         linker script munging.
67228 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67230         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67231         as 128-bit value.
67232         * crypt/sha512.c (sha512_process_block): Perform total addition using
67233         128-bit if possible.
67234         (__sha512_finish_ctx): Likewise.
67235         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67236         as 64-bit value.
67237         * crypt/sha256.c (SWAP64): Define.
67238         (sha256_process_block): Perform total addition using 64-bit if
67239         possible.
67240         (__sha256_finish_ctx): Likewise.
67242 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67244         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67245         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67246         * nscd/hstcache.c (cache_addhst): Likewise.
67247         * nscd/grpcache.c (cache_addgr): Likewise.
67248         * nscd/aicache.c (addhstaiX): Likewise
67249         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67251 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67253         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67254         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67255         * nscd/hstcache.c (cache_addhst): Likewise.
67256         * nscd/grpcache.c (cache_addgr): Likewise.
67257         * nscd/aicache.c (addhstaiX): Likewise
67259 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67261         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67262         domain only when needed.
67264 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67267         is always restored.
67269 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67271         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67272         are re-adding the entry.
67273         * nscd/servicescache.c (cache_addserv): Likewise.
67275 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67277         * sysdeps/generic/dl-irel.h: fix protection against multiple
67278         inclusions.
67279         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67281 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67283         [BZ #12935]
67284         * malloc/memusage.sh: Fix quoting in message.
67285         * debug/xtrace.sh: Likewise.
67287         * configure.in: Remove support for --experimental-malloc option, make
67288         it the default.
67289         * config.make.in: Likewise.
67290         * malloc/Makefile: Likewise.
67292 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67294         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67295         two-byte characters.
67297 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67299         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67300         AC_CACHE_CHECK invocation.
67301         * configure: Regenerated.
67303         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67305 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67307         [BZ #12350]
67308         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67309         bit from old_res_options.
67311         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67313         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67314         value type for setfct.
67316 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67318         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67319         __gettimeofday instead of gettimeofday.
67321 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67323         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67325 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67327         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67329         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67330         info.
67332 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67335         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67336         strcpy-sse2-unaligned strncpy-sse2-unaligned
67337         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67338         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67339         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67340         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67341         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67342         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67343         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67344         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67345         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67346         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67347         (STRCPY): Support SSE2 and SSSE3 versions.
67349 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67351         [BZ #12874]
67352         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67353         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67354         kernels which artificially limit size of requests.
67356 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67358         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67359         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67360         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67361         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67362         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67363         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67364         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67365         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67366         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67367         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67368         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67369         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67370         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67371         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67372         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67374         Enable unaligned load optimization for Intel Core i3, i5 and i7
67375         processors.
67376         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67377         Define.
67378         (index_Fast_Unaligned_Load): Define.
67379         (HAS_FAST_UNALIGNED_LOAD): Define.
67381 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67383         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67385 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67387         [BZ #12907]
67388         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67389         until it is clear that the information is realy needed.
67390         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67392 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67396 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67398         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67399         /sys/devices/system/cpu/online if it is usable.
67401         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67402         reading the information from the /proc filesystem to once a second.
67404 2011-06-21  Andreas Jaeger  <aj@suse.de>
67406         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67407         NULL after inclusion of kernel headers.
67409 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67411         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67412         calls to internal_setent.
67414         [BZ #12885]
67415         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67416         addresses using gethostbyname4_r ignore IPv4 addresses.
67418         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67419         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67421         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67423 2011-06-20  David S. Miller  <davem@davemloft.net>
67425         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67426         inclusions.
67427         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67429         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67430         (elf_irel): Use it.
67431         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67432         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67433         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67434         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67435         * sysdeps/x86_64/dl-irel.h: Likewise.
67437         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67438         * elf/dl-sym.c: Likewise.
67440 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67442         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67443         need to dereference resplen2.
67445 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67447         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67449 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67451         * Makeconfig: Define vardbdir and inst_vardbdir.
67452         * nss/Makefile: Add rules to install db-Makefile.
67454         * nss/nss_db/db-XXX.c: Cleanup.
67456         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67457         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67458         GLIBC_PRIVATE.
67459         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67460         * nss/makedb.c: Implement -g option to specify that value strings
67461         are generated and should not be added to table iterated over for
67462         get*ent calls.
67463         * nss/nss_db/db-initgroups.c: New file.
67465         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67466         interface.
67468         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67469         (internal_getgrouplist): Adjust to name change.
67470         Update use_initgroups_entry if this is not the first call.
67471         * nss/databases.def: Add initgroups entry.
67473         * nss/makedb.c (compute_tables): Check result of multiple hash table
67474         sizes to minimize maximum chain length.
67476 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67478         * Versions.def: Add entry for libnss_db.
67479         * shlib-versions: Likewise.
67480         * nss/Makefile: Add rules to build libnss_db.
67481         * nss/Versions: Add libnss_db information.  Organize libnss_files
67482         entries better.
67483         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67484         makedb progra.  Some minor improvements to generate smaller files.
67485         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67486         here from...
67487         * nss/makedb.c: ...here.
67488         Improve database format to be smaller and require less memory at
67489         runtime.
67490         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67491         db anymore.
67492         * nss/nss_db/db-netgrp.c: Likewise.
67493         * nss/nss_db/db-open.c: Likewise.
67494         * nss/nss_files/flies-XXX.x: Adjust comments.
67495         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67496         * nss/nss_files/files-grp.c: Likewise.
67497         * nss/nss_files/files-hosts.c: Likewise.
67498         * nss/nss_files/files-network.c: Likewise.
67499         * nss/nss_files/files-proto.c: Likewise.
67500         * nss/nss_files/files-pwd.c: Likewise.
67501         * nss/nss_files/files-rpc.c: Likewise.
67502         * nss/nss_files/files-service.c: Likewise.
67503         * nss/nss_files/files-sgrp.c: Likewise.
67504         * nss/nss_files/files-spwd.c: Likewise.
67505         * nss/nss_db/db-alias.c: Removed.
67506         * nss/nss_db/dummy-db.h: Removed.
67508 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67510         * nss/makedb.c: Rewritten to not use database library.
67511         * nss/Makefile: Update to build new makedb program.
67513 2011-06-14  Andreas Jaeger  <aj@suse.de>
67515         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67516         memset declaration.
67518 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67521         tmpbuf.
67523 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67525         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67526         * elf/Makefile ($(objpfx)ld.so): Likewise.
67528         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67529         Don't list ld.so twice in dependencies.
67531         * posix/bug-regex31.c: Include <stdlib.h>.
67533         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67535         * nis/nss_compat/compat-spwd.c
67536         (getspent_next_nss_netgr): Remove unused variable.
67537         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67539         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67540         nonmembers" output to use the right array.
67542         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67544         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67546         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67547         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67548         * catgets/gencat.c (read_input_file): Likewise.
67549         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67551         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67552         variable definition inside #if's controlling its use.
67554         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67556         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67558         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67560         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67561         unreachable code.
67563         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67565         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67566         * configure: Regenerated.
67568         * Makerules: Revert last change.
67569         * elf/Makefile: Likewise.
67571 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67573         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67574         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67575         (reloc-link): Likewise.
67577 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67579         * elf/Makefile: Add rules to build pldd.
67580         * elf/pldd.c: New file.
67581         * elf/pldd-xx.c: New file.
67583 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67585         * version.h: Update for 2.15 development version.
67587 2011-06-07  David S. Miller  <davem@davemloft.net>
67589         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67590         ifuncs.
67591         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67592         elf_machine_lazy_rel): Likewise.
67593         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67594         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67595         elf_machine_lazy_rel): Likewise.
67596         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67597         dl_hwcap via passed in argument.
67598         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67599         Likewise.
67601 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67603         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67605 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67607         [BZ #12849]
67608         * manual/fdl-1.1.texi: New file, verbatim from:
67609         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67610         * manual/lgpl-2.1.texi: New file, verbatim from:
67611         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67612         * manual/Makefile (licenses): New variable, list those new file names.
67613         (texis): Use it.
67614         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67616         * manual/fdl.texi: File removed.
67617         * manual/lesser.texi: File removed.
67618         * manual/libc.texinfo (Copying, Documentation License):
67619         Use new @include file names, put @appendix directive before @include.
67621 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67623         [BZ #12841]
67624         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67625         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67626         (mq_open): Add __NTH.
67628 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67631         Assume Intel Core i3/i5/i7 processor if AVX is available.
67633 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67635         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67636         typo.
67638 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67640         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67641         memory.  Use alloca_account.  Fix memory leak when retrying.
67643 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67645         * version.h (RELEASE): Bump for 2.14 release.
67646         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67648         * config.make.in (RANLIB): Remove entry.
67650 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67652         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67653         (libc.pot): Work around missing support for .ksh extension in xgettext.
67655         [BZ #12684]
67656         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67657         if both request failed.
67658         (send_dg): In case of server errors clear resplen or *resplen2.
67660         [BZ #12454]
67661         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67662         when there are multiple maps.
67663         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67664         (_dl_fini): Remove test here.
67666         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67668 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67670         [BZ #12350]
67671         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67672         bit from old_res_options.
67673         (gaih_inet): Likewise.
67675         [BZ #11099]
67676         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67677         as signed.
67679         * resolv/res_init.c (res_setoptions): Make the code more compact.
67681         [BZ #11558]
67682         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67683         set RES_USEVC.
67685         [BZ #11634]
67686         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67688         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67690         [BZ #11781]
67691         * malloc/malloc.h: Declare malloc hook variables as volatile.
67693         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67694         in last patch.
67696         [BZ #11799]
67697         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67698         raise in the comment.
67699         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67700         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67701         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67703 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67705         [BZ #12811]
67706         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67707         grow the buffers more if it already has to be sufficient.
67708         (build_wcs_upper_buffer): Likewise.
67709         * posix/regexec.c (check_matching): Likewise.
67710         (clean_state_log_if_needed): Likewise.
67711         (extend_buffers): Don't enlarge buffers beyond size of the input
67712         buffer.
67713         Patches mostly by Emil Wojak <emil@wojak.eu>.
67714         * posix/bug-regex32.c: New file.
67715         * posix/Makefile (tests): Add bug-regex32.
67717         * locale/findlocale.c (_nl_find_locale): Return right away if
67718         _nl_explode_name failed.
67719         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67721         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67723         * debug/xtrace.sh: Unify messages.
67724         * malloc/memusage.sh: Likewise.
67726         [BZ #12813]
67727         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67728         time symbol from vDSO.  Substitute with vsyscall if not available.
67729         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67730         __vdso_time.
67732         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67733         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67734         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67735         Add sendmmsg and internal_sendmmsg.
67736         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67737         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67738         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67740         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67741         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67742         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67744 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67746         [BZ #12813]
67747         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67748         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67749         available.
67750         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67751         __vdso_getcpu.
67753         [BZ #12814]
67754         * iconvdata/Makefile (tests): Add bug-iconv9.
67755         * iconvdata/bug-iconv9.c: New file.
67757 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67759         [BZ #12814]
67760         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67762 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67764         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67765         (struct user_regs_struct): Change intcs field back to cs.
67767 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67769         * po/ja.po: Update from translation team.
67771 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67773         [BZ #12795]
67774         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67775         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67777 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67779         * stdlib/longlong.h: Update from GCC.
67781 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67783         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67784         parameter name.
67785         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67786         Add parameter name.
67787         (__sysconf): Pass it down.
67789 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67791         [BZ #12671]
67792         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67793         some situations.
67794         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67795         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67796         add in in __libc_use_alloca calls.  Adjust callers.
67797         (glob): Use malloc in some situations.
67799         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67800         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67801         pltexit.
67803 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67805         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67806         and CLOCK_BOOTTIME_ALARM.
67808         [BZ #12782]
67809         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67810         is returned.
67812         * string/_strerror.c (__strerror_r): Print negative errors as signed
67813         numbers.
67815         [BZ #12777]
67816         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67817         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67818         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67820         * configure.in: Fix typo in redirection and correct removal of test
67821         files in two cases.
67823         [BZ #12788]
67824         * locale/setlocale.c (new_composite_name): Fix test to check for
67825         identical name of all categories.
67827         [BZ #12792]
67828         * libio/filedoalloc.c (local_isatty): New function.
67829         (_IO_file_doallocate): Use local_isatty.
67830         * stdio-common/perror.c (perror): In case a new stream is used
67831         forward the stream error.
67832         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67833         error flag.
67835 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67837         [BZ #11869]
67838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67839         alloca.
67840         * include/alloca.h (extend_alloca_account): Define.
67842         [BZ #11857]
67843         * posix/regex.h: Fix comments with documentation of user-accessible
67844         fields after compilation and describe correct free'ing of pattern
67845         after re_compile_pattern.
67846         Patch by Reuben Thomas <rrt@sc3d.org>.
67848 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67850         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67851         and -mno-altivec to prevent the compiler from using Altivec and/or
67852         VSX instructions when the corresponding registers are not available.
67854 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67856         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67858 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67860         * libio/freopen.c (freopen): Use __dup2, not dup2.
67861         * libio/freopen64.c (freopen64): Likewise.
67863 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67865         [BZ #12775]
67866         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67867         * math/Makefile (tests): Add test-powl.
67868         (CFLAGS-test-powl.c): Define.
67869         * math/test-powl.c: New file.
67871 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67873         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67875 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67877         [BZ #11837]
67878         * iconvdata/gb18030.c: Update to GB18020-2005.
67880 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
67882         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
67883         RE_SYNTAX_POSIX_AWK): Update to match recent development.
67884         Patch by Aharon Robbins <arnold@skeeve.com>.
67886         [BZ #11892]
67887         * stdlib/putenv.c (putenv): Don't always create copy of the variable
67888         on the stack.
67890         [BZ #11895]
67891         * misc/pselect.c (__pselect): Handle timeout value errors hidden
67892         through underflows.
67894         [BZ #12766]
67895         * misc/error.c (error_at_line): Ensure file_name and old_file_name
67896         point to strings before performing equality test for error_one_per_line
67897         mode.
67899         [BZ #11697]
67900         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
67902         [BZ #11820]
67903         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67904         (struct user_fpregs_struct): Avoid __uint*_t types.
67906         [BZ #6420]
67907         * malloc/mtrace.c (tr_where): Add additional parameter to point to
67908         symbol info.  Use it instead of calling _dl_addr locally.
67909         (lock_and_info): New function.
67910         (tr_freehook): Call lock_and_info and pass symbol info as additional
67911         parameter to tr_where.
67912         (tr_mallochook): Likewise.
67913         (tr_reallochook): Likewise.
67914         (tr_memalignhook): Likewise.
67916         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
67917         used and couldn't be at all thread-safe.
67919 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
67921         * libio/freopen.c (freopen): Don't close old file descriptor
67922         before the new one is opened.  Instead dup the new file descriptor
67923         to the old one after the new stream is created.
67924         * libio/freopen64.c (freopen64): Likewise.
67925         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
67926         * libio/fileops.c (_IO_new_file_close_it): Handle new
67927         _IO_FLAGS2_NOCLOSE flag.
67928         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
67929         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
67930         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
67931         _IO_FLAGS2_NOCLOSE flag.
67932         * include/unistd.h: Add hidden_proto for dup3.
67933         Define __have_dup3.
67934         * io/dup3.c: Define hidden symbol.
67935         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
67937         [BZ #7101]
67938         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
67939         when an incomplete long option is used.
67940         * posix/tst-getopt_long1.c: New file.
67941         * posix/Makefile (tests): Add tst-getopt_long1.
67943         [BZ #10138]
67944         * scripts/config.guess: Update from autoconf-2.68.
67945         * scripts/config.sub: Likewise.
67947         [BZ #10157]
67948         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
67949         tests into ...
67950         (has_cpuclock): ...this.  New function.
67951         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
67952         macro here based on has_cpuclock code.
67954         [BZ #10149]
67955         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67956         First byte (not low byte) is now always NUL.
67957         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
67959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67960         Use non-cancelable interfaces.
67962         [BZ #9809]
67963         * locale/iso-639.def: Add entry for Sorani.
67965         [BZ #11901]
67966         * include/stdlib.h: Move include protection to the right place.
67967         Define abort_msg_s.  Declare __abort_msg with it.
67968         * stdlib/abort.c (__abort_msg): Adjust type.
67969         * assert/assert.c (__assert_fail_base): New function.  Majority
67970         of code from __assert_fail.  Allocate memory for __abort_msg with
67971         mmap.
67972         (__assert_fail): Now call __assert_fail_base.
67973         * assert/assert-perr.c: Remove bulk of implementation.  Use
67974         __assert_fail_base.
67975         * include/assert.hL Declare __assert_fail_base.
67976         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
67977         mmap.
67978         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
67980 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
67982         [BZ #11952]
67983         [BZ #12453]
67984         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
67985         until all modules are registered in the DTV.
67986         * elf/Makefile: Add rules to build and run tst-tls19.
67987         * elf/tst-tls19.c: New file.
67988         * elf/tst-tls19mod1.c: New file.
67989         * elf/tst-tls19mod2.c: New file.
67990         * elf/tst-tls19mod3.c: New file.
67991         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
67993         [BZ #12083]
67994         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
67995         correctly.
67997         [BZ #12601]
67998         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
67999         two-byte sequence errors.
68000         * iconvdata/Makefile (tests): Add bug-iconv8.
68001         * iconvdata/bug-iconv8.c: New file.
68003         [BZ #12626]
68004         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68005         buf2 definition.
68007         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68009         [BZ #12432]
68010         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68011         (dummy_getcfa): New function.
68012         (init): Get _Unwind_GetCFA address, use dummy if not found.
68013         (backtrace_helper): In recursion check, also check whether CFA changes.
68014         (__backtrace): Completely initialize arg.
68016         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68017         storing incomplete byte sequence in state object.  Avoid testing for
68018         guaranteed too small input if we know there is enough data available.
68020 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68022         * Makeconfig (+link-pie): Indent.
68023         * Rules (binaries-pie): Define if $(have-fpie) and
68024         $(build-shared).
68025         (binaries-shared): Also filter out $(binaries-pie).
68026         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68027         * nscd/Makefile (others-pie): Add nscd.
68028         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68029         ($(objpfx)nscd): Remove command override.
68030         * login/Makefile (others-pie): Add pt_chown.
68031         ($(objpfx)pt_chown): Remove command override.
68032         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68033         remove command overrides.
68035 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68037         * libio/tst_putwc.c: Fix error messages.
68039         [BZ #12724]
68040         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68041         currently writing and seek to current position when not.
68042         * libio/Makefile (tests): Add bug-fclose1.
68043         * libio/bug-fclose1.c: New file.
68045 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68047         [BZ #12511]
68048         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68049         don't set DF_1_NODELETE here.
68050         (do_lookup_x): When entering new entry test for copy relocation
68051         and if necessary set DF_1_NODELETE flag.
68052         * elf/tst-unique4.cc: New file.
68053         * elf/tst-unique4.h: New file.
68054         * elf/tst-unique4lib.cc: New file.
68055         * elf/Makefile: Add rules to build and run tst-unique4.
68056         Patch by Piotr Bury <pbury@goahead.com>.
68058 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68060         [BZ #12052]
68061         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68063         [BZ #12625]
68064         * misc/mntent_r.c (addmntent): Flush the stream after the output
68066         [BZ #12393]
68067         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68068         (is_trusted_path_normalize): Skip initial colon.  Append slash
68069         to empty buffer.  Duplicate is_trusted_path code but allow
68070         constructed patch to be prefix.
68071         (is_dst): Allow $ORIGIN followed by /.
68072         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68073         Correct testing of result of is_trusted_path_normalize
68074         (decompose_rpath): Fix warning.
68076 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68078         [BZ #11257]
68079         * grp/initgroups.c (internal_getgrouplist): When we found the service
68080         list through the initgroups entry in nsswitch.conf do not always
68081         continue on a successful lookup.  Don't always use the
68082         __nss_group_database value if it is set.
68083         * nss/nsswitch.conf (initgroups): Change action for successful db
68084         lookup to continue for compatibility.
68086 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68088         [BZ #11532]
68089         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68090         and CP774 modules.
68091         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68092         and CP774 modules.
68093         * iconvdata/tst-tables.sh: Likewise.
68094         * iconvdata/cp770.c: New file.
68095         * iconvdata/cp771.c: New file.
68096         * iconvdata/cp772.c: New file.
68097         * iconvdata/cp773.c: New file.
68098         * iconvdata/cp774.c: New file.
68099         * iconvdata/testdata/CP770: New file.
68100         * iconvdata/testdata/CP770..UTF8: New file.
68101         * iconvdata/testdata/CP771: New file.
68102         * iconvdata/testdata/CP771..UTF8: New file.
68103         * iconvdata/testdata/CP772: New file.
68104         * iconvdata/testdata/CP772..UTF8: New file.
68105         * iconvdata/testdata/CP773: New file.
68106         * iconvdata/testdata/CP773..UTF8: New file.
68107         * iconvdata/testdata/CP774: New file.
68108         * iconvdata/testdata/CP774..UTF8: New file.
68110         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68111         END CHARMAP line.
68112         * iconvdata/gen-8bit-gap.sh: Likewise.
68113         * iconvdata/gen-8bit.sh: Likewise.
68115         * locale/iso-639.def: Add ary entry.
68117         [BZ #11258]
68118         * locale/C-translit.h.in: Add U20A1 transliteration.
68120         [BZ #12178]
68121         * locale/iso-639.def: Add wae entry.
68122         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68124         [BZ #12545]
68125         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68126         for n.
68128         [BZ #12711]
68129         * locale/C-translit.h.in: Add entry for U20B9.
68130         Patch by pravin.d.s@gmail.com.
68132 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68134         [BZ #12713]
68135         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68136         ENAMETOOLONG use generic getcwd.
68137         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68138         in rtld.  Use *stat64.
68139         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68140         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68141         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68142         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68143         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68144         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68145         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68146         __fstatat64 macros.
68147         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68148         * dirent/rewinddir.c: Add libc_hidden_def.
68149         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68150         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68152         * include/dirent.h (__alloc_dir): Add flags parameter.
68153         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68154         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68155         __alloc_dir.
68156         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68157         from fdopendir if O_CLOEXEC is already set.
68159 2011-03-15  Alan Modra  <amodra@gmail.com>
68161         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68162         l_tls_firstbyte_offset non-zero.  Save padding offset in
68163         l_tls_firstbyte_offset for later use.
68164         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68165         freeing static tls block.
68167 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68169         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68170         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68171         being defined by the kernel headers.
68173 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68175         [BZ #12734]
68176         * resolv/resolv.h: Define RES_NOTLDQUERY.
68177         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68178         no-tld-query and set RES_NOTLDQUERY.
68179         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68180         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68181         modern BIND to search name as TLD unless forbidden.
68183 2011-05-07  Petr Baudis  <pasky@suse.cz>
68184             Ulrich Drepper  <drepper@gmail.com>
68186         [BZ #12393]
68187         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68188         (is_trusted_path): ...to here.
68189         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68190         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68191         using is_trusted_path_normalize() in setuid scripts.
68193 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68195         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68196         __BEGIN/__END_DECLS.
68198 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68200         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68201         NSS_STATUS_NOTFOUND if no record was found.
68203 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68205         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68206         (headers-not-in-tirpc): Remove rpc/netdb.h
68207         * resolv/netdb.h: Revert last change.
68209 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68211         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68212         circular dependency between libgcc.a and libc.a.
68214 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68216         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68217         * nis/Makefile: Don't install rpcsvc/*.
68218         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68219         instead of <rpc/types.h>.
68220         (MAXHOSTNAMELEN): Define.
68222 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68224         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68226 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68228         [BZ #12714]
68229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68230         gethostbyname4_r when IPv6 results are possible.
68232 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68234         [BZ #12723]
68235         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68236         _PC_PIPE_BUF handling.
68238 2011-04-30  Bruno Haible  <bruno@clisp.org>
68240         [BZ #12717]
68241         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68242         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68243         to 'int'.
68244         * inet/getnameinfo.c (getnameinfo): Likewise.
68246 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68248         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68249         to groups setting in database lookup.
68250         * nss/nsswitch.conf: Add initgroups entry.
68252 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68254         [BZ #12685]
68255         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68256         mode string.
68257         Patch by Eric Blake <eblake@redhat.com>.
68259 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68261         * sunrpc/Makefile (need-export-routines): Add svc_run.
68262         (routines): Remove svc_run.
68263         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68264         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68265         * sunrpc/svc_run.c (svc_run): Likewise.
68266         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68268 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68270         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68271         problem in reallocation in last patch.
68273 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68275         * sunrpc/Makefile: Move inclusion of Rules.
68277 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68279         * nss/nss_files/files-initgroups.c: New file.
68280         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68281         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68282         _nss_files_initgroups_dyn.
68284 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68286         * elf/elf.h (R_ARM_IRELATIVE): Define.
68288 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68290         * po/ru.po: Update from translation team.
68292 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68294         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68295         dependencies.
68297 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68299         [BZ #12653]
68300         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68301         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68302         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68303         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68304         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68306 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68308         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68309         differing bytes.
68310         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68311         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68312         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68314 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68316         [BZ #12420]
68317         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68318         storing it.
68319         * stdlib/bug-getcontext.c: New file.
68320         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68322 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68324         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68325         instructions into .machine "z9-109".
68326         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68327         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68329 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68331         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68332         between environment variables and auxiliary vector.
68334 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68336         * Makefile: Add rules to build linkobj/libc.so.
68337         * include/libc-symbols.h: Define libc_hidden_nolink.
68338         * include/rpc/auth.h: Mark functions which are to be hidden.
68339         * include/rpc/auth_des.h: Likewise.
68340         * include/rpc/auth_unix.h: Likewise.
68341         * include/rpc/clnt.h: Likewise.
68342         * include/rpc/des_crypt.h: Likewise.
68343         * include/rpc/key_prot.h: Likewise.
68344         * include/rpc/pmap_clnt.h: Likewise.
68345         * include/rpc/pmap_prot.h: Likewise.
68346         * include/rpc/pmap_rmt.h: Likewise.
68347         * include/rpc/rpc_msg.h: Likewise.
68348         * include/rpc/svc.h: Likewise.
68349         * include/rpc/svc_auth.h: Likewise.
68350         * include/rpc/xdr.h: Likewise.
68351         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68352         * nss/Makefile: Likewise.
68353         * sunrpc/Makefile: Don't install headers.  Build library with normal
68354         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68355         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68356         for the compat linking library.  Remove use of INTDEF/INTUSE.
68357         * sunrpc/auth_none.c: Likewise.
68358         * sunrpc/auth_unix.c: Likewise.
68359         * sunrpc/authdes_prot.c: Likewise.
68360         * sunrpc/authuxprot.c: Likewise.
68361         * sunrpc/clnt_gen.c: Likewise.
68362         * sunrpc/clnt_perr.c: Likewise.
68363         * sunrpc/clnt_raw.c: Likewise.
68364         * sunrpc/clnt_simp.c: Likewise.
68365         * sunrpc/clnt_tcp.c: Likewise.
68366         * sunrpc/clnt_udp.c: Likewise.
68367         * sunrpc/clnt_unix.c: Likewise.
68368         * sunrpc/des_crypt.c: Likewise.
68369         * sunrpc/des_soft.c: Likewise.
68370         * sunrpc/get_myaddr.c: Likewise.
68371         * sunrpc/key_call.c: Likewise.
68372         * sunrpc/key_prot.c: Likewise.
68373         * sunrpc/netname.c: Likewise.
68374         * sunrpc/pm_getmaps.c: Likewise.
68375         * sunrpc/pm_getport.c: Likewise.
68376         * sunrpc/pmap_clnt.c: Likewise.
68377         * sunrpc/pmap_prot.c: Likewise.
68378         * sunrpc/pmap_prot2.c: Likewise.
68379         * sunrpc/pmap_rmt.c: Likewise.
68380         * sunrpc/publickey.c: Likewise.
68381         * sunrpc/rpc_cmsg.c: Likewise.
68382         * sunrpc/rpc_common.c: Likewise.
68383         * sunrpc/rpc_dtable.c: Likewise.
68384         * sunrpc/rpc_prot.c: Likewise.
68385         * sunrpc/rpc_thread.c: Likewise.
68386         * sunrpc/rtime.c: Likewise.
68387         * sunrpc/svc.c: Likewise.
68388         * sunrpc/svc_auth.c: Likewise.
68389         * sunrpc/svc_authux.c: Likewise.
68390         * sunrpc/svc_raw.c: Likewise.
68391         * sunrpc/svc_run.c: Likewise.
68392         * sunrpc/svc_simple.c: Likewise.
68393         * sunrpc/svc_tcp.c: Likewise.
68394         * sunrpc/svc_udp.c: Likewise.
68395         * sunrpc/svc_unix.c: Likewise.
68396         * sunrpc/svcauth_des.c: Likewise.
68397         * sunrpc/xcrypt.c: Likewise.
68398         * sunrpc/xdr.c: Likewise.
68399         * sunrpc/xdr_array.c: Likewise.
68400         * sunrpc/xdr_float.c: Likewise.
68401         * sunrpc/xdr_intXX_t.c: Likewise.
68402         * sunrpc/xdr_mem.c: Likewise.
68403         * sunrpc/xdr_rec.c: Likewise.
68404         * sunrpc/xdr_ref.c: Likewise.
68405         * sunrpc/xdr_sizeof.c: Likewise.
68406         * sunrpc/xdr_stdio.c: Likewise.
68408 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68410         [BZ #12650]
68411         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68412         * sysdeps/ia64/dl-tls.h: Likewise.
68413         * sysdeps/powerpc/dl-tls.h: Likewise.
68414         * sysdeps/s390/dl-tls.h: Likewise.
68415         * sysdeps/sh/dl-tls.h: Likewise.
68416         * sysdeps/sparc/dl-tls.h: Likewise.
68417         * sysdeps/x86_64/dl-tls.h: Likewise.
68418         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68420 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68422         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68423         rpath element also skip the following colon.
68424         (expand_dynamic_string_token): Add is_path parameter and pass
68425         down to DL_DST_REQUIRED and _dl_dst_substitute.
68426         (decompose_rpath): Call expand_dynamic_string_token with
68427         non-zero is_path.  Ignore empty rpaths.
68428         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68429         with zero is_path.
68431 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68434         Make cancelable.
68436 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68438         [BZ #12655]
68439         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68440         Patch by Filipe David Manana <fdmanana@apache.org>.
68442 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68444         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68445         Maintain aligned stack.
68446         (CHECK_RSP): Remove unused macro.
68448 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68450         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68451         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68453 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68455         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68457         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68459 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68461         [BZ #12518]
68462         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68463         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68464         * sysdeps/x86_64/memmove.c: New file.
68465         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68466         (memcpy): Renamed to ...
68467         (__new_memcpy): This.
68468         (memcpy): Provide GLIBC_2_14 memcpy.
68469         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68470         (memcpy): Provide GLIBC_2_2_5 memcpy.
68472 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68474         [BZ #12631]
68475         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68477 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68479         * misc/syncfs.c: New file.
68480         * misc/Makefile (routines): Add syncfs.
68481         * posix/unistd.h: Declare syncfs.
68482         * sysdeps/unix/syscalls.list: Add syncfs.
68484 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68486         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68487         open_by_handle_at.
68488         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68489         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68490         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68491         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68492         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68493         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68494         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68496 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68498         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68499         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68500         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68501         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68502         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68504         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68506         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68507         sync_file_range.c with -fexceptions.
68508         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68509         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68510         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68511         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68512         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68513         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68514         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68515         sync_file_range as cancellation point
68516         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68517         now a wrapper around __call_sync_file_range with cancellation handling.
68518         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68519         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68520         function name to __call_sync_file_range.
68521         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68522         Add call_sync_file_range.
68524 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68527         bits/timex.h.
68529 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68531         * iconv/iconv.h: Fix typo in comment.
68532         * io/fcntl.h: Likewise.
68533         * libio/stdio.h: Likewise.
68534         * posix/spawn.h: Likewise.
68535         * posix/unistd.h: Likewise.
68536         * stdlib/stdlib.h: Likewise.
68537         * time/time.h: Likewise.
68538         * wcsmbs/wchar.h: Likewise.
68540         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68541         open_by_handle): Add.
68542         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68543         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68544         Augment a few comments.
68545         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68547         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68549         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68550         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68551         open_by_handle.
68553         * io/fcntl.h (AT_EMPTY_PATH): Define.
68555 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68557         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68558         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68559         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68560         to...
68561         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68562         * Versions.def: Add GLIBC_2.14.
68563         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68564         Export.
68566 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68568         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68569         round counter.
68570         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68572 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68574         [BZ #12597]
68575         * string/test-strncmp.c (do_page_test): New function.
68576         (check2): Likewise.
68577         (test_main): Call check2.
68578         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68580 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68582         [BZ #12587]
68583         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68584         Handle cache information in CPU leaf 4.
68585         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68587 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68589         [BZ #12583]
68590         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68591         character representation.
68592         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68594 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68596         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68597         END(__isnan) to END(__isnanf) to match function entry point/label
68598         EALIGN(__isnanf,...).
68600 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68602         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68604 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68606         [BZ #12510]
68607         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68608         copy from the symbol referenced in the relocation to initialize the
68609         used variable.
68610         Patch by Piotr Bury <pbury@goahead.com>.
68611         * elf/Makefile: Add rules to build and tst-unique3.
68612         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68613         * elf/tst-unique3.cc: New file.
68614         * elf/tst-unique3.h: New file.
68615         * elf/tst-unique3lib.cc: New file.
68616         * elf/tst-unique3lib2.cc: New file.
68618         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68620 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68622         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68623         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68624         to _start.
68626 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68628         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68629         to-be-loaded object along a path to loader is ld.so.
68631 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68632             Ulrich Drepper  <drepper@gmail.com>
68634         * sysdeps/x86_64/memset.S: After aligning destination, code
68635         branches to different locations depending on the value of
68636         misalignment, when multiarch is enabled. Fix this.
68638 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68640         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68641         Set _x86_64_preferred_memory_instruction for AMD processsors.
68642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68643         Set bit_Prefer_SSE_for_memop for AMD processors.
68645 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68647         * libio/fmemopen.c (fmemopen): Optimize a bit.
68649 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68651         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68653 2011-03-03  Roland McGrath  <roland@redhat.com>
68655         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68657 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68659         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68660         __bzero_ultra1 instead of __memset_ultra1.
68662 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68663             Ulrich Drepper  <drepper@gmail.com>
68665         [BZ #12509]
68666         * include/link.h (struct link_map): Add l_orig_initfini.
68667         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68668         returning unsuccessfully.
68669         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68670         close of a file loaded at startup, restore the original l_initfini
68671         list.
68672         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68673         list, store the pointer.
68674         * elf/Makefile ($(objpfx)noload-mem): New rule.
68675         (noload-ENV): Define.
68676         (tests): Add $(objpfx)noload-mem.
68677         * elf/noload.c: Include <memcheck.h>.
68678         (main): Call mtrace.  Close all opened handles.
68680 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68682         [BZ #12454]
68683         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68684         dependencies are missing.
68686 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68688         Fix __if_freereq crash: Unlike the generic version which uses free,
68689         Hurd needs munmap.
68690         * sysdeps/mach/hurd/ifreq.h: New file.
68692 2011-01-27  Petr Baudis  <pasky@suse.cz>
68693             Ulrich Drepper  <drepper@gmail.com>
68695         [BZ 12445]#
68696         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68697         to extend_alloca().
68698         * stdio-common/bug23.c: New file.
68699         * stdio-common/Makefile (tests): Add bug23.
68701 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68702             Ulrich Drepper  <drepper@gmail.com>
68704         [BZ #12489]
68705         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68706         before performing relro protection.  At old place add assertion
68707         to make sure nothing changed.
68709 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68710             Glauber de Oliveira Costa  <glommer@gmail.com>
68712         * elf/elf.h: Add new ARM TLS relocs.
68714 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68717         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68718         cast from r3.
68719         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68720         'tests' variable.
68721         * sysdeps/wordsize-64/tst-writev.c: New file.
68723 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68725         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68726         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68727         insns in _dl_start to prevent a TOC reference before relocs are
68728         resolved.
68730 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68732         [BZ #12469]
68733         * Makeconfig: Remove RANLIB definition.
68734         * Makerules: Don't use RANLIB.
68735         * aclocal.m4: Remove ranlib test.
68736         * configure.in: No need to check for ranlib.
68737         * elf/rtld-Rules: Don't use RANLIB.
68739 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68741         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68742         protection macro.
68743         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68744         inclusion protection macro.
68746         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68747         SIGRTMIN and SIGRTMAX and print information in that case only when
68748         SIGRTMIN is defined.
68750 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68752         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68753         arginfo fn returning -1.
68755         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68756         and thousands string is zero terminated.
68758 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68761         sysdeps/unix/sysv/linux/bits/socket.h.
68763 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68765         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68766         (__CPU_COUNT): Remove old macros.
68767         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68768         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68769         (__CPU_ALLOC, __CPU_FREE): Add macros.
68770         (__sched_cpualloc, __sched_cpufree): Add declarations.
68772 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68774         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68775         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68776         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68777         (readdhstai): Return value of addhstaiX call.
68778         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68779         (addgrbyX): Return value returned by cache_addgr.
68780         (readdgrbyname): Return value returned by addgrbyX.
68781         (readdgrbygid): Likewise.
68782         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68783         (addpwbyX): Return value returned by cache_addpw.
68784         (readdpwbyname): Return value returned by addhstbyX.
68785         (readdpwbyuid): Likewise.
68786         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68787         (addservbyX): Return value returned by cache_addserv.
68788         (readdservbyname): Return value returned by addservbyX:
68789         (readdservbyport): Likewise.
68790         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68791         (addhstbyX): Return value returned by cache_addhst.
68792         (readdhstbyname): Return value returned by addhstbyX.
68793         (readdhstbyaddr): Likewise.
68794         (readdhstbynamev6): Likewise.
68795         (readdhstbyaddrv6): Likewise.
68796         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68797         (readdinitgroups): Return value returned by addinitgroupsX.
68798         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68799         (prune_cache): Keep track of timeout value of re-added entries.
68800         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68801         * nscd/nscd.h: Adjust prototypes of readd* functions.
68803 2011-02-04  Roland McGrath  <roland@redhat.com>
68805         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68806         (nis_stats): Likewise.
68807         * nis/nis_modify.c (nis_modify): Likewise.
68808         * nis/nis_remove.c (nis_remove): Likewise.
68809         * nis/nis_add.c (nis_add): Likewise.
68811         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68813         * posix/fnmatch_loop.c: Add some consts.
68815         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68817 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68819         [BZ #12460]
68820         * config.make.in (config-cflags-novzeroupper): Define.
68821         * configure.in: Substitute libc_cv_cc_novzeroupper.
68822         * elf/Makefile (AVX-CFLAGS): Define.
68823         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68824         (CFLAGS-tst-auditmod4a.c): Likewise.
68825         (CFLAGS-tst-auditmod4b.c): Likewise.
68826         (CFLAGS-tst-auditmod6b.c): Likewise.
68827         (CFLAGS-tst-auditmod6c.c): Likewise.
68828         (CFLAGS-tst-auditmod7b.c): Likewise.
68829         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68831 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68833         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68834         function to the callback.
68835         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68837 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68839         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68840         of errno.
68842 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68844         [BZ #11724]
68845         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68846         of constructors.
68847         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68848         of destructors.
68849         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68851         [BZ #11724]
68852         * elf/Makefile: Add rules to build and run new test.
68853         * elf/tst-initorder.c: New file.
68854         * elf/tst-initorder.exp: New file.
68855         * elf/tst-initordera1.c: New file.
68856         * elf/tst-initordera2.c: New file.
68857         * elf/tst-initordera3.c: New file.
68858         * elf/tst-initordera4.c: New file.
68859         * elf/tst-initorderb1.c: New file.
68860         * elf/tst-initorderb2.c: New file.
68861         * elf/tst-order-a1.c: New file.
68862         * elf/tst-order-a2.c: New file.
68863         * elf/tst-order-a3.c: New file.
68864         * elf/tst-order-a4.c: New file.
68865         * elf/tst-order-b1.c: New file.
68866         * elf/tst-order-b2.c: New file.
68867         * elf/tst-order-main.c: New file.
68868         New test case by George Gensure <werkt0@gmail.com>.
68870 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68873         decoding ACE if AI_CANONIDN.
68875 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68877         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
68879 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
68881         * version.h (RELEASE): Bump for 2.13 release.
68882         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
68884         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
68886         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
68887         MADV_NOHUGEPAGE.
68888         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
68889         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68890         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68891         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68892         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68893         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68895         * posix/getconf.c: Update copyright year.
68896         * catgets/gencat.c: Likewise.
68897         * csu/version.c: Likewise.
68898         * debug/catchsegv.sh: Likewise.
68899         * debug/xtrace.sh: Likewise.
68900         * elf/ldconfig.c: Likewise.
68901         * elf/ldd.bash.in: Likewise.
68902         * elf/sprof.c (print_version): Likewise.
68903         * iconv/iconv_prog.c: Likewise.
68904         * iconv/iconvconfig.c: Likewise.
68905         * locale/programs/locale.c: Likewise.
68906         * locale/programs/localedef.c: Likewise.
68907         * malloc/memusage.sh: Likewise.
68908         * malloc/mtrace.pl: Likewise.
68909         * nscd/nscd.c (print_version): Likewise.
68910         * nss/getent.c: Likewise.
68912         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
68913         PF_CAIF, and PF_ALG.
68914         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68916 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
68918         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
68919         (modules-names): Use them.
68920         (ifunc-test-modules, ifunc-pie-tests): Define.
68921         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
68922         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
68923         (test-extras): Likewise.
68924         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
68925         $(compile-command.c).
68926         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
68927         (all-built-dso): Define.
68928         (check-textrel.out, check-execstack.out): Depend on it.
68930         * configure.in: Don't override --enable-multi-arch.
68932 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
68934         [BZ #6812]
68935         * nscd/hstcache.c (tryagain): Define.
68936         (cache_addhst): Return tryagain not notfound for temporary errors.
68937         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
68938         failed.
68940 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
68942         [BZ #10563]
68943         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
68944         to make the syscall.
68945         * sysdeps/unix/sysv/linux/setgroups.c: New file.
68947         [BZ #12378]
68948         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
68949         and fall back to matching as normal character if the string ends before
68950         the matching ']' is found.  This is what POSIX requires.
68951         * posix/testfnm.c: Adjust test result.
68952         * posix/globtest.sh: Adjust test result.  Add new test.
68953         * posix/tst-fnmatch.input: Likewise.
68954         * posix/tst-fnmatch2.c: Add new test.
68956 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
68958         * elf/Makefile (check-execstack): Revert last change.  Depend on
68959         check-execstack.h.
68960         (check-execstack.h): New target.
68961         (generated): Add check-execstack.h.
68962         * elf/check-execstack.c: Include "check-execstack.h".
68963         (main): Revert last change.
68964         (handle_file): Return zero if GNU_STACK is absent and
68965         DEFAULT_STACK_PERMS doesn't include PF_X.
68967 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
68969         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
68970         in child fails because the descriptor is already closed.
68971         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
68972         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
68973         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
68975         [BZ #12397]
68976         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
68977         syscall.
68979         [BZ #10484]
68980         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
68981         temporary buffer used to handle multi lookups locally.
68982         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
68984 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68986         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
68987         loader is ld.so.
68989 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
68991         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
68992         alignment for SSE2.
68994 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68996         [BZ #12394]
68997         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
68998         characters.  When rounding increased number of integer digits recompute
68999         number of groups.
69000         * stdio-common/tst-grouping.c: New file.
69001         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69003 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69005         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69006         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69008         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69009         void.
69010         * bits/select.h: Likewise.
69012 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69014         * po/ja.po: Update from translation team.
69016 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69018         [BZ #11155]
69019         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69020         implementation just like for lxstat, fxstatat, et al.
69022 2010-12-27  Jim Meyering  <meyering@redhat.com>
69024         [BZ #12348]
69025         * posix/regexec.c (build_trtable): Return failure indication upon
69026         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69028 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69030         [BZ #12201]
69031         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69032         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69033         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69034         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69036         [BZ #12207]
69037         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69039         [BZ #12204]
69040         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69041         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69043 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69045         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69046         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69047         script has SORT_BY_INIT_PRIORITY.
69048         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69049         NO_CTORS_DTORS_SECTIONS is defined.
69050         * elf/soinit.c: Likewise.
69051         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69052         NO_CTORS_DTORS_SECTIONS is defined.
69053         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69054         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69055         * sysdeps/sh/init-first.c: Likewise.
69056         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69058 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69060         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69061         always use the slow path.
69063 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69065         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69066         similar rule which adds the sysdep directories to the header search in
69067         order to pick up the correct platform stackinfo.h.
69068         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69069         perform test if it is, otherwise return successfully without testing.
69070         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69071         DEFAULT_STACK_PERMS define in stackinfo.h.
69072         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69073         defined in stackinfo.h.
69074         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69075         DEFAULT_STACK_PERMS defined in stackinfo.h.
69076         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69077         * sysdeps/ia64/stackinfo.h: Likewise.
69078         * sysdeps/s390/stackinfo.h: Likewise.
69079         * sysdeps/sh/stackinfo.h: Likewise.
69080         * sysdeps/sparc/stackinfo.h: Likewise.
69081         * sysdeps/x86_64/stackinfo.h: Likewise.
69082         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69083         PF_X for powerpc64.  Retain PF_X for powerpc32.
69085 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69087         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69088         accurately.
69089         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69090         GETDENTS_64BIT_ALIGNED.
69092 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69094         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69096 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69098         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69099         _GNU_SOURCE.
69101         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69102         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69103         Remove __restrict.
69104         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69105         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69107 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69109         [BZ #11655]
69110         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69111         are initialized.
69113 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69115         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69117 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69119         * po/it.po: Update from translation team.
69121 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69123         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69124         unused codes.
69126 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69128         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69130 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69132         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69133         specially.
69134         (gaih_getanswer_slice): Likewise.
69136 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69138         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69140 2010-05-31  Petr Baudis  <pasky@suse.cz>
69142         [BZ #11149]
69143         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69144         silently even in the chroot mode.
69146 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69148         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69149         last patch a bit.  Pretty printing
69151 2010-05-31  Petr Baudis <pasky@suse.cz>
69153         [BZ #10085]
69154         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69155         initialization of skip_initgroups_dyn.
69157 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69159         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69160         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69162 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69164         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69166 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69168         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69169         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69170         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69171         ($(objpfx)tst-fnmatch-mem): New rule.
69172         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69173         * posix/tst-fnmatch.c (main): Call mtrace.
69175 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69178         Support Intel processor model 6 and model 0x2c.
69180 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69182         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69183           signed comparison.
69185 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69187         [BZ #12205]
69188         * string/test-strncasecmp.c (check_result): New function.
69189         (do_one_test): Use it.
69190         (check1): New function.
69191         (test_main): Use it.
69192         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69193         Support strcasecmp and strncasecmp.
69195 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69197         [BZ #12194]
69198         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69199         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69201 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69203         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69204         IFUNC support.
69205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69206         memset-x86-64.
69207         * sysdeps/x86_64/multiarch/bzero.S: New file.
69208         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69209         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69210         * sysdeps/x86_64/multiarch/memset.S: New file.
69211         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69213         Set bit_Prefer_SSE_for_memop for Intel processors.
69214         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69215         Define.
69216         (index_Prefer_SSE_for_memop): Define.
69217         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69219 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69221         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69222         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69224 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69226         [BZ #12191]
69227         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69228         (__x86_64_raw_data_cache_size_half): Likewise.
69229         (__x86_64_raw_shared_cache_size): Likewise.
69230         (__x86_64_raw_shared_cache_size_half): Likewise.
69232         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69233         (__x86_64_raw_data_cache_size_half): Likewise.
69234         (__x86_64_raw_shared_cache_size): Likewise.
69235         (__x86_64_raw_shared_cache_size_half): Likewise.
69236         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69237         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69238         and __x86_64_raw_shared_cache_size_half.  Round
69239         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69240         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69241         to multiple of 256 bytes.
69243 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69245         [BZ #12167]
69246         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69247         of inacessible symlinks.  Verify result of symlink before returning it.
69248         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69249         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69251 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69253         * math/math.h (isinf): Fix typo in comment.
69255 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69257         * po/da.po: Update from translation team.
69259 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69261         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69262         is added to the list.
69264 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69265             Ulrich Drepper  <drepper@gmail.com>
69267         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69268         the global list here.  Move code to...
69269         (_dl_add_to_namespace_list): ...here.  New function.
69270         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69271         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69272         * elf/dl-load.c (lose): Don't remove the element from the list.
69273         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69274         (_dl_map_object): Likewise.
69276 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69278         [BZ #12159]
69279         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69280         into all bytes of SSE register.
69281         Patch by Richard Li <richardpku@gmail.com>.
69283 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69285         [BZ #12140]
69286         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69287         perturbing.
69289 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69291         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69292         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69293         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69294         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69296         submachine.
69297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69299 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69301         * include/dlfcn.h (__RTLD_SECURE): Define.
69302         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69303         mode & __RTLD_SECURE instead.
69304         (open_path): Rename preloaded parameter to secure.
69305         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69306         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69307         * elf/dl-deps.c (openaux): Likewise.
69308         * elf/rtld.c (struct map_args): Remove is_preloaded.
69309         (map_doit): Don't use it.
69310         (dl_main): Likewise.
69311         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69312         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69314 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69316         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69317         (sysd-rules-targets): Remove duplicates.
69318         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69319         rtld-%.$o dependency.
69321 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69323         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69324         _dl_map_object do it.
69326 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69328         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69329         fast fma builtins, define the macros in the C99 standard.
69330         (FP_FAST_FMAF): Likewise.
69331         (FP_FAST_FMAL): Likewise.
69332         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69334         * bits/mathdef.h: Update copyright year.
69335         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69337 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69339         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69340         builtins, define the macros in the C99 standard.
69341         (FP_FAST_FMAF): Likewise.
69342         (FP_FAST_FMAL): Likewise.
69343         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69344         multiply/add.
69345         (FP_FAST_FMAF): Likewise.
69347 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69349         [BZ #3268]
69350         * math/libm-test.inc (fma_test): Some new testcases.
69351         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69352         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69353         y and infinite z.  Do multiplication by C already in long double.
69354         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69356         y and infinite z.  Do bitwise or of inexact bit into u.d.
69357         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69358         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69359         * sysdeps/i386/fpu/s_fma.S: Removed.
69360         * sysdeps/i386/fpu/s_fmal.S: Removed.
69362 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69364         [BZ #3268]
69365         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69367         computation is not scheduled after fetestexcept.  Fix value
69368         of minimum denormal long double.
69370 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69372         [BZ #3268]
69373         * math/libm-test.inc (fma_test): Add some more tests.
69374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69375         correctly.
69377 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69379         * scripts/data/localplt-s390-linux-gnu.data: New file.
69380         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69382 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69384         [BZ #3268]
69385         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69386         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69387         instead of dbl-64.
69388         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69389         inlines.
69390         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69392         if one of x and y is very large and the other is subnormal.
69393         * sysdeps/s390/fpu/s_fmaf.c: New file.
69394         * sysdeps/s390/fpu/s_fma.c: New file.
69395         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69396         * sysdeps/powerpc/fpu/s_fma.S: New file.
69397         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69398         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69399         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69401 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69403         [BZ #3268]
69404         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69405         fma tests.
69406         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69407         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69408         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69409         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69410         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69411         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69412         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69414 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69416         [BZ #12078]
69417         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69418         * posix/bug-regex31.input: Add test case.
69420 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69422         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69423         * posix/bug-regex31.input: New file.
69425         [BZ #12078]
69426         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69427         (parse_sub_exp): Fix last change, use postorder.
69429         * posix/bug-regex31.c: New file.
69430         * posix/Makefile: Add rules to build and run bug-regex31.
69432         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69434         [BZ #12078]
69435         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69437         [BZ #12108]
69438         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69439         to have entries in sys_siglist.
69441         [BZ #12093]
69442         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69443         be NULL.
69445 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69447         [BZ #3268]
69448         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69449         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69450         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69451         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69452         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69453         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69454         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69455         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69456         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69457         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69458         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69459         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69460         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69461         * math/ftestexcept.c (fetestexcept): Likewise.
69462         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69463         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69464         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69465         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69466         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69467         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69468         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69470 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69472         [BZ #12107]
69473         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69474         newline.
69476 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69478         * string/bug-strstr1.c: New file.
69479         * string/Makefile: Add rules to build and run bug-strstr1.
69481 2010-10-05  Eric Blake  <eblake@redhat.com>
69483         [BZ #12092]
69484         * string/str-two-way.h (two_way_long_needle): Always clear memory
69485         when skipping input due to the shift table.
69487 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69489         [BZ #12005]
69490         * malloc/mcheck.c: Handle large requests.
69492         [BZ #12077]
69493         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69494         for strncmp and strncasecmp.
69495         * string/stratcliff.c: Add tests for strcmp and strncmp.
69496         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69498 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69500         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69501         __set_fpscr.
69503 2010-09-30  Andreas Jaeger  <aj@suse.de>
69505         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69506         (CGROUP_SUPER_MAGIC): Define.
69507         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69508         Handle btrfs and cgroup file systems.
69509         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69510         Likewise.
69512 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69514         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69515         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69517 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69519         [BZ #12067]
69520         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69521         trying to locate the ELF header.
69523 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69525         [BZ #11611]
69526         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69527         Mask out sign-bit copies when constructing f_fsid.
69529 2010-09-24  Petr Baudis <pasky@suse.cz>
69531         * debug/stack_chk_fail_local.c: Add missing licence exception.
69532         * debug/warning-nop.c: Likewise.
69534 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69536         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69537         implementing getdents64 using getdents syscall, set d_type if
69538         __ASSUME_GETDENTS32_D_TYPE.
69540 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69542         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69543         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69545 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69547         [BZ #12037]
69548         * posix/unistd.h: Undo change of feature selection for ftruncate from
69549         2010-01-11.
69551 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69553         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69554         detection.
69556 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69558         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69559         fanotify_mark.
69560         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69562 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69564         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69565         variables after CHECK_SP call.
69566         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69568 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69569             Ulrich Drepper  <drepper@redhat.com>
69571         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69572         re-relocationg ld.so.
69573         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69574         _dl_init_paths call.
69575         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69576         here anymore.
69578 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69580         * resolv/res_init.c (__res_vinit): Count the default server we added.
69582 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69583             Ulrich Drepper  <drepper@redhat.com>
69585         [BZ #11968]
69586         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69587         (____longjmp_chk): Use %ebx for saving value across system call.
69588         Add unwind info.
69590 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69592         * manual/Makefile: Don't mix pattern rules with normal rules.
69594 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69596         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69597         operation.
69598         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69599         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69600         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69601         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69603         Likewise.
69605 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69607         [BZ #11979]
69608         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69609         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69611 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69613         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69614         * sysdeps/x86_64/addmul_1.S: Likewise.
69615         * sysdeps/x86_64/lshift.S: Likewise.
69616         * sysdeps/x86_64/mul_1.S: Likewise.
69617         * sysdeps/x86_64/rshift.S: Likewise.
69618         * sysdeps/x86_64/sub_n.S: Likewise.
69619         * sysdeps/x86_64/submul_1.S: Likewise.
69621 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69623         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69624         Define __sched_param instead of SCHED_* and sched_param when
69625         <bits/sched.h> is included with __need_schedparam defined.
69626         * bits/sched.h [__need_schedparam]
69627         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69628         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69629         (__defined_schedparam): Define to 1.
69630         (__sched_param): New structure, identical to sched_param.
69631         (__need_schedparam): Undefine.
69633 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69635         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69636         (epoll_create1): Declare.
69638         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69640 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69642         [BZ #7066]
69643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69644         shifting retval into place.
69646 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69648         * nis/rpcsvc/nis.h: Update copyright notice.
69649         * nis/rpcsvc/nis.x: Likewise.
69650         * nis/rpcsvc/nis_callback.h: Likewise.
69651         * nis/rpcsvc/nis_callback.x: Likewise.
69652         * nis/rpcsvc/nis_object.x: Likewise.
69653         * nis/rpcsvc/nis_tags.h: Likewise.
69654         * nis/rpcsvc/yp.h: Likewise.
69655         * nis/rpcsvc/yp.x: Likewise.
69656         * nis/rpcsvc/ypupd.h: Likewise.
69657         * nis/yp_xdr.c: Likewise.
69658         * nis/ypupdate_xdr.c: Likewise.
69660         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69661         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69662         (pmap_getport): Use __libc_rpc_getport.
69663         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69664         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69665         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69667 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69670         fanotify_mark.
69672 2010-08-27  Roland McGrath  <roland@redhat.com>
69674         * sysdeps/i386/i686/multiarch/Makefile
69675         (CFLAGS-varshift.c): New variable.
69677 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69679         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69680         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69682         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69684         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69686 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69688         * sysdeps/x86_64/strlen.S: Unroll the loop.
69689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69690         strlen-sse2 strlen-sse2-bsf.
69691         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69692         __strlen_no_bsf if bit_Slow_BSF is set.
69693         (__strlen_sse42): Removed.
69694         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69695         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69697 2010-08-25  Roland McGrath  <roland@redhat.com>
69699         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69700         * sysdeps/x86_64/multiarch/varshift.c: New file.
69701         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69702         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69703         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69704         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69706 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69708         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69709         strlen-sse2 strlen-sse2-bsf.
69710         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69711         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69712         (__strlen_sse2): Removed.
69713         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69714         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69716         bit_Slow_BSF for Atom.
69717         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69718         (index_Slow_BSF): Define.
69719         (HAS_SLOW_BSF): Define.
69721 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69723         [BZ #10851]
69724         * resolv/res_init.c (__res_vinit): When no server address at all
69725         is given default to loopback.
69727 2010-08-24  Roland McGrath  <roland@redhat.com>
69729         * configure.in: Remove config-name.h generation.
69730         * configure: Regenerated.
69731         * config-name.in: File removed.
69732         * scripts/config-uname.sh: New file.
69733         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69734         ($(objdir)config-name.h): New target.
69736         * sunrpc/rpc_parse.h: Avoid nested comment.
69738 2010-08-24  Richard Henderson  <rth@redhat.com>
69739             Ulrich Drepper  <drepper@redhat.com>
69740             H.J. Lu  <hongjiu.lu@intel.com>
69742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69744         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69745         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69746         _mm_alignr_epi8 with _mm_loadu_si128.
69747         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69748         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69749         (__m128i_shift_right): Removed.
69750         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69751         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69752         * sysdeps/x86_64/multiarch/varshift.h: New file.
69753         * sysdeps/x86_64/multiarch/varshift.S: New file.
69755 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69757         * configure.in: Move assembler checks to before sysdep dir checking.
69759 2010-08-20  Petr Baudis  <pasky@suse.cz>
69761         * LICENSES: Sync the sunrpc license.
69763 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69765         * sunrpc/auth_des.c: Update copyright notice once again.
69766         * sunrpc/auth_none.c: Likewise.
69767         * sunrpc/auth_unix.c: Likewise.
69768         * sunrpc/authdes_prot.c: Likewise.
69769         * sunrpc/authuxprot.c: Likewise.
69770         * sunrpc/bindrsvprt.c: Likewise.
69771         * sunrpc/clnt_gen.c: Likewise.
69772         * sunrpc/clnt_perr.c: Likewise.
69773         * sunrpc/clnt_raw.c: Likewise.
69774         * sunrpc/clnt_simp.c: Likewise.
69775         * sunrpc/clnt_tcp.c: Likewise.
69776         * sunrpc/clnt_udp.c: Likewise.
69777         * sunrpc/clnt_unix.c: Likewise.
69778         * sunrpc/des_crypt.c: Likewise.
69779         * sunrpc/des_soft.c: Likewise.
69780         * sunrpc/get_myaddr.c: Likewise.
69781         * sunrpc/getrpcport.c: Likewise.
69782         * sunrpc/key_call.c: Likewise.
69783         * sunrpc/key_prot.c: Likewise.
69784         * sunrpc/openchild.c: Likewise.
69785         * sunrpc/pm_getmaps.c: Likewise.
69786         * sunrpc/pm_getport.c: Likewise.
69787         * sunrpc/pmap_clnt.c: Likewise.
69788         * sunrpc/pmap_prot.c: Likewise.
69789         * sunrpc/pmap_prot2.c: Likewise.
69790         * sunrpc/pmap_rmt.c: Likewise.
69791         * sunrpc/rpc/auth.h: Likewise.
69792         * sunrpc/rpc/auth_unix.h: Likewise.
69793         * sunrpc/rpc/clnt.h: Likewise.
69794         * sunrpc/rpc/des_crypt.h: Likewise.
69795         * sunrpc/rpc/key_prot.h: Likewise.
69796         * sunrpc/rpc/netdb.h: Likewise.
69797         * sunrpc/rpc/pmap_clnt.h: Likewise.
69798         * sunrpc/rpc/pmap_prot.h: Likewise.
69799         * sunrpc/rpc/pmap_rmt.h: Likewise.
69800         * sunrpc/rpc/rpc.h: Likewise.
69801         * sunrpc/rpc/rpc_des.h: Likewise.
69802         * sunrpc/rpc/rpc_msg.h: Likewise.
69803         * sunrpc/rpc/svc.h: Likewise.
69804         * sunrpc/rpc/svc_auth.h: Likewise.
69805         * sunrpc/rpc/types.h: Likewise.
69806         * sunrpc/rpc/xdr.h: Likewise.
69807         * sunrpc/rpc_clntout.c: Likewise.
69808         * sunrpc/rpc_cmsg.c: Likewise.
69809         * sunrpc/rpc_common.c: Likewise.
69810         * sunrpc/rpc_cout.c: Likewise.
69811         * sunrpc/rpc_dtable.c: Likewise.
69812         * sunrpc/rpc_hout.c: Likewise.
69813         * sunrpc/rpc_main.c: Likewise.
69814         * sunrpc/rpc_parse.c: Likewise.
69815         * sunrpc/rpc_parse.h: Likewise.
69816         * sunrpc/rpc_prot.c: Likewise.
69817         * sunrpc/rpc_sample.c: Likewise.
69818         * sunrpc/rpc_scan.c: Likewise.
69819         * sunrpc/rpc_scan.h: Likewise.
69820         * sunrpc/rpc_svcout.c: Likewise.
69821         * sunrpc/rpc_tblout.c: Likewise.
69822         * sunrpc/rpc_util.c: Likewise.
69823         * sunrpc/rpc_util.h: Likewise.
69824         * sunrpc/rpcinfo.c: Likewise.
69825         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69826         * sunrpc/rpcsvc/key_prot.x: Likewise.
69827         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69828         * sunrpc/rpcsvc/mount.x: Likewise.
69829         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69830         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69831         * sunrpc/rpcsvc/rex.x: Likewise.
69832         * sunrpc/rpcsvc/rstat.x: Likewise.
69833         * sunrpc/rpcsvc/rusers.x: Likewise.
69834         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69835         * sunrpc/rpcsvc/spray.x: Likewise.
69836         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69837         * sunrpc/rtime.c: Likewise.
69838         * sunrpc/svc.c: Likewise.
69839         * sunrpc/svc_auth.c: Likewise.
69840         * sunrpc/svc_authux.c: Likewise.
69841         * sunrpc/svc_raw.c: Likewise.
69842         * sunrpc/svc_run.c: Likewise.
69843         * sunrpc/svc_simple.c: Likewise.
69844         * sunrpc/svc_tcp.c: Likewise.
69845         * sunrpc/svc_udp.c: Likewise.
69846         * sunrpc/svc_unix.c: Likewise.
69847         * sunrpc/svcauth_des.c: Likewise.
69848         * sunrpc/xcrypt.c: Likewise.
69849         * sunrpc/xdr.c: Likewise.
69850         * sunrpc/xdr_array.c: Likewise.
69851         * sunrpc/xdr_float.c: Likewise.
69852         * sunrpc/xdr_mem.c: Likewise.
69853         * sunrpc/xdr_rec.c: Likewise.
69854         * sunrpc/xdr_ref.c: Likewise.
69855         * sunrpc/xdr_sizeof.c: Likewise.
69856         * sunrpc/xdr_stdio.c: Likewise.
69858         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69859         handling.
69861 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69863         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69865 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69867         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69868         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69869         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69870         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69871         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69872         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69873         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69874         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69875         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69876         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69877         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69878         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
69879         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
69880         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
69882 2010-07-26  Anton Blanchard  <anton@samba.org>
69884         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
69885         * malloc/arena.c (heap_trim): Likewise.
69887 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
69889         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
69890         here.  Not...
69891         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
69892         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
69894 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
69896         * sysdeps/i386/elf/Makefile: New file.
69898 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69900         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
69901         from fanotify_init.
69902         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
69903         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69905 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
69907         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
69908         of strncasecmp_l.
69909         * sysdeps/multiarch/strcmp.S: Likewise.
69911 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
69913         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69914         strncase_l-nonascii.
69915         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69916         Add strncase_l-ssse3.
69917         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
69918         * sysdeps/x86_64/strcmp.S: Likewise.
69919         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
69920         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
69921         * sysdeps/x86_64/strncase.S: New file.
69922         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
69923         * sysdeps/x86_64/strncase_l.S: New file.
69924         * string/Makefile (strop-tests): Add strncasecmp.
69925         * string/test-strncasecmp.c: New file.
69927         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
69928         warning.
69930         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
69931         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
69933 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69935         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
69937 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
69939         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
69940         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
69941         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
69943 2010-05-01  Alan Modra  <amodra@gmail.com>
69945         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
69946         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
69947         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
69948         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
69949         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
69950         tidying.  Don't tail-call __sigjmp_save for static lib.
69951         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
69952         save location.
69953         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
69954         (CALL_MCOUNT): Add eh info, and nop after bl.
69955         (TAIL_CALL_SYSCALL_ERROR): New macro.
69956         (PSEUDO_RET): Use it.
69957         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
69958         Correct save location of integer regs and cr.
69959         (_dl_profile_resolve): Correct cr save location.  Delete nops
69960         after bl when SHARED.  Reduce cfi size a little by better
69961         placement of cfi directives.
69962         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
69963         make a stack frame.  Instead use parm save area as a temp.
69964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
69965         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
69966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
69967         Don't make a stack frame for parent, use parm save area.
69968         Increase child stack frame to 112 bytes.  Don't save unused reg,
69969         and adjust reg usage.  Set up cfi on error recovery and
69970         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
69971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
69972         (__makecontext): Add dummy nop after jump to exit.
69973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
69974         Use correct parm save area and cr save, reduce stack frame.
69975         Correct cfi for possible PSEUDO_RET frame setup.
69976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
69977         Branch to local label emitted by PSEUDO_RET rather than
69978         __syscall_error.
69980 2010-08-12  Andreas Schwab  <schwab@redhat.com>
69982         [BZ #11904]
69983         * locale/programs/locale.c (print_assignment): New function.
69984         (show_locale_vars): Use it.
69986 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
69988         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
69989         field.
69990         (struct statfs64): Likewise.
69991         (_STATFS_F_FLAGS): Define.
69992         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
69993         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69994         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
69995         (ST_VALID): Define locally.
69996         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
69997         __statvfs_getflags, use the provided value.
69998         * sysdeps/unix/sysv/linux/kernel-features.h: Define
69999         __ASSUME_STATFS_F_FLAGS.
70001         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70003         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70004         Add sys/fanotify.h.
70005         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70006         fanotify_mask for GLIBC_2.13.
70007         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70008         fanotify_init and fanotify_mark.
70009         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70010         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70012         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70013         Add prlimit.
70014         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70015         prlimit64 for GLIBC_2.13.
70016         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70017         prlimit64.
70018         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70019         syscall.
70020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70021         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70022         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70023         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70024         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70025         add prlimit alias.
70026         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70028         [BZ #11903]
70029         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70030         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70032         * nss/Makefile: Add rules to build and run tst-nss-test1.
70033         * shlib-versions: Add entry for libnss_test1.
70034         * nss/nss_test1.c: New file.
70035         * nss/tst-nss-test1.c: New file.
70037         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70038         (__nss_configure_lookup): Set appropriate entry in
70039         __nss_configure_lookup to true.
70040         * nss/nsswitch.h: Define enum with indeces of databases in
70041         databases and __nss_database_custom arrays.  Declare
70042         __nss_database_custom.
70043         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70044         to avoid using nscd when custom rules are installed.
70045         * nss/getXXbyYY_r.c: Likewise.
70046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70048         * nss/nss_files/files-parse.c: Whitespace fixes.
70050 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70052         [BZ #11883]
70053         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70054         * posix/fnmatch_loop.c: Likewise.
70056 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70058         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70059         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70060         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70061         * Versions.def [GLIBC_2.13]: Add.
70063 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70065         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70066         Also fail if tpwd after pwuid call is NULL.
70068 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70070         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70071         when converting to ms.
70073 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70075         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70076         EOPNOTSUPP errors with ENOTTY.
70077         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70078         EOPNOTSUPP errors with ENOTTY.
70080 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70082         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70083         Add strcasecmp_l-ssse3.
70084         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70085         strcasecmp.
70086         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70087         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70088         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70090 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70092         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70094         * string/Makefile (strop-tests): Add strcasecmp.
70095         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70096         strcasecmp_l-nonascii.
70097         (gen-as-const-headers): Add locale-defines.sym.
70098         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70099         * sysdeps/x86_64/strcasecmp.S: New file.
70100         * sysdeps/x86_64/strcasecmp_l.S: New file.
70101         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70102         * sysdeps/x86_64/locale-defines.sym: New file.
70103         * string/test-strcasecmp.c: New file.
70105         * string/test-strcasestr.c: Test both ends of the range of characters.
70106         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70108 2010-07-29  Roland McGrath  <roland@redhat.com>
70110         [BZ #11856]
70111         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70113 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70115         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70116         for ld.so.
70118 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70120         * manual/memory.texi (Malloc Tunable Parameters): Document
70121         M_PERTURB.
70123 2010-07-26  Roland McGrath  <roland@redhat.com>
70125         [BZ #11840]
70126         * configure.in (-fgnu89-inline check): Set and substitute
70127         gnu89_inline, not libc_cv_gnu89_inline.
70128         * configure: Regenerated.
70129         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70131 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70133         * string/test-strnlen.c: New file.
70134         * string/Makefile (strop-tests): Add strnlen.
70135         * string/tester.c (test_strnlen): Add a few more test cases.
70136         * string/tst-strlen.c: Better error reporting.
70138         * sysdeps/x86_64/strnlen.S: New file.
70140 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70142         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70143         lower-latency instructions.
70145 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70147         * string/test-strcasestr.c: New file.
70148         * string/test-strstr.c: New file.
70149         * string/Makefile (strop-tests): Add strstr and strcasestr.
70150         * string/str-two-way.h: Don't undefine MAX.
70151         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70153 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70155         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70156         strcasestr-nonascii.
70157         (CFLAGS-strcasestr-nonascii.c): Define.
70158         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70159         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70160         Remove unused attribute.
70162 2010-07-20  Roland McGrath  <roland@redhat.com>
70164         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70165         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70166         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70167         like LD_HWCAP_MASK can disable hwcaps.
70169 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70171         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70173 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70175         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70176         call in strcasestr.
70177         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70178         __strcasestr_sse42_nonascii.
70179         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70180         strcasestr-nonascii.c.
70181         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70183 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70185         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70186         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70187         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70188         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70190 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70192         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70193         fcntl.
70195 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70197         [BZ #11577]
70198         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70199         dl_signal_cerror.
70201 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70203         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70204         _PC_PIPE_BUF using F_GETPIPE_SZ.
70206 2010-07-05  Roland McGrath  <roland@redhat.com>
70208         * manual/arith.texi (Rounding Functions): Fix rint description
70209         implicit in round description.
70211 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70213         * elf/Makefile: Fix linking for a few tests to make recent linker
70214         happy.
70216 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70218         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70219         $(common-objpfx)libc_nonshared.a.
70221 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70223         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70224         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70225         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70226         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70227         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70228         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70229         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70230         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70245         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70246         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70247         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70248         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70249         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70250         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70251         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70252         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70253         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70254         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70255         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70256         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70272 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70274         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70275         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70276         * string/memmove.c (memmove): Renamed to ...
70277         (MEMMOVE): ...this.  Default to memmove.
70278         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70279         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70280         (END_CHK): Define.
70281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70282         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70283         mempcpy-ssse3-back memmove-ssse3-back.
70284         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70285         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70286         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70287         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70288         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70289         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70290         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70291         * sysdeps/x86_64/multiarch/memmove.c: New file.
70292         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70293         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70294         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70295         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70296         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70297         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70298         Define.
70299         (index_Fast_Copy_Backward): Define.
70300         (HAS_ARCH_FEATURE): Define.
70301         (HAS_FAST_REP_STRING): Define.
70302         (HAS_FAST_COPY_BACKWARD): Define.
70304 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70306         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70307         Restore proper fallback handling.
70309 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70311         [BZ #11701]
70312         * posix/group_member.c (__group_member): Correct checking loop.
70314         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70315         OOM in getpwuid_r correctly.  Return error number when the caller
70316         should return, otherwise -1.
70317         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70318         call returning > 0 value.
70319         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70321 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70323         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70324         libc_nonshared.a from targets in modules-names.
70326 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70328         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70329         requires it.
70331 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70333         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70334         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70335         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70336         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70338 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70340         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70342 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70344         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70345         and F_GETPIPE_SZ.
70346         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70347         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70348         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70349         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70350         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70351         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70353 2010-06-14  Roland McGrath  <roland@redhat.com>
70355         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70357 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70359         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70360         __REDIRECT followed by __THROW.
70361         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70362         * posix/getopt.h (getopt): Likewise.
70364 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70366         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70367         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70368         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70369         in AT_FLAGS.
70370         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70371         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70373 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70375         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70377 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70379         [BZ #11640]
70380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70381         Properly check family and model.
70383 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70385         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70387 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70389         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70391 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70393         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70394         symbol reference.
70396 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70398         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70399         symbol reference.
70401 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70403         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70404         and internal_recvmmsg.
70405         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70406         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70407         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70408         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70410         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70411         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70412         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70414 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70416         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70418 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70420         POWER7 optimizations.
70421         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70422         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70424 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70426         * version.h: Update for 2.13 development version.
70428 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70430         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70431         exceptions.  Return 0.
70433 2010-05-07  Roland McGrath  <roland@redhat.com>
70435         * elf/ldconfig.c (main): Add a const.
70437 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70439         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70440         (args_options): Add no-idn option.
70441         (ahosts_keys_int): Add idn_flags to ai_flags.
70442         (parse_option): Handle 'i' option to clear idn_flags.
70444         * malloc/malloc.c (_int_free): Possible race in the most recently
70445         added check.  Only act on the data if no current modification
70446         happened.
70448 See ChangeLog.17 for earlier changes.